JP2010108219A - Control system, communication relay device and portable programmable display unit - Google Patents

Control system, communication relay device and portable programmable display unit Download PDF

Info

Publication number
JP2010108219A
JP2010108219A JP2008279252A JP2008279252A JP2010108219A JP 2010108219 A JP2010108219 A JP 2010108219A JP 2008279252 A JP2008279252 A JP 2008279252A JP 2008279252 A JP2008279252 A JP 2008279252A JP 2010108219 A JP2010108219 A JP 2010108219A
Authority
JP
Japan
Prior art keywords
address
programmable display
communication
display
portable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008279252A
Other languages
Japanese (ja)
Other versions
JP5000624B2 (en
Inventor
Masato Naruse
正人 成瀬
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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics 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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2008279252A priority Critical patent/JP5000624B2/en
Publication of JP2010108219A publication Critical patent/JP2010108219A/en
Application granted granted Critical
Publication of JP5000624B2 publication Critical patent/JP5000624B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To establish connection between a programmable display unit and a PLC, with ease and without incorrect setup, when the portable programmable display unit is used by switching the connection between a plurality of the PLCs. <P>SOLUTION: Conversion adapters 21-24 are respectively connected to a plurality of the PLCs 11-14 to which the IP address is set up. ID corresponding to the IP addresses of the connected PLCs 11-14 is set up to the conversion adapters 21-24, respectively. A portable programmable display unit 30 stores the list in which the IP addresses set up in each of the PLCs 11-14 are associated with the ID of respective conversion adapters 21-24. The programmable display unit acquires the ID from the connected conversion adapter 21, identifies the IP address corresponding to the ID from the list, sets up it in a communication driver, communicates with the PLC11 in which the IP address is set via the conversion adapter 21. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、携帯型プログラマブル表示器とそれぞれIPアドレスが設定された複数のプログラマブルロジックコントローラとの接続を容易にした通信中継装置、それに接続される携帯型プログラマブル表示器およびそれらを備えた制御システムに関するものである。   The present invention relates to a communication relay device that facilitates connection between a portable programmable display and a plurality of programmable logic controllers each having an IP address, a portable programmable display connected thereto, and a control system including the same. Is.

プログラマブル表示器は、プログラマブルロジックコントローラ(PLC)、温調器、インバータなどのコントローラとの通信インターフェースを備えており、コントローラの稼働状況を表示したり、コントローラに対する制御指示を与えるための操作入力を画面から受け付けたりする機能を備えた操作型表示器である。一般に、プログラマブル表示器は、グラフィック表示機能を有するので、操作盤、スイッチ、表示灯等を表示することができ、制御システムにおける操作端末としての役割を果たす。このような制御システムにおいて、各コントローラの稼働状況などの表示やコントローラへの制御指示は、プログラマブル表示器によって行われる。   The programmable display has a communication interface with a controller such as a programmable logic controller (PLC), temperature controller, inverter, etc., and displays the operation status of the controller and operation inputs for giving control instructions to the controller. This is an operation-type display device with a function of accepting from. In general, since the programmable display has a graphic display function, it can display an operation panel, a switch, an indicator lamp, and the like, and serves as an operation terminal in the control system. In such a control system, display of the operating status of each controller and control instructions to the controller are performed by a programmable display.

このようなプログラマブル表示器は、例えば特許文献1に開示されているように、その通信機能を活用して、PLCだけでなくホストコンピュータなどと接続され、各機器とデータのやり取りを行う。特許文献1に開示されている制御システムでは、複数のPLC、複数のプログラマブル表示器およびホストコンピュータがネットワークを介して接続されている。また、この制御システムにおいて、PLC、プログラマブル表示器およびホストコンピュータには、それぞれ、予め設定された自身および送信先のIPアドレスおよびポート番号が記憶されている。このような制御システムにおいては、プログラマブル表示器は、常時ネットワークに接続されている。
特開2002−111680号公報(2002年6月14日公開)
For example, as disclosed in Patent Document 1, such a programmable display is connected not only to the PLC but also to a host computer or the like by utilizing the communication function, and exchanges data with each device. In the control system disclosed in Patent Document 1, a plurality of PLCs, a plurality of programmable displays, and a host computer are connected via a network. In this control system, the PLC, the programmable display, and the host computer store the preset IP address and port number of themselves and the destination, respectively. In such a control system, the programmable display is always connected to the network.
JP 2002-111680 A (released on June 14, 2002)

上記の制御システムで用いられるプログラマブル表示器としては、装置等に組み込まれた据え置き型の機種である。このような据え置き型プログラマブル表示器以外に、携帯型のプログラマブル表示器も存在している。   The programmable display used in the above control system is a stationary type model incorporated in an apparatus or the like. In addition to such stationary programmable displays, portable programmable displays also exist.

このような携帯型のプログラマブル表示器を上記の制御システムのプログラマブル表示器として用いる場合、プログラマブル表示器に接続するPLCを変更するときにオフライン状態にして、接続先のPLCのIPアドレスを新たに接続されるPLCのIPアドレスに変更しなければならない。具体的には、プログラマブル表示器をオフライン状態にしてから、通信条件を設定するための画面を表示させた状態で接続先のPLCのIPアドレスを変更する。   When such a portable programmable display is used as a programmable display for the above control system, when changing the PLC connected to the programmable display, it is set to the offline state and the IP address of the connection destination PLC is newly connected. The IP address of the PLC to be changed must be changed. Specifically, after the programmable display is set to an offline state, the IP address of the connection destination PLC is changed in a state where a screen for setting communication conditions is displayed.

ところが、上記の設定画面には、他の設定項目も表示されているため、誤って必要以外の設定項目まで変更してしまう可能性がある。特に、設定画面の操作に慣れていない操作者が設定を変更する場合や、PLCの接続を頻繁に切り替える度に設定を変更する場合などは、その可能性が高くなる。このような誤設定が生じると、正常な通信ができなくなる虞がある。   However, since other setting items are also displayed on the setting screen, there is a possibility that the setting items may be changed by mistake. In particular, when an operator who is not familiar with the operation of the setting screen changes the setting, or when the setting is changed every time the PLC connection is frequently switched, the possibility increases. When such an erroneous setting occurs, there is a possibility that normal communication cannot be performed.

本発明は、上記の問題点に鑑みてなされたものであり、携帯型のプログラマブル表示器を複数のPLCに接続を切り替えて使用する場合、容易かつ誤設定なくプログラマブル表示器とPLCとの接続を確立することを目的としている。   The present invention has been made in view of the above-described problems. When a portable programmable display is used by switching the connection to a plurality of PLCs, the connection between the programmable display and the PLC can be easily performed without erroneous settings. The purpose is to establish.

本発明に係る制御システムは、携帯型プログラマブル表示器と、それぞれIPアドレスが設定された複数のプログラマブルロジックコントローラと、各プログラマブルロジックコントローラと前記携帯型プログラマブル表示器との通信を中継する複数の通信中継装置とを備え、複数の前記プログラマブルロジックコントローラにおける任意の前記プログラマブルロジックコントローラと前記携帯型プログラマブル表示器との接続を確立しうる制御システムであって、各通信中継装置が、前記IPアドレスのいずれか1つに対応付けて設定されたIDを登録するID記憶手段と、前記携帯型プログラマブル表示器よりの送信要求に応じて前記IDを前記ID記憶手段から読み出して前記携帯型プログラマブル表示器に送信するID送信手段とを有し、前記携帯型プログラマブル表示器が、前記IPアドレスと前記IDとの各対応付けを記憶する記憶手段と、接続を確立しようとする前記プログラマブルロジックコントローラの前記IPアドレスに対応する前記IDが登録された前記通信中継装置へIDの送信要求を行う送信要求手段と、送信された前記IDに対応する前記IPアドレスを前記対応付けから特定して通信相手のIPアドレスとし、当該IPアドレスが設定されている前記プログラマブルロジックコントローラとの通信を確立する通信確立手段とを有していることを特徴としている。   The control system according to the present invention includes a portable programmable display, a plurality of programmable logic controllers each set with an IP address, and a plurality of communication relays that relay communication between each programmable logic controller and the portable programmable display. A control system capable of establishing a connection between any of the programmable logic controllers in the plurality of programmable logic controllers and the portable programmable display, wherein each communication relay device is one of the IP addresses ID storage means for registering an ID set in association with one, and reading the ID from the ID storage means in response to a transmission request from the portable programmable display and transmitting it to the portable programmable display ID transmission means The portable programmable display is registered with the storage means for storing each association between the IP address and the ID, and the ID corresponding to the IP address of the programmable logic controller to establish a connection. The transmission request means for making an ID transmission request to the communication relay device, the IP address corresponding to the transmitted ID is specified from the association as the IP address of the communication partner, and the IP address is set. And communication establishing means for establishing communication with the programmable logic controller.

また、本発明に係る通信中継装置は、IPアドレスが設定されたプログラマブルロジックコントローラと携帯型プログラマブル表示器との通信を中継する通信中継装置であって、前記IPアドレスに対応付けて設定されたIDを登録するID記憶手段と、前記携帯型プログラマブル表示器よりの送信要求に応じて前記IDを前記ID記憶手段から読み出して前記携帯型プログラマブル表示器に送信するID送信手段とを備えていることを特徴としている。   The communication relay device according to the present invention is a communication relay device that relays communication between a programmable logic controller in which an IP address is set and a portable programmable display, and an ID set in association with the IP address. And an ID transmission means for reading the ID from the ID storage means and transmitting it to the portable programmable display in response to a transmission request from the portable programmable display. It is a feature.

また、本発明に係る携帯型プログラマブル表示器は、上記通信中継装置と接続しうる携帯型プログラマブル表示器であって、前記IPアドレスと前記IDとの各対応付けを記憶する記憶手段と、接続を確立しようとする前記プログラマブルロジックコントローラの前記IPアドレスに対応する前記IDが登録された前記通信中継装置へIDの送信要求を行う送信要求手段と、送信された前記IDに対応する前記IPアドレスを前記対応付けから特定して通信相手のIPアドレスとし、当該IPアドレスが設定されている前記プログラマブルロジックコントローラとの通信を確立する通信確立手段とを備えていることを特徴としている。   Moreover, the portable programmable display which concerns on this invention is a portable programmable display which can be connected with the said communication relay apparatus, Comprising: The memory | storage means which memorize | stores each matching with the said IP address and the said ID, and connection Transmission request means for requesting transmission of an ID to the communication relay apparatus in which the ID corresponding to the IP address of the programmable logic controller to be established is registered; and the IP address corresponding to the transmitted ID It is characterized by comprising communication establishing means for establishing communication with the programmable logic controller in which the IP address is set by specifying from the correspondence as the IP address of the communication partner.

上記の構成では、携帯型プログラマブル表示器が、接続された通信中継装置へIDの送信を要求すると、ID記憶手段に登録されているIDがID送信手段によって携帯型プログラマブル表示器に送信される。携帯型プログラマブル表示器は、そのIDを取得すると、通信確立手段によって、記憶手段に記憶されている対応付けから、当該IDに対応するIPアドレスを特定して通信相手のIPアドレスとして登録し、当該IPアドレスが設定されているプログラマブルロジックコントローラとの通信を確立する。   In said structure, when a portable programmable display requests | requires transmission of ID to the connected communication relay apparatus, ID registered into ID memory | storage means will be transmitted to a portable programmable display by ID transmission means. When the portable programmable display device acquires the ID, the communication establishment unit specifies the IP address corresponding to the ID from the association stored in the storage unit, and registers the IP address as the communication partner's IP address. Establish communication with the programmable logic controller for which the IP address is set.

これにより、携帯型プログラマブル表示器の通信中継装置への接続を切り替えに伴い、携帯型プログラマブル表示器からの送信要求によって取得したIDに応じて、携帯型プログラマブル表示器で接続されるべきプログラマブルロジックコントローラのIPアドレスが設定される。その結果、従来の据え置き型のプログラマブル表示器のように、オフライン状態にして、ユーザによって設定画面上でIPアドレスを設定し直す必要がないので、IPアドレスの設定に習熟する必要もなく、容易に誤設定を回避することができる。   Thereby, the programmable logic controller to be connected by the portable programmable display according to the ID acquired by the transmission request from the portable programmable display in association with switching the connection of the portable programmable display to the communication relay device IP address is set. As a result, unlike the conventional stationary programmable display, it is not necessary to go offline and reset the IP address on the setting screen by the user. Incorrect settings can be avoided.

本発明に係る制御システムは、IPアドレスが設定された複数のプログラマブルロジックコントローラと、当該プログラマブルロジックコントローラに対応した複数の前記通信中継装置と、各通信中継装置と接続可能な前記携帯型プログラマブル表示器とを備えているので、接続が切り替えられたプログラマブルロジックコントローラのIPアドレスを容易かつ正確に携帯型プログラマブル表示器に登録することができる。したがって、携帯型プログラマブル表示器と複数のプログラマブルロジックコントローラとの接続の切り替え作業を効率的に行うことができるという効果を奏する。   The control system according to the present invention includes a plurality of programmable logic controllers in which IP addresses are set, a plurality of the communication relay devices corresponding to the programmable logic controllers, and the portable programmable display that can be connected to each communication relay device. Therefore, the IP address of the programmable logic controller whose connection has been switched can be easily and accurately registered in the portable programmable display. Therefore, there is an effect that the switching operation between the portable programmable display and the plurality of programmable logic controllers can be efficiently performed.

本発明の実施形態について図1〜図6に基づいて説明すると、以下の通りである。   The embodiment of the present invention will be described with reference to FIGS. 1 to 6 as follows.

図1に示すように、本実施形態に係る制御システム1は、PLC(プログラマブルロジックコントローラ)11〜14と、変換アダプタ21〜24と、プログラマブル表示器30とを備えている。   As shown in FIG. 1, the control system 1 according to the present embodiment includes PLCs (programmable logic controllers) 11 to 14, conversion adapters 21 to 24, and a programmable display 30.

PLC11〜14は、ネットワーク通信が可能なようにIP(Internet Protocol)アドレスが個々に設定されている。このPLC11〜14は、それぞれ対応する変換アダプタ21〜24とLAN(Local Area Network)ケーブルを介して接続されている。PLC11〜14は、ユーザが作成したシーケンスプログラム(ラダープログラムなど)にしたがって、例えば、数十msなどの予め定められたスキャンタイム毎に、入力ユニットを介して入力用のデバイス(各種センサ、各種スイッチ等)の状態を取り込むとともに、出力用のデバイス(アクチュエータ、リレー、電磁弁、表示器等)に制御指示を与える。   The PLCs 11 to 14 are individually set with IP (Internet Protocol) addresses so that network communication is possible. The PLCs 11 to 14 are connected to the corresponding conversion adapters 21 to 24 via LAN (Local Area Network) cables. The PLCs 11 to 14 are input devices (various sensors, various switches) via an input unit at predetermined scan times such as several tens of ms according to a sequence program (ladder program or the like) created by the user. Etc.) and control instructions are given to output devices (actuators, relays, solenoid valves, indicators, etc.).

PLC11〜14内のメモリ(デバイスメモリ)は、デバイスの状態(デバイスからの出力値やデバイスへの設定値)を示すデータ(ワードデータやビットデータ)を、デバイスアドレスで特定される領域に格納している。上記メモリにおいて、ワードデバイスとビットデバイスとが設定される。ワードデバイスは、入出力されるデータが数値のようなワードデータを格納する領域として設定され、ワードアドレス(デバイスアドレス)で指定される。また、ビットデバイスは、オン・オフ状態のようなビットデータを格納する領域として設定され、ビットアドレス(デバイスアドレス)で設定される。このような設定により、メモリ内の任意のワードデバイスまたはビットデバイスをデバイスアドレスを指定してアクセスするだけでデバイスを制御し、またはその状態に関する情報を個別に取り出すことができる。   The memories (device memories) in the PLCs 11 to 14 store data (word data and bit data) indicating the state of the device (output value from the device and set value to the device) in an area specified by the device address. ing. In the memory, a word device and a bit device are set. The word device is set as an area for storing word data such as numeric values as input / output data, and is designated by a word address (device address). The bit device is set as an area for storing bit data such as an on / off state, and is set by a bit address (device address). With such a setting, it is possible to control a device by simply accessing an arbitrary word device or bit device in the memory by specifying a device address, or to individually retrieve information relating to the state of the device.

変換アダプタ21〜24は、それぞれに接続されているPLC11〜14とプログラマブル表示器30との通信を中継する装置である。また、変換アダプタ21〜24は、接続されているPLC11〜14のIPアドレスに対応するIDがそれぞれ登録されている。変換アダプタ21〜24の詳細については、後に詳しく説明する。   The conversion adapters 21 to 24 are devices that relay communication between the PLCs 11 to 14 and the programmable display 30 connected thereto. Moreover, IDs corresponding to the IP addresses of the connected PLCs 11 to 14 are registered in the conversion adapters 21 to 24, respectively. Details of the conversion adapters 21 to 24 will be described in detail later.

携帯型プログラマブル表示器であるプログラマブル表示器30は、変換アダプタ21〜24のいずれとも通信可能に接続するインターフェースを有している。また、プログラマブル表示器30は、各PLC11〜14に設定されているIPアドレスと、各変換アダプタ21〜24のIDとを個々に対応付けたアドレスリストを記憶している。また、プログラマブル表示器30は、変換アダプタ21〜24のうちの接続された1つからIDを取得し、上記のアドレスリストから当該IDに対応するIPアドレスを特定して通信ドライバに設定する。これにより、プログラマブル表示器30は、このIPアドレスが設定されているPLC11〜14のうちの1つと接続された変換アダプタを介して通信を行う。プログラマブル表示器30についても、後に詳しく説明する。   The programmable display 30 which is a portable programmable display has an interface that is communicably connected to any of the conversion adapters 21 to 24. Moreover, the programmable display 30 has memorize | stored the address list which matched individually the IP address set to each PLC11-14, and ID of each conversion adapter 21-24. Moreover, the programmable display 30 acquires ID from the connected one of the conversion adapters 21-24, specifies IP address corresponding to the said ID from said address list, and sets it to a communication driver. Thereby, the programmable display 30 communicates via the conversion adapter connected with one of PLC11-14 in which this IP address is set. The programmable display 30 will also be described in detail later.

さらに、図2に示す他の制御システム2について説明する。   Further, another control system 2 shown in FIG. 2 will be described.

なお、制御システム2において、制御システム1における構成要素と同じ構成要素については同一の符号を付記して、その説明を省略する。   In the control system 2, the same components as those in the control system 1 are denoted by the same reference numerals, and the description thereof is omitted.

図2に示すように、本実施形態に係る他の制御システム2は、ホストコンピュータ4と、ハブ5と、PLC11〜14と、変換アダプタ21〜24と、プログラマブル表示器30とを備えている。なお、PLC11〜14には加工装置や製造装置等の各種機器が接続され、ハブ5、PLC11〜14、変換アダプタおよび前記各種機器により制御システム本体が構成されている(図示略)。   As shown in FIG. 2, another control system 2 according to the present embodiment includes a host computer 4, a hub 5, PLCs 11 to 14, conversion adapters 21 to 24, and a programmable display 30. Various devices such as processing devices and manufacturing devices are connected to the PLCs 11 to 14, and the control system main body is configured by the hub 5, the PLCs 11 to 14, the conversion adapter, and the various devices (not shown).

この制御システム2では、PLC11〜14と変換アダプタ21〜24とが、スター型LANの集線装置であるハブ5を介して相互に接続され、ホストコンピュータ4もハブ5に接続されている。このような構成により、プログラマブル表示器30は、接続された変換アダプタ11〜14の1つから取得したIDに対応するIPアドレスが設定されているPLC11〜14のうちの1つと、接続された変換アダプタおよびハブ5とを介して通信を行う。また、ホストコンピュータ4は、例えば、ハブ5を介してPLC11〜14およびプログラマブル表示器30と通信することにより、制御指示を与えたり、データを収集したりする。   In this control system 2, the PLCs 11 to 14 and the conversion adapters 21 to 24 are connected to each other via a hub 5 that is a star-type LAN concentrator, and the host computer 4 is also connected to the hub 5. With such a configuration, the programmable display 30 is connected to one of the PLCs 11 to 14 in which the IP address corresponding to the ID acquired from one of the connected conversion adapters 11 to 14 is set, and the connected conversion. Communication is performed via the adapter and the hub 5. Further, the host computer 4 gives control instructions or collects data by communicating with the PLCs 11 to 14 and the programmable display 30 via the hub 5, for example.

続いて、変換アダプタ21〜24について説明する。図3に示すように、ここでは、変換アダプタ21〜24を代表する変換アダプタ20について説明する。   Next, the conversion adapters 21 to 24 will be described. As shown in FIG. 3, here, a conversion adapter 20 that represents the conversion adapters 21 to 24 will be described.

図3に示すように、変換アダプタ20は、インターフェース部(図中「I/F」にて示す)201、マイクロコンピュータ202およびロータリディップスイッチ(図中「SW」にて示す)203を有している。   As shown in FIG. 3, the conversion adapter 20 includes an interface unit (indicated by “I / F” in the figure) 201, a microcomputer 202, and a rotary dip switch (indicated by “SW” in the figure) 203. Yes.

インターフェース部201は、プログラマブル表示器30に接続されるコネクタ等を含む部分である。このインターフェース部201を介して、プログラマブル表示器30とPLC10(PLC11〜14に対応)との間でイーサネット(登録商標)データDATAがやり取りされる。また、インターフェース部201を介して、プログラマブル表示器30とマイクロコンピュータ202との間で、後述するID要求コマンドCOMおよびIDがやり取りされる。また、インターフェース部201は、プログラマブル表示器30への電源供給の機能を果たすため、図示はしないが、外部から変換アダプタ20に入力される電源電圧をプログラマブル表示器30に出力するためのコネクタも含んでいる。   The interface unit 201 is a part including a connector connected to the programmable display 30. Ethernet (registered trademark) data DATA is exchanged between the programmable display 30 and the PLC 10 (corresponding to the PLCs 11 to 14) via the interface unit 201. Further, an ID request command COM and an ID described later are exchanged between the programmable display 30 and the microcomputer 202 via the interface unit 201. The interface unit 201 also includes a connector for outputting a power supply voltage input from the outside to the conversion adapter 20 to the programmable display 30 (not shown) in order to perform a function of supplying power to the programmable display 30. It is out.

プログラマブル表示器30にかかる過重を軽減し、かつプログラマブル表示器30の操作性を損なわないようにするため、変換アダプタ20とプログラマブル表示器30とを接続するためのケーブルは極力細く(軽く)かつ柔軟であることが好ましい。このため、当該ケーブルは、通信線と電源線とを1本のケーブル内にまとめるように形成されている。具体的には、1本のケーブルにおいて、中心側に通信線が配され、その周囲を取り囲むように電源線が配されている。   The cable for connecting the conversion adapter 20 and the programmable display 30 is as thin as possible (light) and flexible in order to reduce the weight applied to the programmable display 30 and not to impair the operability of the programmable display 30. It is preferable that Therefore, the cable is formed so that the communication line and the power supply line are combined into one cable. Specifically, in one cable, a communication line is arranged on the center side, and a power supply line is arranged so as to surround the periphery.

マイクロコンピュータ202は、CPUやメモリを備えており、ロータリディップスイッチ203で設定されたIDを登録し、プログラマブル表示器30からの要求によって読み出すために、IDメモリ202aと、ID管理部202bとを有している。IDメモリ202aは、マイクロコンピュータ202に設けられる上記メモリで構成され、IDを記憶する。ID管理部202bは、ロータリディップスイッチ203で設定されたIDをIDメモリ202aに書き込む一方、プログラマブル表示器30からのID要求コマンドCOMを受けると、IDメモリ202aに記憶されているIDを読み出して、プログラマブル表示器30に送信する。ID管理部202bは、マイクロコンピュータ202のプログラムメモリ(図示せず)に格納されているID管理プログラムをCPUが実行することにより実現される機能ブロックの部分である。   The microcomputer 202 includes a CPU and a memory, and has an ID memory 202a and an ID management unit 202b for registering the ID set by the rotary dip switch 203 and reading it by a request from the programmable display 30. is doing. The ID memory 202a is composed of the memory provided in the microcomputer 202 and stores an ID. The ID management unit 202b writes the ID set by the rotary dip switch 203 to the ID memory 202a, while receiving the ID request command COM from the programmable display 30, reads the ID stored in the ID memory 202a, It transmits to the programmable display 30. The ID management unit 202b is a functional block part realized by the CPU executing an ID management program stored in a program memory (not shown) of the microcomputer 202.

ロータリディップスイッチ203は、回転式のディップスイッチであり、IDを設定するために設けられている。このロータリディップスイッチ203を複数のディップスイッチの組み合わせで構成することにより、多数のIDを設定することができる。例えば、4つの値を設定できるディップスイッチを2個組み合わせる場合は、16のIDを設定することができる。   The rotary dip switch 203 is a rotary dip switch and is provided for setting an ID. By configuring the rotary dip switch 203 with a combination of a plurality of dip switches, a large number of IDs can be set. For example, when two dip switches that can set four values are combined, 16 IDs can be set.

引き続き、プログラマブル表示器30について説明する。   Next, the programmable display 30 will be described.

プログラマブル表示器30は、CPUなどの演算処理装置を備えており、入力操作および表示用の画面をユーザが作成した画面データに基づいて表示することによりプログラマブル表示器特有の操作機能および表示機能を実現する専用コンピュータである。HMI(Human Machine Interface)機器として好適に使用されるプログラマブル表示器30は、ユーザ画面に関連して行われる各種の処理を規定する処理規定情報を組み合わせて決定される画面データに基づいて、PLC11〜14に接続されたデバイスの状態を画面表示する際の動作や、画面への操作に応じてデバイスの状態を制御するときの動作を特定する。   The programmable display 30 includes an arithmetic processing unit such as a CPU, and realizes an operation function and a display function unique to the programmable display by displaying a screen for input operation and display based on screen data created by the user. It is a dedicated computer. A programmable display 30 that is preferably used as an HMI (Human Machine Interface) device includes PLCs 11 to 11 based on screen data determined by combining processing definition information that defines various types of processing performed in association with a user screen. The operation when displaying the state of the device connected to the screen 14 and the operation when controlling the state of the device according to the operation on the screen are specified.

このプログラマブル表示器30は、PLC11〜14との通信により、PLC11〜14を介して画面に表示する各デバイスの状態を取得し、例えば、後述のディスプレイ32に各デバイスの状態を表示する機能を有する。また、プログラマブル表示器30は、後述のタッチパネル35への操作に応じて、PLC11〜14へデバイスの制御を指示する機能を有する。   This programmable display 30 has a function of acquiring the state of each device to be displayed on the screen via the PLCs 11 to 14 through communication with the PLCs 11 to 14 and displaying the state of each device on a display 32 described later, for example. . Moreover, the programmable display 30 has a function which instruct | indicates control of a device to PLC11-14 according to operation to the below-mentioned touch panel 35. FIG.

プログラマブル表示器30は、上記の機能を実現するために、HMI制御部31と、ディスプレイ32と、タッチパネル33と、ユーザメモリ32と、作業メモリ33と、インターフェース部(図中、I/F)34と、通信ドライバ35と、メモリカードリーダ/ライタ36とを備えている。以下、プログラマブル表示器30の主要各部について詳細に説明する。   In order to realize the above functions, the programmable display 30 includes an HMI control unit 31, a display 32, a touch panel 33, a user memory 32, a work memory 33, and an interface unit (I / F in the figure) 34. A communication driver 35 and a memory card reader / writer 36. Hereinafter, each main part of the programmable display 30 will be described in detail.

ディスプレイ32は、プログラマブル表示器1を薄型に構成するために、液晶ディスプレイや、ELディスプレイや、プラズマディスプレイのような平板型ディスプレイが好適に用いられる。タッチパネル33は、ディスプレイ32の表示画上でタッチ入力を行うために設けられている入力装置である。   As the display 32, a flat panel display such as a liquid crystal display, an EL display, or a plasma display is preferably used to make the programmable display device 1 thin. The touch panel 33 is an input device provided for performing touch input on the display image of the display 32.

インターフェース部34は、プログラマブル表示器30をネットワーク(LANまたはインターネット)に接続してPLC11〜14や他の機器と間の通信を行うための通信制御部である。このインターフェース部34は、通信ドライバ35で規定されている処理手順でPLC11〜14などの機器のIPアドレスに基づくネットワーク通信を行うことができるように構成されている。   The interface unit 34 is a communication control unit for connecting the programmable display 30 to a network (LAN or the Internet) to perform communication with the PLCs 11 to 14 and other devices. The interface unit 34 is configured to be able to perform network communication based on the IP address of a device such as the PLCs 11 to 14 in accordance with a processing procedure defined by the communication driver 35.

また、プログラマブル表示器30が電源または専用の電源入力端子を備えておらず、前述のように変換アダプタ20から電源供給を受けることから、インターフェース部34は、電源入力のための回路や端子構造等を含んでいる。   Further, since the programmable display 30 does not have a power source or a dedicated power input terminal and receives power supply from the conversion adapter 20 as described above, the interface unit 34 has a circuit for power input, a terminal structure, and the like. Is included.

ユーザメモリ32は、画面データ、上記の通信プロトコルなどを格納するためのメモリであり、FEPROM(Flash Erasable and Programmable ROM)が用いられる。FEPROMは、書き替え可能な読み出し専用のフラッシュメモリであるので、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。   The user memory 32 is a memory for storing screen data, the above communication protocol, and the like, and FEPROM (Flash Erasable and Programmable ROM) is used. Since FEPROM is a rewritable read-only flash memory, it plays the role of a hard disk drive in a general personal computer. A flash memory does not have a movable part and is resistant to impacts, and thus operates stably even in a poor ambient environment.

画面データは、プログラマブル表示器30に表示される1つ以上のユーザ画面(1フレーム分の画面データによって構成される単位画面)のデータをまとめた画面ファイルである。画面データは、通常、ターゲットシステムやターゲットシステムで製造される製品などに応じた一連の関連する複数の画面データがひとまとまりのプロジェクトファイルとして用意される。また、画面データ(プロジェクトファイル)は、パーソナルコンピュータ等にインストールされた画面作成用のソフトウェアを用いて作成される。   The screen data is a screen file in which data of one or more user screens (unit screens configured by screen data for one frame) displayed on the programmable display 30 is collected. As the screen data, a series of related screen data corresponding to a target system or a product manufactured by the target system is usually prepared as a set of project files. The screen data (project file) is created by using screen creation software installed in a personal computer or the like.

また、ユーザメモリ32は、PLC11〜14のIPアドレスと変換アダプタ21〜24とを対応付けたアドレスリストのデータ(アドレスリストデータ)を格納している。アドレスリストは、例えば、表1のように、IPアドレスとIDとを対応付けている。   Further, the user memory 32 stores address list data (address list data) in which the IP addresses of the PLCs 11 to 14 are associated with the conversion adapters 21 to 24. In the address list, for example, as shown in Table 1, IP addresses and IDs are associated with each other.

Figure 2010108219
Figure 2010108219

作業メモリ33は、例えば、DRAMによって構成されており、表示制御などの演算処理時の作業用に用いられる他、PLC11〜14との間でやり取りされるデータの一時的な記憶に用いられる。また、作業メモリ33は、変換アダプタ21〜24から取得したIDデータを格納する。   The work memory 33 is constituted by, for example, a DRAM, and is used for temporary storage of data exchanged with the PLCs 11 to 14 in addition to being used for work during arithmetic processing such as display control. The work memory 33 stores ID data acquired from the conversion adapters 21 to 24.

プログラマブル表示器30は、上記のユーザメモリ32や作業メモリ33以外にも、図示はしないが、データメモリを含んでいる。データメモリは、SRAMによって構成されており、PLC11〜14から得たデータやプログラマブル表示器30で発生したデータを格納している。   The programmable display 30 includes a data memory (not shown) in addition to the user memory 32 and the work memory 33 described above. The data memory is composed of SRAM, and stores data obtained from the PLCs 11 to 14 and data generated by the programmable display 30.

通信ドライバ35は、インターフェース部34にネットワーク通信をさせるためのドライバソフトウェアである。この通信ドライバ35は、プログラマブル表示器30のIPアドレスやポート番号、通信相手の機器(例えばPLC11〜14)のIPアドレスやポート番号等が設定されており、これらに基づいて通信相手の機器との通信処理を行う。   The communication driver 35 is driver software for causing the interface unit 34 to perform network communication. The communication driver 35 is set with the IP address and port number of the programmable display 30 and the IP address and port number of the communication partner device (for example, the PLCs 11 to 14). Perform communication processing.

通信ドライバ35への上記の各設定は、画面データの作成において行われる。また、通信ドライバ35に設定されたIPアドレスは、後述するように、IPアドレス設定部31aによって変更可能であるが、エクスポートおよびインポートの機能を用いて変更することも可能である。具体的には、IPアドレスをCSV形式で外部のエディタにエクスポートし、当該エディタで編集されたIPアドレスをインポートによって読み込む。   Each setting described above for the communication driver 35 is performed in the creation of screen data. The IP address set in the communication driver 35 can be changed by the IP address setting unit 31a as will be described later, but can also be changed by using the export and import functions. Specifically, the IP address is exported to an external editor in the CSV format, and the IP address edited by the editor is read by import.

メモリカードリーダ/ライタ36は、プログラマブル表示器30に着脱自在に接続されるメモリカード6へのデータの書き込みおよび読み出しを行う装置である。このメモリカード6は、例えば、画面データ(プロジェクトファイル)を記憶している。このメモリカード6としては、CFカード(登録商標)が好適に用いられる。   The memory card reader / writer 36 is a device that writes and reads data to and from the memory card 6 that is detachably connected to the programmable display 30. For example, the memory card 6 stores screen data (project file). A CF card (registered trademark) is preferably used as the memory card 6.

HMI制御部31は、所定の時間間隔毎や所定のイベント毎にPLC11〜14と通信することによって、PLC11〜14のデバイスメモリから、デバイスの状態を状態データとして取得して、プログラマブル表示器30内に用意された一時的なメモリ空間、例えば前述の作業メモリの特定の領域(状態メモリ領域)に書き込む。また、HMI制御部31は、PLC11〜14のデバイスメモリにおける状態データを更新するように、状態メモリ領域におけるデバイスの状態データを書き替えて、PLC11〜14に送信する。HMI制御部31は、前述の画面データに基づいて、デバイスの状態データをPLC11〜14から取得してディスプレイ33上で描画表示するときの動作や、画面への操作に応じてデバイス6の状態の変更を指示するときの動作を処理規定情報によって特定する。   The HMI control unit 31 acquires the device state as state data from the device memory of the PLCs 11 to 14 by communicating with the PLCs 11 to 14 at every predetermined time interval or every predetermined event, and in the programmable display 30 Are written in a temporary memory space prepared in the above, for example, a specific area (state memory area) of the aforementioned working memory. Further, the HMI control unit 31 rewrites the state data of the device in the state memory area so as to update the state data in the device memory of the PLCs 11 to 14 and transmits it to the PLCs 11 to 14. Based on the above-mentioned screen data, the HMI control unit 31 acquires device state data from the PLCs 11 to 14 and draws and displays it on the display 33, and the state of the device 6 according to the operation on the screen. The operation when the change is instructed is specified by the process definition information.

また、HMI制御部31は、IPアドレス設定部31aを有している。   The HMI control unit 31 includes an IP address setting unit 31a.

IPアドレス設定部31aは、接続された変換アダプタ21〜24にIDデータの送信を要求するためのID要求コマンドCOMを送信する。また、IPアドレス設定部31aは、変換アダプタ21〜24から送信されてきたIDデータを作業メモリ33に格納しておく。また、IPアドレス設定部31aは、ユーザメモリ32に格納されているアドレスリストデータを作業メモリ33に読み出して参照し、作業メモリ33に格納したIDデータに対応するIPアドレスを特定して通信ドライバ35に設定する。   The IP address setting unit 31a transmits an ID request command COM for requesting transmission of ID data to the connected conversion adapters 21 to 24. The IP address setting unit 31 a stores the ID data transmitted from the conversion adapters 21 to 24 in the work memory 33. In addition, the IP address setting unit 31 a reads the address list data stored in the user memory 32 into the work memory 33 and refers to the IP address corresponding to the ID data stored in the work memory 33 to identify the communication driver 35. Set to.

HMI制御部31は、HMI制御プログラムをプログラマブル表示器30が備えるCPUなどの演算処理手段に実行させることにより実現される機能ブロックである。上記のHMI制御プログラムは、プログラマブル表示器30と分離可能に構成される記録媒体にも記録可能であり、その記録媒体からプログラマブル表示器30にインストールされてもよい。HMI制御プログラムは、プログラマブル表示器30の機種に応じた機能を発揮させるために、機種毎に個別に用意されている。   The HMI control unit 31 is a functional block realized by causing an arithmetic processing unit such as a CPU provided in the programmable display 30 to execute the HMI control program. The above HMI control program can be recorded on a recording medium configured to be separable from the programmable display 30 and may be installed in the programmable display 30 from the recording medium. The HMI control program is individually prepared for each model in order to exhibit a function corresponding to the model of the programmable display 30.

上記の記録媒体は、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。   The above recording media include tape systems such as magnetic tapes and cassette tapes, magnetic disk systems such as flexible disks and hard disks, optical disk systems such as CD-ROM, MO, MD, and DVD, IC cards (including memory cards), optical A card system such as a card is preferred. In addition, the program medium may be a medium that carries a fixed program including a semiconductor memory such as a mask ROM, EPROM, EEPROM, flash ROM, or the like.

また、プログラマブル表示器30が、インターネットを含む通信ネットワークと接続可能に構成されていれば、当該通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めプログラマブル表示器30に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。   Further, as long as the programmable display 30 is configured to be connectable to a communication network including the Internet, it may be a medium that fluidly carries the program so as to download the program from the communication network. However, when the program is downloaded from the communication network in this way, the download program may be stored in advance in the programmable display 30 or may be installed from another recording medium.

ここで、上記のように構成される制御システム1,2におけるプログラマブル表示器30とPLC11〜14との通信を確立させるための動作について、図5および図6のフローチャートを参照して説明する。   Here, an operation for establishing communication between the programmable display 30 and the PLCs 11 to 14 in the control systems 1 and 2 configured as described above will be described with reference to the flowcharts of FIGS. 5 and 6.

先に、変換アダプタ20(変換アダプタ21〜24)においてマイクロコンピュータ202が行うIDデータ送信処理について説明する。   First, ID data transmission processing performed by the microcomputer 202 in the conversion adapter 20 (conversion adapters 21 to 24) will be described.

まず、図5に示すように、マイクロコンピュータ202のCPUが初期化されると(ステップS1)、コマンド受け付け可能な待機状態となる(ステップS2)。ステップS2でプログラマブル表示器30からのコマンドを受け付けると、そのコマンドがID要求コマンドCOMであるか否かを判定する(ステップS3)。ここで、受け付けたコマンドがID要求コマンドであれば、IDをプログラマブル表示器30に送信する(ステップS4)。   First, as shown in FIG. 5, when the CPU of the microcomputer 202 is initialized (step S1), it enters a standby state in which a command can be received (step S2). When a command from the programmable display 30 is received in step S2, it is determined whether or not the command is an ID request command COM (step S3). If the received command is an ID request command, the ID is transmitted to the programmable display 30 (step S4).

続いて、プログラマブル表示器30においてHMI制御部31(IPアドレス設定部31a)が行うIDデータ取得処理およびIPアドレス設定処理について説明する。ここでは、プログラマブル表示器30が変換アダプタ21に接続されている場合について説明する。   Next, ID data acquisition processing and IP address setting processing performed by the HMI control unit 31 (IP address setting unit 31a) in the programmable display 30 will be described. Here, a case where the programmable display 30 is connected to the conversion adapter 21 will be described.

まず、図6に示すように、プログラマブル表示器30の電源投入に伴ってHMI制御部31が初期化されると(ステップS11)、IPアドレス設定部31aからID要求コマンドCOMを変換アダプタ21に発行(送信)する(ステップS12)。次に、このID要求コマンドCOMを受けて、上記のステップS4により、変換アダプタ21のマイクロコンピュータ202から送信されてきたIDを取得(受信)したか否かを判定する(ステップS13)。ここで、IDを取得すると、作業メモリ33に格納し、IDを取得できなかった場合は処理を終了する。   First, as shown in FIG. 6, when the HMI control unit 31 is initialized as the programmable display 30 is turned on (step S11), an ID request command COM is issued from the IP address setting unit 31a to the conversion adapter 21. (Send) (Step S12). Next, in response to the ID request command COM, it is determined whether or not the ID transmitted from the microcomputer 202 of the conversion adapter 21 has been acquired (received) in step S4 (step S13). Here, when the ID is acquired, it is stored in the work memory 33, and when the ID cannot be acquired, the process is terminated.

そして、ユーザメモリ32のアドレスリストデータを参照しながら、取得したIDに対応するIPアドレスを特定する(ステップS15)。さらに、当該IPアドレスを通信ドライバ35に設定して(ステップS16)、当該IPアドレスが設定されているPLC11と通信を開始し(ステップS17)、通信が終了すると処理を終える。   Then, referring to the address list data in the user memory 32, the IP address corresponding to the acquired ID is specified (step S15). Further, the IP address is set in the communication driver 35 (step S16), communication is started with the PLC 11 in which the IP address is set (step S17), and the processing is ended when the communication is completed.

以上のように、本実施形態における制御装置1,2は、個々に対応するプログラマブル表示器11〜14のIPアドレスに対応付けられたIDを登録する変換アダプタ21〜24を備えるとともに、プログラマブル表示器30が接続された変換アダプタ21〜24から取得したIDに基づいて接続すべきPLC11〜14のIPアドレスを特定し、当該IPアドレスを通信ドライバ35に設定して通信を確立するように構成されている。これにより、プログラマブル表示器30の変換アダプタ21〜24への接続を切り替えたときに、プログラマブル表示器30の電源を投入するだけで、それぞれ変換アダプタ21〜24を介して、自動的にPLC11〜14との接続が行われる。その結果、従来の据え置き型のプログラマブル表示器のように、オフライン状態にして、ユーザによって設定画面上でIPアドレスを設定し直す必要がないので、IPアドレスの設定に習熟する必要もなく、容易に誤設定を回避することができる。   As described above, the control devices 1 and 2 in the present embodiment include the conversion adapters 21 to 24 for registering IDs associated with the IP addresses of the individually programmable display devices 11 to 14 and programmable display devices. 30 is configured to specify the IP address of the PLCs 11 to 14 to be connected based on the ID acquired from the conversion adapters 21 to 24 to which the communication adapter 30 is connected, and set the IP address in the communication driver 35 to establish communication. Yes. Thereby, when the connection of the programmable display 30 to the conversion adapters 21 to 24 is switched, the PLCs 11 to 14 are automatically connected via the conversion adapters 21 to 24 only by turning on the power of the programmable display 30. Connection is made. As a result, unlike the conventional stationary programmable display, it is not necessary to go offline and reset the IP address on the setting screen by the user. Incorrect settings can be avoided.

また、特に、制御システム2においては、PLC11〜14が組み込まれる制御システム本体の前方、両側方および後方にそれぞれPLC11〜14が設けられていれば、操作者が制御システム本体の各所に移動して、PLC11〜14に対して可動状況の監視や制御指示を行う必要がある。このような場合、プログラマブル表示器30のPLC11〜14への接続変更が頻繁に行われるので、接続変更に伴うIPアドレスの設定変更により、作業効率を大幅に向上させることができる。   In particular, in the control system 2, if the PLCs 11 to 14 are provided at the front, both sides, and the rear of the control system main body in which the PLCs 11 to 14 are incorporated, the operator moves to various places on the control system main body. Therefore, it is necessary to monitor the movable state and give a control instruction to the PLCs 11 to 14. In such a case, since the connection change of the programmable display 30 to the PLCs 11 to 14 is frequently performed, the work efficiency can be significantly improved by changing the setting of the IP address accompanying the connection change.

さらに、変換アダプタ21〜24においては、操作者がロータリディップスイッチ203を操作することによって、プログラマブル表示器30がオンライン状態にあるときでもIDを変更することができる。具体的には、IPアドレス設定部31aが、前述のステップS12の処理のように、初期化後のみにID要求コマンドCOMを送信するのではなく、定期的にID要求コマンドCOMを送信するようにしておけば、IDが変更されると、それに応じてIDを取得することができる。これにより、同一の変換アダプタ21〜24に接続した状態で、プログラマブル表示器30に接続されるPLC11〜14が切り替えられるので、プログラマブル表示器30の変換アダプタ21〜24への接続を切り替えることなく、異なるPLC11〜14を監視および制御することができる。   Further, in the conversion adapters 21 to 24, the operator can change the ID even when the programmable display 30 is in an online state by operating the rotary dip switch 203. Specifically, the IP address setting unit 31a does not transmit the ID request command COM only after the initialization as in the process of step S12 described above, but periodically transmits the ID request command COM. If the ID is changed, the ID can be acquired accordingly. Thereby, in the state connected to the same conversion adapter 21-24, since PLC11-14 connected to the programmable display 30 is switched, without switching the connection to the conversion adapter 21-24 of the programmable display 30, Different PLCs 11-14 can be monitored and controlled.

なお、本実施形態では、制御システム1,2がそれぞれPLC11〜14および変換アダプタ21〜24を4台備える構成について説明したが、それぞれの台数はこれに限定されない。   In the present embodiment, the configuration in which the control systems 1 and 2 each include four PLCs 11 to 14 and four conversion adapters 21 to 24 has been described, but the number of each is not limited thereto.

また、本実施形態では、プログラマブル表示器30の変換アダプタ21〜24への接続を切り替えるとIPアドレスもそれに合わせて変更されるが、変更されるのはIPアドレス以外のものであってもよい。例えば、図2に示す制御システム本体がPLC11〜14の機種やメーカが異なる構成の装置として複数存在する場合、メモリカード6に各装置に対応した複数のプロジェクトファイルを格納しておき、変換アダプタ21〜24への接続を切り替えると、それに対応したプロジェクトファイルをメモリカード6から読み出して表示に供するようにしてもよい。これにより、例えば、メーカAのPLC11〜14で構成される装置Xの変換アダプタ21〜24にプログラマブル表示器30を接続すると、それに対応したプロジェクトファイルが読み出される。それゆえ、プロジェクトファイルを変更するための操作を省くことができる。   In the present embodiment, when the connection of the programmable display 30 to the conversion adapters 21 to 24 is switched, the IP address is also changed accordingly. However, the IP address may be changed. For example, when there are a plurality of control system bodies shown in FIG. 2 as devices having different PLC 11 to 14 models and manufacturers, a plurality of project files corresponding to each device are stored in the memory card 6 and the conversion adapter 21 is stored. When the connection to .about.24 is switched, the corresponding project file may be read from the memory card 6 for display. Thereby, for example, when the programmable display 30 is connected to the conversion adapters 21 to 24 of the device X constituted by the PLCs 11 to 14 of the manufacturer A, the corresponding project file is read out. Therefore, the operation for changing the project file can be omitted.

本発明は、上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

例えば、上記実施形態では、ディップスイッチを用いて変換アダプタに登録されているIDを変更するようになされているが、変換アダプタが、CFカード(登録商標)等のメモリカード(外部記憶媒体)を接続でき、かつメモリカードのデータを少なくとも読み出すことのできるメモリカード接続部と、メモリカードから読み出したデータを記憶する内部メモリ(変換アダプタの記憶部)とを有し、内部メモリにメモリカードから読み込んだIDを書き込むこと、さらに、書き込んだIDを読み込んだデータで上書き(変更)しうるようにしてもよい。   For example, in the above embodiment, the ID registered in the conversion adapter is changed using the DIP switch. However, the conversion adapter uses a memory card (external storage medium) such as a CF card (registered trademark). It has a memory card connection part that can be connected and can read at least data from the memory card, and an internal memory (storage part of the conversion adapter) that stores data read from the memory card, and reads from the memory card to the internal memory The ID may be written, and the written ID may be overwritten (changed) with the read data.

また、メモリカードから内部メモリに各種データ、例えば各種表示画面を書き込むようにするとよい。そして、書き込まれた各種データを、IDを介してPLCのIPアドレスと対応付けてもよい。   Also, various data such as various display screens may be written from the memory card to the internal memory. Then, the written various data may be associated with the IP address of the PLC via the ID.

このようにすれば、例えば、接続を確立したPLCに適した画面をプログラマブル表示器に表示することができる。   If it does in this way, the screen suitable for PLC which established the connection can be displayed on a programmable display, for example.

本発明の制御システムは、複数のプログラマブルロジックコントローラ(PLC)に設定されたIPアドレスに対応するIDが設定された複数の通信中継装置を備えるとともに、携帯型プログラマブル表示器が接続された通信中継装置から取得したIDに基づいて接続すべきPLCのIPアドレスを設定して通信を確立するので、容易に携帯型プログラマブル表示器と接続すべきPLCとの通信を確立することができ、携帯型プログラマブル表示器のPLCへの接続変更時の作業効率を向上させることに好適に利用できる。   The control system of the present invention includes a plurality of communication relay devices in which IDs corresponding to IP addresses set in a plurality of programmable logic controllers (PLCs) are set, and a communication relay device to which a portable programmable display is connected Since the communication is established by setting the IP address of the PLC to be connected based on the ID acquired from the portable communication display, the communication with the PLC to be connected to the portable programmable display can be easily established. This can be suitably used to improve the working efficiency when changing the connection of the device to the PLC.

本発明の実施形態に係る制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system which concerns on embodiment of this invention. 本発明の実施形態に係る他の制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the other control system which concerns on embodiment of this invention. 上記両制御システムにおける変換アダプタの構成を示すブロック図である。It is a block diagram which shows the structure of the conversion adapter in the said both control systems. 上記両制御システムにおけるプログラマブル表示器の構成を示すブロック図である。It is a block diagram which shows the structure of the programmable display in both the said control systems. 上記変換アダプタによるIDデータの送信処理の手順示すフローチャートである。It is a flowchart which shows the procedure of the transmission process of ID data by the said conversion adapter. 上記プログラマブル表示器によるIDデータの取得処理およびIPアドレスの設定処理の手順示すフローチャートである。It is a flowchart which shows the procedure of the acquisition process of ID data by the said programmable display, and the setting process of an IP address.

符号の説明Explanation of symbols

1,2 制御システム
5 ハブ
11〜12 PLC
21〜22 変換アダプタ(通信中継装置)
30 プログラマブル表示器(携帯型プログラマブル表示器)
31a IPアドレス設定部(送信要求手段,通信確立手段)
33 ユーザメモリ(記憶手段)
38 通信ドライバ
202a IDメモリ(ID記憶手段)
202b ID管理部(ID送信手段)
1, 2 Control system 5 Hub 11-12 PLC
21-22 Conversion adapter (communication relay device)
30 Programmable display (portable programmable display)
31a IP address setting unit (transmission request means, communication establishment means)
33 User memory (storage means)
38 Communication driver 202a ID memory (ID storage means)
202b ID management unit (ID transmission means)

Claims (3)

携帯型プログラマブル表示器と、それぞれIPアドレスが設定された複数のプログラマブルロジックコントローラと、各プログラマブルロジックコントローラと前記携帯型プログラマブル表示器との通信を中継する複数の通信中継装置とを備え、複数の前記プログラマブルロジックコントローラにおける任意の前記プログラマブルロジックコントローラと前記携帯型プログラマブル表示器との接続を確立しうる制御システムであって、
各通信中継装置は、前記IPアドレスのいずれか1つに対応付けて設定されたIDを登録するID記憶手段と、前記携帯型プログラマブル表示器よりの送信要求に応じて前記IDを前記ID記憶手段から読み出して前記携帯型プログラマブル表示器に送信するID送信手段とを有し、
前記携帯型プログラマブル表示器は、前記IPアドレスと前記IDとの各対応付けを記憶する記憶手段と、接続を確立しようとする前記プログラマブルロジックコントローラの前記IPアドレスに対応する前記IDが登録された前記通信中継装置へIDの送信要求を行う送信要求手段と、送信された前記IDに対応する前記IPアドレスを前記対応付けから特定して通信相手のIPアドレスとし、当該IPアドレスが設定されている前記プログラマブルロジックコントローラとの通信を確立する通信確立手段とを有していることを特徴とする制御システム。
A portable programmable display; a plurality of programmable logic controllers each set with an IP address; and a plurality of communication relay devices that relay communication between each programmable logic controller and the portable programmable display. A control system capable of establishing a connection between any of the programmable logic controllers in the programmable logic controller and the portable programmable display,
Each communication relay device includes an ID storage means for registering an ID set in association with any one of the IP addresses, and the ID storage means in response to a transmission request from the portable programmable display. And ID transmitting means for reading from and transmitting to the portable programmable display,
In the portable programmable display, the storage means for storing each association between the IP address and the ID, and the ID corresponding to the IP address of the programmable logic controller to establish a connection are registered. The transmission request means for making an ID transmission request to the communication relay device, and the IP address corresponding to the transmitted ID is identified from the association as the IP address of the communication partner, and the IP address is set A control system comprising communication establishment means for establishing communication with a programmable logic controller.
IPアドレスが設定されたプログラマブルロジックコントローラと携帯型プログラマブル表示器との通信を中継する通信中継装置であって、
前記IPアドレスに対応付けて設定されたIDを登録するID記憶手段と、
前記携帯型プログラマブル表示器よりの送信要求に応じて前記IDを前記ID記憶手段から読み出して前記携帯型プログラマブル表示器に送信するID送信手段とを備えていることを特徴とする通信中継装置。
A communication relay device that relays communication between a programmable logic controller set with an IP address and a portable programmable display,
ID storage means for registering an ID set in association with the IP address;
A communication relay device comprising: an ID transmission unit that reads the ID from the ID storage unit and transmits the ID to the portable programmable display in response to a transmission request from the portable programmable display.
請求項2に記載の通信中継装置と接続しうる携帯型プログラマブル表示器であって、
前記IPアドレスと前記IDとの各対応付けを記憶する記憶手段と、
接続を確立しようとする前記プログラマブルロジックコントローラの前記IPアドレスに対応する前記IDが登録された前記通信中継装置へIDの送信要求を行う送信要求手段と、送信された前記IDに対応する前記IPアドレスを前記対応付けから特定して通信相手のIPアドレスとし、当該IPアドレスが設定されている前記プログラマブルロジックコントローラとの通信を確立する通信確立手段とを備えていることを特徴とする携帯型プログラマブル表示器。
A portable programmable display that can be connected to the communication relay device according to claim 2,
Storage means for storing each association between the IP address and the ID;
Transmission request means for requesting transmission of an ID to the communication relay apparatus in which the ID corresponding to the IP address of the programmable logic controller to be connected is registered, and the IP address corresponding to the transmitted ID And a communication establishment means for establishing communication with the programmable logic controller to which the IP address is set by specifying the communication address as an IP address of the communication partner. vessel.
JP2008279252A 2008-10-30 2008-10-30 Control system and portable programmable display Active JP5000624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008279252A JP5000624B2 (en) 2008-10-30 2008-10-30 Control system and portable programmable display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008279252A JP5000624B2 (en) 2008-10-30 2008-10-30 Control system and portable programmable display

Publications (2)

Publication Number Publication Date
JP2010108219A true JP2010108219A (en) 2010-05-13
JP5000624B2 JP5000624B2 (en) 2012-08-15

Family

ID=42297616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008279252A Active JP5000624B2 (en) 2008-10-30 2008-10-30 Control system and portable programmable display

Country Status (1)

Country Link
JP (1) JP5000624B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012003340A (en) * 2010-06-14 2012-01-05 Digital Electronics Corp Programmable display
JP2012128719A (en) * 2010-12-16 2012-07-05 Digital Electronics Corp Programmable display and data display program
JP2012128720A (en) * 2010-12-16 2012-07-05 Digital Electronics Corp Client computer, programmable display, data display system and programs thereof
JP2019053439A (en) * 2017-09-13 2019-04-04 ブラザー工業株式会社 Control system, sub-controller and control method
CN117311258A (en) * 2023-12-01 2023-12-29 合肥中科鸿创信息科技有限公司 Multi-device synchronous control method and system based on UDP and PLC

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1011690A (en) * 1996-06-24 1998-01-16 Toshiba Corp Handy terminal equipment
JP2002111680A (en) * 2000-09-29 2002-04-12 Digital Electronics Corp Control system
JP2002366205A (en) * 2001-06-05 2002-12-20 Mitsubishi Electric Corp Set display device for programmable controller
JP2004151762A (en) * 2002-10-28 2004-05-27 Toshiba Corp Programmable controller
JP2005027352A (en) * 2004-10-01 2005-01-27 Ntt Docomo Inc Handover method and mobile station
JP2006092141A (en) * 2004-09-22 2006-04-06 Oki Electric Ind Co Ltd Remote maintenance system
JP2006294012A (en) * 2005-03-15 2006-10-26 Omron Corp Programmable controller system
JP2007181231A (en) * 2007-02-13 2007-07-12 Tokyo Electric Power Co Inc:The Auto-connect method between radio communication apparatuses

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1011690A (en) * 1996-06-24 1998-01-16 Toshiba Corp Handy terminal equipment
JP2002111680A (en) * 2000-09-29 2002-04-12 Digital Electronics Corp Control system
JP2002366205A (en) * 2001-06-05 2002-12-20 Mitsubishi Electric Corp Set display device for programmable controller
JP2004151762A (en) * 2002-10-28 2004-05-27 Toshiba Corp Programmable controller
JP2006092141A (en) * 2004-09-22 2006-04-06 Oki Electric Ind Co Ltd Remote maintenance system
JP2005027352A (en) * 2004-10-01 2005-01-27 Ntt Docomo Inc Handover method and mobile station
JP2006294012A (en) * 2005-03-15 2006-10-26 Omron Corp Programmable controller system
JP2007181231A (en) * 2007-02-13 2007-07-12 Tokyo Electric Power Co Inc:The Auto-connect method between radio communication apparatuses

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012003340A (en) * 2010-06-14 2012-01-05 Digital Electronics Corp Programmable display
JP2012128719A (en) * 2010-12-16 2012-07-05 Digital Electronics Corp Programmable display and data display program
JP2012128720A (en) * 2010-12-16 2012-07-05 Digital Electronics Corp Client computer, programmable display, data display system and programs thereof
JP2019053439A (en) * 2017-09-13 2019-04-04 ブラザー工業株式会社 Control system, sub-controller and control method
CN117311258A (en) * 2023-12-01 2023-12-29 合肥中科鸿创信息科技有限公司 Multi-device synchronous control method and system based on UDP and PLC
CN117311258B (en) * 2023-12-01 2024-03-12 合肥中科鸿创信息科技有限公司 Multi-device synchronous control method and system based on UDP and PLC

Also Published As

Publication number Publication date
JP5000624B2 (en) 2012-08-15

Similar Documents

Publication Publication Date Title
US7987305B2 (en) Remote virtual placeholder configuration for distributed input/output modules
JP5000624B2 (en) Control system and portable programmable display
JP4554570B2 (en) Programmable display, control program and recording medium recording the same, and control system, client program and recording medium recording the same
JP4916170B2 (en) Programmable display, server and program thereof
JP5307111B2 (en) Programmable display and data display program
US11165745B2 (en) Control system, controller, and control method
JP4566904B2 (en) System, control program and recording medium recording the program, and image data creation program and recording medium recording the program
JP4463716B2 (en) Programmable display, display control program, and recording medium recording the same
JP2007179112A5 (en)
JP2008084027A (en) Programmable display device, display program and recording medium recording the same
JP2016126483A (en) Programmable display
JP2009531756A (en) Control unit with built-in machine model
JP4515434B2 (en) Unit information setting device, unit information setting program, and recording medium recording the same
JP2007010891A (en) Display device, control program, and recording medium having the program recorded therein
JP2006134098A (en) Programmable display, display control program, and recording medium with the program recorded thereon
JP4509991B2 (en) Programmable display, program and recording medium recording the same
JP5053316B2 (en) Network system, programmable display device, and memory access method
JP6213400B2 (en) Monitoring device
JP2006039870A (en) Programmable display, display control program, recording medium for recording this program, screen forming device, screen forming program, and recording medium with the program recorded thereon
JP5335764B2 (en) Client computer, programmable display, data display system and program thereof
JP2016110393A (en) Programmable controller, test method for programmable controller, and program
JP2006331272A (en) Programmable display, control program and storage medium recording the program
JP2002244705A (en) Data transfer system and data transfer program for editor device
JP2004227392A (en) Display device
JP5330321B2 (en) Programmable display

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100903

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111130

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5000624

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250