JP2002026914A - Network unit, and recording medium for recording its program - Google Patents

Network unit, and recording medium for recording its program

Info

Publication number
JP2002026914A
JP2002026914A JP2000205674A JP2000205674A JP2002026914A JP 2002026914 A JP2002026914 A JP 2002026914A JP 2000205674 A JP2000205674 A JP 2000205674A JP 2000205674 A JP2000205674 A JP 2000205674A JP 2002026914 A JP2002026914 A JP 2002026914A
Authority
JP
Japan
Prior art keywords
address
value
network
control
network address
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.)
Pending
Application number
JP2000205674A
Other languages
Japanese (ja)
Inventor
Hideki Miyahara
秀規 宮原
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 JP2000205674A priority Critical patent/JP2002026914A/en
Publication of JP2002026914A publication Critical patent/JP2002026914A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce trouble at network address setting in a local area network where a manufacturer of a network device is limited such as a control system having control display devices and a host computer. SOLUTION: Upon the receipt of an own generation instruction of an IP address from a control host computer 6, an address setting section 46 of each programmable display device 4 stores a serial number of a MAC address of its own device to a predetermined 1st area in an IP address storage section 42b and also stores a part of a MAC address vender ID in a remaining 2nd area. When the generated IP address is coincident with an IP address of the control host computer 6, the section 46 changes the value of the 2nd area. Thus, each programmable display device 4 can set a unique IP address by itself without the need for communication with other programmable display devices 4.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、複数の制
御用表示装置とホストコンピュータとを有する制御シス
テムなど、ネットワーク機器の製造元が限定されたロー
カル・エリア・ネットワークで好適に使用され、ネット
ワークアドレスの設定時の手間を削減可能なネットワー
ク機器、および、そのプログラムが記録された記録媒体
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is suitably used in a local area network in which manufacturers of network devices are limited, such as a control system having a plurality of display devices for control and a host computer. The present invention relates to a network device capable of reducing the time and labor required for setting a program, and a recording medium on which the program is recorded.

【0002】[0002]

【従来の技術】図9に示すように、複数のネットワーク
機器101…を、イーサネット(登録商標)などのロー
カル・エリア・ネットワーク(LAN)102で互いに
接続して相互通信するシステムは、従来から広く使用さ
れている。これらのシステムで、TCP/IP(Transm
ission Control Protocol / Internet Protocol )プロ
トコルを用いてデータ伝送する場合、データ列は、パケ
ットに区切られて伝送される。また、各パケットには、
送信元および送信先のネットワーク機器101を示すI
Pアドレスが付加されており、各ネットワーク機器10
1は、当該IPアドレスに基づいて、自機器へのパケッ
トか否かを識別している。
2. Description of the Related Art As shown in FIG. 9, a system for interconnecting a plurality of network devices 101 via a local area network (LAN) 102 such as Ethernet (registered trademark) has been widely used. It is used. In these systems, TCP / IP (Transm
When data is transmitted using ission Control Protocol / Internet Protocol), a data sequence is transmitted after being divided into packets. Also, each packet contains
I indicating the source and destination network devices 101
P address is added, and each network device 10
Reference numeral 1 identifies whether or not the packet is directed to the own device based on the IP address.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、システムの規模に拘らず、各ネットワー
ク機器101のIPアドレスとして、LAN102内で
ユニークな値を設定する必要があり、手間がかかるとい
う問題を生ずる。
However, in the above-mentioned conventional configuration, it is necessary to set a unique value in the LAN 102 as the IP address of each network device 101, regardless of the scale of the system, which is troublesome. Cause problems.

【0004】具体的には、上記IPアドレスは、例え
ば、”192.168.0.10”など、4つの32ビットの数字を
並べたものであり、初めて、ネットワークを構築するユ
ーザなど、ネットワークに慣れていないユーザにとって
は、馴染みがなく、設定/記憶しにくい。また、これら
のIPアドレスは、各ネットワーク機器101で設定す
る必要があるだけではなく、それぞれがLAN102内
でユニークな値に設定する必要があるため、さらに、上
記ユーザの負担が大きくなってしまう。
[0004] Specifically, the IP address is a sequence of four 32-bit numbers such as "192.168.0.10". For example, a user who is not accustomed to a network, such as a user who constructs a network for the first time. Is unfamiliar and difficult to set / remember. Further, these IP addresses need to be set not only in each network device 101 but also in each of the LANs 102 so as to be set to unique values, so that the burden on the user is further increased.

【0005】特に、従来の制御システムでは、PLCに
接続される制御用表示装置は、シリアル・ケーブルで接
続されることが多く、制御用表示装置のユーザは、ネッ
トワークに慣れていないことが多い。また、制御システ
ムでは、多くの制御用表示装置が使用される。したがっ
て、特に、制御システムでは、ユーザがIPアドレスを
設定する際の負担は、大きくなりがちである。
In particular, in a conventional control system, the control display device connected to the PLC is often connected by a serial cable, and the user of the control display device is often unfamiliar with the network. In the control system, many control display devices are used. Therefore, especially in a control system, a burden when a user sets an IP address tends to be large.

【0006】本発明は、上記の問題点に鑑みてなされた
ものであり、その目的は、例えば、複数の制御用表示装
置とホストコンピュータとを有する制御システムなど、
ネットワーク機器の製造元が限定されたローカル・エリ
ア・ネットワークで好適に使用され、ネットワークアド
レスの設定時の手間を削減可能なネットワーク機器を提
供することにある。
[0006] The present invention has been made in view of the above problems, and has as its object, for example, a control system having a plurality of control display devices and a host computer.
It is an object of the present invention to provide a network device which is suitably used in a local area network where a manufacturer of the network device is limited, and which can reduce the trouble when setting a network address.

【0007】[0007]

【課題を解決するための手段】請求項1の発明に係るネ
ットワーク機器は、上記課題を解決するために、製造元
を示すベンダ識別子と、同一ベンダ識別子の機器同士を
区別するための識別番号との組み合わせからなるハード
ウェアアドレスが格納されたハードウェアアドレス記憶
手段を有し、上記識別番号よりもビット幅が広く、伝送
されるデータに付されるネットワークアドレスに基づい
て、データの送信元および送信先を特定するローカル・
エリア・ネットワークに接続可能なネットワーク機器に
おいて、以下の手段を講じたことを特徴としている。
In order to solve the above-mentioned problems, a network device according to the present invention comprises a vendor identifier indicating a manufacturer and an identification number for distinguishing devices having the same vendor identifier. Hardware address storage means for storing a combination of hardware addresses, the bit width being wider than the identification number, and the source and destination of the data based on the network address assigned to the data to be transmitted. Local
A network device connectable to an area network is characterized by the following measures.

【0008】すなわち、上記ローカル・エリア・ネット
ワークを介して、ネットワークアドレスの自己生成指示
を受け取った場合、上記ハードウェアアドレス記憶手段
を参照して、自機器のネットワークアドレスを自己生成
するネットワークアドレス生成手段を備えている。さら
に、当該ネットワークアドレス生成手段には、自機器の
識別番号に応じた値で、しかも、他の識別番号に応じた
値とは異なる値の第1値と、自機器のベンダ識別子に応
じ、かつ、予め定められたベンダ識別子群の他のベンダ
識別子に応じた値とは異なる値となるよう予め定められ
た値の第2値との組み合わせに基づき、組み合わせが異
なれば、互いに異なる値となるような値に、ネットワー
クアドレスを設定するネットワークアドレス設定手段
と、上記ネットワークアドレス設定手段により設定され
るネットワークアドレスが、上記自己生成指示の送信元
を示すネットワークアドレスと同じ値になる可能性があ
るか否かを判定する判定手段と、同じ値になる可能性が
あると判定した場合、上記ベンダ識別子群のベンダ識別
子に対応する値のいずれとも異なるよう予め定められた
値に上記第2値を変更するように上記ネットワークアド
レス設定手段へ指示する第2値調整手段とが設けられて
いる。
That is, when a self-generation instruction of a network address is received via the local area network, the self-generated network address of the self-device is referred to by referring to the hardware address storage means. It has. Further, the network address generating means includes a first value having a value corresponding to the identification number of the own device and different from a value corresponding to the other identification number, a vendor identifier of the own device, and Based on a combination of a predetermined value and a second value of a predetermined value that is different from a value corresponding to another vendor identifier of a predetermined vendor identifier group, if the combination is different, the values are different from each other. A network address setting means for setting a network address, and whether the network address set by the network address setting means may have the same value as the network address indicating the transmission source of the self-generation instruction. And a determining means for determining whether the same value is likely to be obtained. Any that the second value adjusting means for instructing to the network address setting means is provided to also change the second value to the value determined differently in advance.

【0009】上記構成において、例えば、ホストコンピ
ュータがローカル・エリア・ネットワークへ一斉同報す
るなどして、ローカル・エリア・ネットワークからネッ
トワークアドレスの自己生成指示を受け取ると、ネット
ワーク機器のネットワークアドレス生成手段は、自機器
のハードウェアアドレス記憶手段を参照して、ネットワ
ークアドレスを自己生成する。
In the above configuration, when the host computer receives a self-generation instruction of a network address from the local area network, for example, by simultaneously broadcasting to the local area network, the network address generation means of the network device operates. The network address is self-generated by referring to the hardware address storage means of the own device.

【0010】具体的には、ネットワークアドレス生成手
段は、例えば、自機器のハードウェアアドレスから識別
番号を抽出するなどして、自機器の識別番号に応じた値
で、しかも、他の識別番号に応じた値とは異なる値の第
1値を導出する。また、ネットワークアドレス生成手段
は、ベンダ識別子が互いに同一のネットワーク機器と、
例えば、ホストコンピュータなど、自己生成指示の送信
元の機器とからローカル・エリア・ネットワークを組む
ことを想定される場合には、例えば、予め定められた固
定値や、ベンダ識別子の一部を抽出した値などとして第
2値を導出する。一方、予め定められたベンダ識別子群
に含まれるベンダ識別子を有するネットワーク機器と、
自己生成指示の送信元機器とからローカル・エリア・ネ
ットワークを組むことが想定される場合には、例えば、
ベンダ識別子群のベンダ識別子と第2値との対応表を参
照したり、自機器のベンダ識別子に応じた値を参照する
などして、第2値を導出する。いずれの場合であって
も、第2値は、予め定められたベンダ識別子群の他のベ
ンダ識別子に応じた値とは異なる値に設定される。さら
に、ネットワークアドレス設定手段は、例えば、第1値
と第2値とを連結するなど、第1値および第2値の組み
合わせが互いに異なると、互いに異なる値となるような
導出方法で、自機器のネットワークアドレスを導出す
る。
[0010] Specifically, the network address generation means extracts the identification number from the hardware address of the own device, for example, to obtain a value corresponding to the identification number of the own device, and further, to the other identification number. A first value different from the corresponding value is derived. Further, the network address generating means includes: a network device having the same vendor identifier;
For example, when it is assumed that a local area network is formed with a device such as a host computer that transmits a self-generated instruction, for example, a predetermined fixed value or a part of a vendor identifier is extracted. A second value is derived as a value or the like. On the other hand, a network device having a vendor identifier included in a predetermined vendor identifier group,
When it is assumed that a local area network is formed with the transmission source device of the self-generation instruction, for example,
The second value is derived by referring to a correspondence table between the vendor identifier of the group of vendor identifiers and the second value, or by referring to a value corresponding to the vendor identifier of the own device. In any case, the second value is set to a value different from a value corresponding to another vendor identifier in a predetermined vendor identifier group. Further, the network address setting means may use a derivation method such that, when the combination of the first value and the second value is different from each other, for example, the first value and the second value may be different from each other, for example. Derive the network address of

【0011】また、第2値調整手段は、例えば、自機器
のネットワークアドレスと、自己生成指示の送信元のネ
ットワークアドレスとが同一の場合など、両ネットワー
クアドレスが同一になる可能性がある場合、ネットワー
クアドレス設定手段へ指示して、上記ベンダ識別子群の
ベンダ識別子に対応する値のいずれとも異なるよう予め
定められた値に上記第2値を変更させる。これにより、
ネットワーク機器が自己生成したネットワークアドレス
は、必ず、自己生成指示の送信元のネットワークアドレ
スと異なる値になる。
[0011] The second value adjusting means may be provided when there is a possibility that both network addresses may be the same, for example, when the network address of the own device is the same as the network address of the transmission source of the self-generation instruction. Instruct the network address setting means to change the second value to a predetermined value different from any of the values corresponding to the vendor identifiers of the vendor identifier group. This allows
The network address generated by the network device is always different from the network address of the transmission source of the self-generation instruction.

【0012】ここで、例えば、制御システムなどの特定
用途向けのローカル・エリア・ネットワークでは、特定
の製造元の単数または複数のネットワーク機器とホスト
コンピュータとから、ネットワークシステムを構成する
ことが多い。また、各ネットワーク機器の製造元が一致
していない場合でも、これらの製造元は、比較的制限さ
れたグループに属していることが多い。
Here, for example, in a local area network for a specific use such as a control system, a network system is often composed of one or more network devices of a specific manufacturer and a host computer. Even when the manufacturers of the network devices do not match, these manufacturers often belong to a relatively restricted group.

【0013】この場合、互いに異なるベンダ識別子のネ
ットワーク機器同士では、それぞれのネットワークアド
レス設定手段が導出する第2値が互いに異なっている。
したがって、これらのネットワーク機器同士のうち、第
2値調整手段が調整しないネットワーク機器同士では、
ネットワークアドレスが互いに異なった値に設定され
る。また、導出された第2値によっては、ネットワーク
アドレス設定手段が設定するネットワークアドレスと、
自己生成指示の送信元のネットワークアドレスとが重複
する可能性があるが、第2値調整手段が変更する第2値
は、調整しない場合の第2値のいずれとも異なってい
る。したがって、第2値調整手段が調整したネットワー
ク機器のネットワークアドレスは、調整しないネットワ
ーク機器のネットワークアドレスと異なる値になる。一
方、互いに同一のベンダ識別子のネットワーク機器同士
では、識別番号が互いに異なっているため、第2値調整
手段による調整の有無に拘らず、それぞれのネットワー
クアドレス設定手段が導出する第1値が互いに相違す
る。これらの結果、各ネットワーク機器は、ローカル・
エリア・ネットワーク内の他のネットワーク機器とも、
自己生成指示の送信元とも異なるユニークなネットワー
クアドレスを設定できる。
[0013] In this case, between network devices having different vendor identifiers, the second values derived by the respective network address setting means are different from each other.
Therefore, among these network devices, the network devices that are not adjusted by the second value adjusting unit are:
Network addresses are set to different values. Further, depending on the derived second value, a network address set by the network address setting means,
Although the network address of the transmission source of the self-generation instruction may be duplicated, the second value changed by the second value adjusting unit is different from any of the second values when no adjustment is performed. Therefore, the network address of the network device adjusted by the second value adjusting unit has a different value from the network address of the network device not adjusted. On the other hand, since network devices having the same vendor identifier have different identification numbers, the first values derived by the respective network address setting units are different from each other regardless of whether or not adjustment is performed by the second value adjustment unit. I do. As a result, each network device is
With other network devices in the area network,
A unique network address different from the source of the self-generation instruction can be set.

【0014】上記構成では、特定のベンダ識別子または
特定のベンダ識別子群のベンダ識別子を有するネットワ
ーク機器と、自己生成指示の送信元とを含むローカル・
エリア・ネットワークにおいて、ローカル・エリア・ネ
ットワークのユーザが特に設定していないにも拘らず、
各ネットワーク機器は、ホストコンピュータからの自己
生成指示を受けた後は、他のネットワーク機器やホスト
コンピュータと通信しなくても、自機器のネットワーク
アドレスとして、当該ローカル・エリア・ネットワーク
でユニークな値を設定できる。この結果、当該ローカル
・エリア・ネットワークを管理する際の手間を大幅に削
減できる。
In the above configuration, the local equipment including the network device having the specific vendor identifier or the vendor identifier of the specific vendor identifier group and the transmission source of the self-generation instruction are provided.
In the area network, although the user of the local area network does not specifically set,
After receiving a self-generation instruction from the host computer, each network device uses a unique value in the local area network as its own network address without communicating with other network devices or the host computer. Can be set. As a result, the time and effort required to manage the local area network can be significantly reduced.

【0015】さらに、請求項2記載の発明に係るネット
ワーク機器は、請求項1記載の発明の構成において、上
記ネットワーク機器は、制御対象の状態を表示する制御
用表示装置であることを特徴としている。
Further, the network equipment according to the second aspect of the present invention is characterized in that, in the configuration of the first aspect, the network equipment is a control display device for displaying a state of a control target. .

【0016】ここで、制御用表示装置は、製造元が限ら
れており、制御システムでは、多数の制御用表示装置
と、ホストコンピュータとをローカル・エリア・ネット
ワークで接続することが多い。したがって、制御用表示
装置が上記ネットワーク機器の各手段を備えることで、
制御システムのローカル・エリア・ネットワークを管理
する際の手間を大幅に削減できる。
Here, manufacturers of the display devices for control are limited, and many control display devices are connected to a host computer via a local area network in a control system in many cases. Therefore, by providing the control display device with each means of the network device,
Significant savings in managing the control system local area network.

【0017】また、上記ネットワーク機器は、ハードウ
ェアのみで実現してもよいが、コンピュータでソフトウ
ェアを実行させることで実現してもよい。具体的には、
請求項3記載の記録媒体は、製造元を示すベンダ識別子
と、同一ベンダ識別子の機器同士を区別するための識別
番号との組み合わせからなるハードウェアアドレスが格
納されたハードウェアアドレス記憶手段を有し、上記識
別番号よりもビット幅が広く、伝送されるデータに付さ
れるネットワークアドレスに基づいて、データの送信元
および送信先を特定するローカル・エリア・ネットワー
クに接続可能なコンピュータのネットワークアドレス設
定プログラムが記録された記録媒体であって、上記課題
を解決するために、請求項1記載の各手段として、上記
コンピュータを動作させるためのプログラムが記録され
ていることを特徴としている。
The network device may be realized only by hardware, or may be realized by executing software on a computer. In particular,
The recording medium according to claim 3, further comprising hardware address storage means storing a hardware address composed of a combination of a vendor identifier indicating a manufacturer and an identification number for distinguishing devices having the same vendor identifier, A network address setting program for a computer connectable to a local area network that specifies a source and a destination of data based on a network address assigned to data to be transmitted having a bit width wider than the identification number. In order to solve the above-mentioned problems, the recording medium according to the present invention is characterized in that a program for operating the computer is recorded.

【0018】上記構成の記録媒体からプログラムが読み
出され、上記コンピュータにて実行されると、当該コン
ピュータは、請求項1記載のネットワーク機器として動
作する。この結果、請求項1と同様に、特定のベンダ識
別子または特定のベンダ識別子群のベンダ識別子を有す
るネットワーク機器と、自己生成指示の送信元とを含む
ローカル・エリア・ネットワークを管理する際の手間を
大幅に削減できる。
When a program is read from the recording medium having the above configuration and executed by the computer, the computer operates as the network device according to the first aspect. As a result, similar to the first aspect, the time and effort for managing the local area network including the network device having the specific vendor identifier or the vendor identifier of the specific vendor identifier group and the transmission source of the self-generation instruction are reduced. Can be significantly reduced.

【0019】[0019]

【発明の実施の形態】本発明の一実施形態について図1
ないし図8に基づいて説明すると以下の通りである。す
なわち、図2に示すように、本実施形態に係る制御シス
テム1は、例えば、モータやバルブあるいはセンサなど
のデバイス2a…を含むターゲットシステム2の状態を
制御するシステムであって、上記各デバイス2aを制御
するプログラマブル・ロジック・コントローラ(PL
C)3と、多くの場合、ターゲットシステム2の近傍に
配され、予め格納された制御用プログラムおよび制御用
データに従って、PLC3と通信してデバイス2aの状
態を表示したり、通信結果やオペレータの指示に応じ
て、デバイス2aへの制御指示をPLC3へ送信するプ
ログラマブル表示器(ネットワーク機器;制御用表示装
置)4…と、各プログラマブル表示器4間を互いに接続
するローカル・エリア・ネットワーク(LAN)5と、
当該LAN5に接続され、多くの場合、プログラマブル
表示器4よりもターゲットシステム2から離れた位置か
ら、制御システム1全体を制御する制御用ホストコンピ
ュータ6とを備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention.
The following is a description based on FIG. That is, as shown in FIG. 2, the control system 1 according to the present embodiment is a system for controlling the state of the target system 2 including devices 2a... Such as motors, valves or sensors. Logic Controller (PL)
C) and, in most cases, are arranged in the vicinity of the target system 2 and communicate with the PLC 3 to display the status of the device 2a, display the communication result and the operator's A programmable display (network device; control display) 4 for transmitting a control instruction to the device 2a to the PLC 3 in response to the instruction, and a local area network (LAN) connecting the programmable displays 4 to each other 5 and
A control host computer 6 is connected to the LAN 5 and controls the entire control system 1 from a position farther from the target system 2 than the programmable display 4 in many cases.

【0020】ここで、PLCは、シーケンサから発達し
てきた経緯もあって、例えば、製造会社毎や製品の種別
毎など、PLCの機種毎に独自の専用プロトコルを備え
ているものが多い。ところが、本実施形態に係る制御シ
ステム1では、プログラマブル表示器4間がLAN5で
直接接続されている。これにより、制御システム内の通
信処理にPLCが介在する従来の制御システムとは異な
って、制御システム1に必須の構成であり、しかも、画
面表示のために、PLC3よりも演算能力や記憶容量の
余裕が大きなプログラマブル表示器4が、通信の大半を
処理できる。さらに、各プログラマブル表示器4は、自
らに接続されているPLC3の機種に固有の専用プロト
コルと、ネットワーク5での通信用に予め定められた共
通プロトコルとを変換して、他のプログラマブル表示器
4や制御用ホストコンピュータ6と、PLC3との通信
を中継する。これにより、プログラマブル表示器4およ
び制御用ホストコンピュータ6は、他のプログラマブル
表示器4に接続されたPLC3へ制御を指示したり、P
LC3が制御するデバイス2aの状態を取得できるにも
拘らず、これら他のプログラマブル表示器4に接続され
ているPLC3の機種に依存せず、予め定められた共通
プロトコルで通信できる。この結果、上記PLC間を直
接接続する制御システムに比べて、互いに異なる機種の
PLC3を制御システム1内に混在させやすくなる。
Here, the PLC has a history of evolving from a sequencer, and many PLCs have their own dedicated protocols, for example, for each type of PLC, such as for each manufacturing company or each product type. However, in the control system 1 according to the present embodiment, the programmable displays 4 are directly connected by the LAN 5. Thus, unlike the conventional control system in which the PLC is interposed in the communication processing in the control system, the control system 1 has a configuration essential to the control system 1, and has more computational capacity and storage capacity than the PLC 3 for screen display. The programmable display 4 having a large margin can process most of the communication. Further, each programmable display 4 converts between a dedicated protocol specific to the model of the PLC 3 connected to itself and a common protocol predetermined for communication on the network 5, and converts the other programmable displays 4. And relays communication between the control host computer 6 and the PLC 3. Thus, the programmable display 4 and the control host computer 6 instruct the PLC 3 connected to another programmable display 4 to control,
Although the status of the device 2a controlled by the LC 3 can be acquired, communication can be performed by a predetermined common protocol without depending on the model of the PLC 3 connected to the other programmable displays 4. As a result, it becomes easier to mix different types of PLCs 3 in the control system 1 than in the control system in which the PLCs are directly connected.

【0021】より詳細には、本実施形態に係るプログラ
マブル表示器4は、処理指示語(タグ)を組み合わせて
決定される画面データに基づいて、入力および画面表示
を制御可能な表示器であって、図1に示すように、PL
C3やLAN5に接続されるインターフェース部(IF
部)として、専用プロトコルIF部41・共通プロトコ
ルIF部42と、両IF部41・42による通信を中継
するプロトコル変換部43と、例えば、上記画面データ
などの制御用プログラムおよび制御用データを記憶する
記憶部44と、当該記憶部44に格納された画面データ
に基づき、タッチパネルなどから入力されるオペレータ
の操作や通信結果などに応じて表示/制御動作を行う表
示/制御処理部45とを備えている。
More specifically, the programmable display 4 according to the present embodiment is a display capable of controlling input and screen display based on screen data determined by combining processing instruction words (tags). , As shown in FIG.
Interface unit (IF) connected to C3 or LAN5
As a unit), a dedicated protocol IF unit 41 / common protocol IF unit 42, a protocol conversion unit 43 for relaying communication between the two IF units 41/42, and a control program and control data such as the screen data are stored. And a display / control processing unit 45 that performs a display / control operation based on screen data stored in the storage unit 44 in accordance with an operator operation or a communication result input from a touch panel or the like. ing.

【0022】上記記憶部44は、不揮発性の記録媒体と
して、例えば、FEEPROM(Flash Electrically E
rasable and Programmable ROM)などの不揮発性半導体
メモリを備えている。当該不揮発性半導体メモリは、一
般に、読み出しに比べて書き込みに時間がかかるが、ハ
ードディスクなどのディスク状記録媒体やテープ状記録
媒体などとは異なり、可動部を持たない。したがって、
ターゲットシステム2近傍の劣悪な環境下でも誤動作せ
ずに、画面データなどの制御用プログラムおよび制御用
データを保持し続けることができる。また、共通プロト
コルIF部42が制御用ホストコンピュータ6から制御
用プログラムの書き込み指示を受け取った場合、記憶部
44は、上記不揮発性半導体メモリに制御用プログラム
または制御用データを書き込むことができる。
The storage section 44 is a non-volatile recording medium such as a FEEPROM (Flash Electrically
A non-volatile semiconductor memory such as rasable and programmable ROM) is provided. The non-volatile semiconductor memory generally takes longer to write than to read, but unlike a disk-shaped recording medium such as a hard disk or a tape-shaped recording medium, does not have a movable part. Therefore,
Even in a poor environment near the target system 2, the control program such as screen data and the control data can be maintained without malfunction. When the common protocol IF unit 42 receives an instruction to write a control program from the control host computer 6, the storage unit 44 can write the control program or control data in the nonvolatile semiconductor memory.

【0023】さらに、本実施形態に係るLAN5は、イ
ーサネット(登録商標)であり、上記共通プロトコルI
F部42は、各プログラマブル表示器4および制御用ホ
ストコンピュータ6が理解可能な形式のデータ列を、T
CP/IP(Transmission Control Protocol / Intern
et Protocol )プロトコルで伝送している。また、上記
共通プロトコルIF部42は、ハードウェアアドレスと
して、製造時に自機器に与えられたMAC(媒体アクセ
ス制御)アドレスを記憶するMACアドレス記憶部(ハ
ードウェアアドレス記憶手段)42aと、ネットワーク
アドレスとして、TCP/IPプロトコルでのデータ通
信に先立って自機器に与えられるIPアドレスを記憶す
るIPアドレス記憶部42bとを備えている。上記MA
Cアドレスは、図3に示すように、イーサネットでデー
タ伝送する機器に対して一意な値(ユニークな値)にな
るよう、製造時に定められた48ビットの値であって、
製造元を示すベンダID(24ビット)と、当該製造元
で一意のシリアル番号(24ビット)とから構成されて
いる。本実施形態に係る制御システム1では、互いに同
一の製造元で製造されたプログラマブル表示器4を使用
しており、各プログラマブル表示器4のMACアドレス
記憶部42aに格納されたベンダIDは、互いに同一の
値になっている。また、各MACアドレス記憶部42a
には、互いに異なる値のシリアル番号が格納されてい
る。
Further, the LAN 5 according to the present embodiment is an Ethernet (registered trademark), and the common protocol I
The F section 42 converts the data string in a format that can be understood by each programmable display 4 and the control host computer 6 into
CP / IP (Transmission Control Protocol / Intern
et Protocol). The common protocol IF unit 42 includes a MAC address storage unit (hardware address storage unit) 42a that stores a MAC (medium access control) address given to the device at the time of manufacture as a hardware address, and a network address. And an IP address storage unit 42b for storing an IP address given to the own device prior to data communication using the TCP / IP protocol. MA above
As shown in FIG. 3, the C address is a 48-bit value determined at the time of manufacture so as to be a unique value (unique value) for a device transmitting data via Ethernet.
It consists of a vendor ID (24 bits) indicating the manufacturer and a serial number (24 bits) unique to the manufacturer. In the control system 1 according to the present embodiment, the programmable displays 4 manufactured by the same manufacturer are used, and the vendor IDs stored in the MAC address storage unit 42a of each programmable display 4 are the same as each other. Value. Also, each MAC address storage unit 42a
Stores different serial numbers.

【0024】一方、IPアドレスは、32ビット幅の値
であって、データリンク層や物理層として使用する通信
路に拘らず、ネットワーク層がIPプロトコルで通信す
る各機器に対して一意に与えられる。なお、IPアドレ
スは、LAN5が他のネットワークと通信しない場合、
LAN5内で一意であれば、他のネットワークにおける
IPアドレスと同じ値であってもよい。
On the other hand, the IP address is a value having a 32-bit width, and is uniquely given to each device that the network layer communicates by the IP protocol regardless of the communication path used as the data link layer or the physical layer. . Note that the IP address is used when the LAN 5 does not communicate with another network.
If it is unique within the LAN 5, it may be the same value as an IP address in another network.

【0025】さらに、本実施形態に係るプログラマブル
表示器4には、上記共通プロトコルIF部42が制御用
ホストコンピュータ6からIPアドレスの設定指示を受
けた場合、MACアドレス記憶部42aを参照して、自
機器のIPアドレスを自動生成し、当該IPアドレスを
IPアドレス記憶部42bに格納するアドレス設定部4
6が設けられている。これにより、制御システム1のユ
ーザが特に設定することなく、各プログラマブル表示器
4は、自機器のIPアドレスを設定できる。なお、当該
アドレス設定部46が、特許請求の範囲に記載のネット
ワークアドレス生成手段、ネットワークアドレス設定手
段、判定手段および第2値調整手段に対応する。
Further, when the common protocol IF section 42 receives an instruction to set an IP address from the control host computer 6, the programmable display 4 according to the present embodiment refers to the MAC address storage section 42a, An address setting unit 4 that automatically generates an IP address of its own device and stores the IP address in the IP address storage unit 42b.
6 are provided. Thereby, each programmable display 4 can set the IP address of its own device without the user of the control system 1 setting in particular. Note that the address setting unit 46 corresponds to a network address generation unit, a network address setting unit, a determination unit, and a second value adjustment unit described in the claims.

【0026】より詳細には、上記アドレス設定部46
は、基本的に、自機器のMACアドレス記憶部42aの
うち、下位の32ビットを自機器のIPアドレスとして
設定する。ここで、図3に示すように、MACアドレス
の下位24ビットは、シリアル番号であり、上位24ビ
ットがベンダIDである。したがって、当該IPアドレ
スの下位24ビット分(A1;第1値)がシリアル番号
と一致し、IPアドレスの上位8ビット分(A2;第2
値)がベンダIDの下位8ビットと一致する。
More specifically, the address setting section 46
Basically, the lower 32 bits of the MAC address storage unit 42a of the own device are set as the IP address of the own device. Here, as shown in FIG. 3, the lower 24 bits of the MAC address are a serial number, and the upper 24 bits are a vendor ID. Therefore, the lower 24 bits (A1; first value) of the IP address match the serial number, and the upper 8 bits (A2; second value) of the IP address.
Value) matches the lower 8 bits of the vendor ID.

【0027】さらに、アドレス設定部46は、設定しよ
うとした自機器のIPアドレスが、制御用ホストコンピ
ュータ6からの設定指示と共に送信された制御用ホスト
コンピュータ6のIPアドレスと一致する場合、生成し
たIPアドレスのうち、上記シリアル番号に対応する領
域A1とは異なる領域A2の値を変更した後、IPアド
レス記憶部42bに格納する。なお、制御用ホストコン
ピュータ6のIPアドレスと一致しない場合は、領域A
2を変更せずに、IPアドレス記憶部42bに格納す
る。
Further, the address setting section 46 generates the IP address of the own device to be set when the IP address of the device coincides with the IP address of the control host computer 6 transmitted together with the setting instruction from the control host computer 6. After changing the value of the area A2 different from the area A1 corresponding to the serial number, the IP address is stored in the IP address storage unit 42b. If the IP address does not match the IP address of the control host computer 6, the area A
2 is stored in the IP address storage unit 42b without being changed.

【0028】この結果、IPアドレス記憶部42bに格
納されたIPアドレスのうち、領域A1の値は、各プロ
グラマブル表示器4のIPアドレスと異なる値になる。
また、IPアドレスのうち、領域A2の値は、制御用ホ
ストコンピュータ6のIPアドレスと異なる値になる。
これにより、両領域A1・A2からなるIPアドレス
は、他のプログラマブル表示器4および制御用ホストコ
ンピュータ6のいずれとも異なった値となる。したがっ
て、各プログラマブル表示器4は、他のプログラマブル
表示器4と通信したり、IPアドレスを一元管理するサ
ーバ装置と通信したりすることなく、LAN5内でユニ
ークなIPアドレスを高速に設定できる。
As a result, of the IP addresses stored in the IP address storage section 42b, the value of the area A1 is different from the IP address of each programmable display 4.
The value of the area A2 of the IP address is different from the IP address of the control host computer 6.
As a result, the IP address composed of both areas A1 and A2 has a different value from any of the other programmable displays 4 and the control host computer 6. Therefore, each programmable display 4 can set a unique IP address within the LAN 5 at a high speed without communicating with another programmable display 4 or with a server device that centrally manages the IP addresses.

【0029】一方、図1に示すように、制御用ホストコ
ンピュータ6には、制御システム1全体の監視制御を行
う表示/制御処理部61と、LAN5に接続される共通
プロトコルIF部62と、共通プロトコルIF部62お
よびLAN5を介して各プログラマブル表示器4と通信
して、表示/制御処理部61などの要求に応じるサーバ
部63と、例えば、画面データなど、各プログラマブル
表示器4の制御用プログラムおよび制御用データを管理
するシステム管理部64とが設けられている。
On the other hand, as shown in FIG. 1, the control host computer 6 includes a display / control processing unit 61 for monitoring and controlling the entire control system 1 and a common protocol IF unit 62 connected to the LAN 5. A server unit 63 that communicates with each programmable display 4 via the protocol IF unit 62 and the LAN 5 to respond to a request from the display / control processing unit 61 and the like, and a control program for each programmable display 4 such as screen data. And a system management unit 64 for managing control data.

【0030】ここで、プログラマブル表示器4の制御用
プログラムおよび制御用データには、ハードウェアの制
御処理、あるいは、文字や図形の表示処理やタッチパネ
ルへの入力を受け付ける処理など、多くのプログラムで
一般的に使用される処理を行うシステムプログラムと、
予め定められた通信プロトコルで通信するためのプロト
コルプログラムとが含まれている。また、本実施形態に
係るプログラマブル表示器4は、画面データに基づい
て、入力および画面表示を制御可能な表示器なので、上
記制御用プログラムには、さらに、プログラマブル表示
器4の表示/制御動作を規定する画面データと、例え
ば、当該画面データに基づいて上記システムプログラム
を呼び出して、プログラマブル表示器4の各ハードウェ
アに、画面データが示す表示/制御動作を行わせるアプ
リケーションプログラムなどの拡張プログラムとが含ま
れている。
Here, the control program and the control data of the programmable display 4 are generally used in many programs such as hardware control processing, processing for displaying characters and graphics, and processing for receiving input from a touch panel. A system program that performs commonly used processing;
A protocol program for communicating with a predetermined communication protocol is included. Further, since the programmable display 4 according to the present embodiment is a display capable of controlling input and screen display based on screen data, the control program further includes a display / control operation of the programmable display 4. The specified screen data and, for example, an extension program such as an application program that calls the system program based on the screen data and causes each hardware of the programmable display 4 to perform the display / control operation indicated by the screen data. include.

【0031】上記制御用プログラムおよび制御用データ
のうち、画面データは、画面上の領域への表示に対応す
るデバイスのアドレスと画面上の領域との対応を示す表
示タグや、画面上の領域への入力に対応するデバイスの
アドレスと画面上の領域との対応を示す入力タグなどか
ら構成されており、上記システムプログラムを呼び出し
て表示/制御動作させるプログラムを作成する場合より
も容易に作成できる。
Of the above-described control program and control data, the screen data includes a display tag indicating the correspondence between the address of the device corresponding to the display on the screen and the area on the screen, and the display tag indicating the correspondence between the area on the screen and the display tag. It is composed of an input tag indicating the correspondence between the address of the device corresponding to the input and the area on the screen, etc., and can be created more easily than the case where a program for calling and displaying / controlling the above system program is created.

【0032】具体的には、上記システム管理部64は、
画面データを作成/修正する作画処理部71と、作成し
た画面データなどの制御用プログラムおよび制御用デー
タを格納する記憶部72とを備えている。上記作画処理
部71は、例えば、タグのパレットを表示し、パレット
中のタグを選択して、画面上に所望のタグを配置するよ
うに、使用者へ促す。また、作画処理部71は、配置さ
れたタグを指定された座標に表示して、使用者のドラグ
&ドロップなどの操作に応じてタグの座標を調整する。
さらに、作画処理部71は、入力タグや表示タグに関連
するデバイスアドレスを入力するように使用者へ促す。
これらの結果、使用者は、作画処理部71を操作して、
画面上の所望の位置にタグを配置すると共に、各タグと
デバイスのアドレスとを対応付けるだけで、画面データ
を作成できる。
More specifically, the system management unit 64
An image processing unit 71 for creating / correcting screen data and a storage unit 72 for storing a control program and control data such as the created screen data are provided. The drawing processing unit 71 displays, for example, a palette of tags, selects a tag in the palette, and prompts the user to arrange a desired tag on the screen. Further, the drawing processing unit 71 displays the placed tag at the designated coordinates, and adjusts the coordinates of the tag in accordance with the user's operation such as drag and drop.
Further, the drawing processing unit 71 prompts the user to input a device address related to the input tag or the display tag.
As a result, the user operates the drawing processing unit 71 to
Screen data can be created simply by arranging tags at desired positions on the screen and associating each tag with an address of a device.

【0033】したがって、プログラマブル表示器4の表
示プログラムを修正する場合に比べて容易に、各プログ
ラマブル表示器4の表示や操作を決定(変更)でき、制
御システム1の使用者(制御用ホストコンピュータ6の
使用者)は、ターゲットシステム2の実情や、プログラ
マブル表示器4のオペレータの習熟度、あるいは、使用
者の好みに合わせることができる。
Therefore, the display and operation of each programmable display 4 can be determined (changed) more easily than when the display program of the programmable display 4 is modified, and the user of the control system 1 (the control host computer 6 User) can match the actual situation of the target system 2, the proficiency of the operator of the programmable display 4, or the preference of the user.

【0034】また、制御用プログラムおよび制御用デー
タのうち、システムプログラムやアプリケーションプロ
グラムなどは、プロトコルプログラムあるいはアプリケ
ーションプログラムなどは、例えば、プログラマブル表
示器4の製造業者などのコンピュータで変更された後、
プログラムやデータを記録した記録媒体を配布したり、
通信したりして、制御システム1の使用者の元に届けら
れ、上記記憶部72に格納される。
In the control program and the control data, the system program and the application program are changed by the protocol program or the application program.
Distribute recording media recording programs and data,
The information is transmitted to the user of the control system 1 through communication or the like, and is stored in the storage unit 72.

【0035】さらに、上記システム管理部64には、記
憶部72に格納された制御用プログラムや制御用データ
を、いずれのプログラマブル表示器4に送信するかを管
理する送信先管理部73と、送信した制御用プログラム
または制御用データが各プログラマブル表示器4の記憶
部44へ正常に書き込まれたか否かを確認する書き込み
確認部74とが設けられている。
Further, the system management section 64 includes a destination management section 73 for managing to which programmable display 4 the control program and control data stored in the storage section 72 are to be transmitted. And a write confirmation unit 74 for confirming whether or not the control program or the control data thus written is normally written to the storage unit 44 of each programmable display 4.

【0036】上記送信先管理部73は、制御用プログラ
ムまたは制御用データを各プログラマブル表示器4に送
信する際、それぞれへ伝送するデータ列のうち、複数の
送信先へのデータ列に共通部分があれば、当該複数の送
信先に当該共通部分をマルチキャストまたはブロードキ
ャストするように、サーバ部63に指示できる。これに
より、複数のプログラマブル表示器4へ同時にデータ列
を伝送できるため、LAN5の占有時間や伝送時間を大
幅に短縮できる。
When transmitting the control program or the control data to each programmable display 4, the transmission destination management unit 73 determines, among the data sequences to be transmitted to each of them, a common part in the data sequence to a plurality of transmission destinations. If so, the server unit 63 can be instructed to multicast or broadcast the common part to the plurality of destinations. As a result, since a data string can be transmitted to a plurality of programmable displays 4 at the same time, the occupation time and transmission time of the LAN 5 can be greatly reduced.

【0037】なお、各プログラマブル表示器4へのデー
タ列を逐次比較して共通部分を抽出すると、共通部分と
非共通部分との境界が送信先やデータ列毎に変化するた
め、共通部分と非共通部分とを分けて伝送した後、合成
する際の演算量が増大する虞れがある。また、共通部分
が小さいと、短縮される伝送時間よりも合成時間の増大
分の方が長くなる虞れがある。したがって、本実施形態
に係る送信先管理部73は、複数ファイルから構成され
る制御用プログラムや制御用データを、ファイル単位で
比較して、複数の送信先へ同じファイルを伝送するか否
かを判定し、同じファイルがあれば、当該ファイルをマ
ルチキャストまたはブロードキャストしている。
When the data sequence to each programmable display 4 is successively compared and a common portion is extracted, the boundary between the common portion and the non-common portion changes for each transmission destination or data sequence. After transmitting the common part separately, there is a possibility that the amount of calculation when combining is increased. Further, when the common portion is small, there is a possibility that the increase in the synthesis time is longer than the shortened transmission time. Therefore, the destination management unit 73 according to the present embodiment compares the control program and control data composed of a plurality of files in file units, and determines whether to transmit the same file to a plurality of destinations. It is determined that if the same file exists, the file is multicast or broadcast.

【0038】また、上記送信先管理部73は、データ列
が共通していない場合、各プログラマブル表示器4へデ
ータ列を順次送信すると共に、各プログラマブル表示器
4から、書き込み成功が報告される前であっても、ある
プログラマブル表示器4へのデータ列の送信が終了する
と次のプログラマブル表示器4へデータ列を送信するよ
うに、サーバ部63へ指示できる。これにより、書き込
み成功報告を待って、次のプログラマブル表示器4へデ
ータ列を伝送する構成よりも、処理全体の所要時間、す
なわち、最初のプログラマブル表示器4へデータ列の送
信を開始した時点から、全てのプログラマブル表示器4
から書き込み成功報告を受け取る時点までの時間を短縮
できる。
When the data strings are not common, the transmission destination management unit 73 sequentially transmits the data strings to the respective programmable displays 4 and before the programmable displays 4 report the writing success. However, when the transmission of the data sequence to a certain programmable display device 4 is completed, the server unit 63 can be instructed to transmit the data sequence to the next programmable display device 4. Thus, the time required for the entire process, that is, from the time when the transmission of the data sequence to the first programmable display device 4 is started, is shorter than the configuration in which the data sequence is transmitted to the next programmable display device 4 after waiting for the writing success report. , All programmable displays 4
From the time when the write success report is received.

【0039】一方、書き込み確認部74は、サーバ部6
3を介して、各プログラマブル表示器4からの報告を受
け取ると、当該報告に基づいて、それぞれが書き込みに
成功したか否かを判定する。さらに、全てのプログラマ
ブル表示器4にて書き込みに成功したことが確認される
と、例えば、各プログラマブル表示器4へ制御用プログ
ラムの実行を指示するなどして、通常の制御動作へ復帰
させる。また、例えば、データ列の伝送後に停電した場
合など、予め定められたタイムアウト時間が経過して
も、プログラマブル表示器4から書き込みの成功が報告
されない場合、例えば、送信先管理部73に再度データ
列を伝送させるなど、予め定められたエラー処理を行う
ことができる。
On the other hand, the write confirmation section 74 is
When a report from each programmable display 4 is received via 3, based on the report, it is determined whether or not each has been successfully written. Further, when it is confirmed that the writing has been successfully performed on all the programmable displays 4, for example, the execution of the control program is instructed to each programmable display 4 to return to the normal control operation. Further, for example, when the programmable display 4 does not report the success of the writing even after a predetermined time-out time elapses, for example, when a power failure occurs after transmission of the data sequence, for example, the data sequence is transmitted to the transmission destination management unit 73 again. For example, a predetermined error process can be performed.

【0040】また、本実施形態に係るLAN5がイーサ
ネットなので、制御用ホストコンピュータ6は、上記プ
ログラマブル表示器4と同様に、MACアドレス記憶部
62aおよびIPアドレス記憶部62bを備えており、
共通プロトコルIF部62は、これらに格納されたMA
CアドレスおよびIPアドレスを参照し、TCP/IP
プロトコルで通信する。ただし、制御用ホストコンピュ
ータ6は、汎用のコンピュータを流用可能で、多くの場
合、製造元がプログラマブル表示器4と異なっているの
で、MACアドレス記憶部62aに格納されているMA
CアドレスのベンダIDは、プログラマブル表示器4の
ベンダIDとは異なっている。
Since the LAN 5 according to the present embodiment is an Ethernet, the control host computer 6 includes a MAC address storage unit 62a and an IP address storage unit 62b, like the programmable display device 4.
The common protocol IF unit 62 stores the MA
C / IP address and TCP / IP
Communicate by protocol. However, since the control host computer 6 can use a general-purpose computer, and in many cases, the manufacturer is different from the programmable display 4, the control host computer 6 stores the MA stored in the MAC address storage unit 62a.
The vendor ID of the C address is different from the vendor ID of the programmable display 4.

【0041】さらに、制御用ホストコンピュータ6に
は、MACアドレス記憶部62aを参照して、自機器の
IPアドレスを生成し、IPアドレス記憶部62bに格
納するアドレス設定部65が設けられている。当該アド
レス設定部65も、プログラマブル表示器4のアドレス
設定部46と同様に、自機器のMACアドレスのうち、
下位32ビットを抜き出して、自機器のIPアドレスと
して設定する。ただし、本実施形態に係る制御システム
1では、生成したIPアドレスが重複していた場合、プ
ログラマブル表示器4のアドレス設定部46が自機器の
IPアドレスを変更して重複を避ける。したがって、制
御用ホストコンピュータ6のアドレス設定部65は、生
成したIPアドレスをそのままIPアドレス記憶部62
bに格納する。
Further, the control host computer 6 is provided with an address setting section 65 for generating an IP address of the own device with reference to the MAC address storage section 62a and storing the generated IP address in the IP address storage section 62b. Similarly to the address setting unit 46 of the programmable display 4, the address setting unit 65 includes, among the MAC addresses of its own device,
The lower 32 bits are extracted and set as the IP address of the own device. However, in the control system 1 according to the present embodiment, when the generated IP addresses are duplicated, the address setting unit 46 of the programmable display 4 changes the IP address of its own device to avoid duplication. Therefore, the address setting unit 65 of the control host computer 6 stores the generated IP address as it is in the IP address storage unit 62.
b.

【0042】なお、上記各部材41〜46、61〜74
は、ハードウェアのみで実現することもできるが、本実
施形態では、CPUなどの演算手段が、ROMやRAM
などの記憶手段に格納されたプログラムを実行し、タッ
チパネルや液晶表示装置などの入出力手段、あるいは、
インターフェース回路などの通信回路を制御することに
よって実現される機能ブロックとして実装されている。
したがって、これらの手段を有するコンピュータが、上
記プログラムを記録した記録媒体(例えば、CD−RO
Mなど)を読み取り、当該プログラムを実行するだけ
で、本実施形態に係るプログラマブル表示器4および制
御用ホストコンピュータ6を実現できる。なお、例え
ば、シリアルケーブルやLAN5、あるいは、例えば、
インターネットなどの他の通信路を介して、プログラム
をダウンロードするためのプログラムが、上記コンピュ
ータに予めインストールされていれば、当該通信路を介
して、上記コンピュータへ上記プログラムを配付するこ
ともできる。
The above members 41 to 46, 61 to 74
Can be realized only by hardware, but in the present embodiment, the arithmetic means such as the CPU
Executing a program stored in storage means such as a touch panel, an input / output means such as a liquid crystal display device, or
It is implemented as a functional block realized by controlling a communication circuit such as an interface circuit.
Therefore, a computer having these means can store the program on a recording medium (for example, CD-RO).
M and the like, and only by executing the program, the programmable display 4 and the control host computer 6 according to the present embodiment can be realized. In addition, for example, a serial cable, LAN5, or, for example,
If a program for downloading a program via another communication path such as the Internet is installed in the computer in advance, the program can be distributed to the computer via the communication path.

【0043】上記構成において、制御用ホストコンピュ
ータ6が制御用プログラムあるいは制御用データを送信
する場合の各部動作について、図4ないし図7に基づき
説明すると、以下の通りである。例えば、制御用プログ
ラムが更新された場合など、制御用データあるいは制御
用データを送信する際、例えば、使用者の操作などによ
って、送信が指示されると、制御用ホストコンピュータ
6の送信先管理部73は、図4に示すステップ1(以下
ではS1のように略称する)において、サーバ部63へ
指示して、各プログラマブル表示器4へIPアドレスの
設定を指示するためのデータグラムを、LAN5にブロ
ードキャスト(一斉同報)させる。
The operation of each unit when the control host computer 6 transmits a control program or control data in the above configuration will be described below with reference to FIGS. For example, when transmitting the control data or the control data, for example, when the control program is updated, when the transmission is instructed by, for example, a user operation, the transmission destination management unit of the control host computer 6. At step 1 (hereinafter abbreviated as S1) 73 shown in FIG. 4, a datagram for instructing the server unit 63 to instruct each programmable display 4 to set an IP address is transmitted to the LAN 5. Broadcast (broadcast).

【0044】ここで、共通プロトコルIF部62は、T
CP/IPプロトコルで通信しているため、上記データ
グラムには、送信元アドレスとして、制御用ホストコン
ピュータ6のIPアドレスが含まれている。また、上記
データグラムがブロードキャストされると、各プログラ
マブル表示器4は、自らのIPアドレスに拘らず、当該
データグラムを受け取る。これらの結果、制御用ホスト
コンピュータ6は、各プログラマブル表示器4のIPア
ドレスを知らなくても、各プログラマブル表示器4へ、
制御用ホストコンピュータ6のIPアドレスを通知でき
る。
Here, the common protocol IF unit 62
Since the communication is performed by the CP / IP protocol, the datagram contains the IP address of the control host computer 6 as the source address. When the datagram is broadcast, each programmable display 4 receives the datagram regardless of its own IP address. As a result, the control host computer 6 sends each programmable display 4 to each programmable display 4 without knowing the IP address of each programmable display 4.
The IP address of the control host computer 6 can be notified.

【0045】一方、S2において、各プログラマブル表
示器4の共通プロトコルIF部42は、上記データグラ
ムを受け取ると、アドレス設定部46へIPアドレスの
設定を指示する。これに応じて、アドレス設定部46
は、自機器のMACアドレスからIPアドレスを自動生
成する。
On the other hand, in S2, upon receiving the datagram, the common protocol IF unit 42 of each programmable display 4 instructs the address setting unit 46 to set an IP address. In response, the address setting unit 46
Automatically generates an IP address from the MAC address of the own device.

【0046】具体的には、図5に示すS11において、
アドレス設定部46は、IPアドレス記憶部42bの領
域A1へ、自機器のMACアドレスのうち、シリアル番
号を格納する。また、アドレス設定部46は、S12に
おいて、IPアドレス記憶部42bの領域A2へ、自機
器のベンダIDの下位8ビットを格納する。さらに、上
記S11およびS12で設定されたIPアドレスが、図
4のS1で送信された制御用ホストコンピュータ6のI
Pアドレスと一致した場合(S13にて、YESの場
合)、IPアドレス記憶部42bの領域A2の値を変更
して調整する(S14)。なお、一致していない場合、
領域A2の値は変更されない。したがって、各プログラ
マブル表示器4は、自機器のIPアドレスを決定する
際、他のプログラマブル表示器4と通信していないにも
拘らず、LAN5で一意のIPアドレスを設定できる。
Specifically, in S11 shown in FIG.
The address setting unit 46 stores the serial number of its own MAC address in the area A1 of the IP address storage unit 42b. In step S12, the address setting unit 46 stores the lower 8 bits of the vendor ID of the own device in the area A2 of the IP address storage unit 42b. Further, the IP address set in S11 and S12 is the same as the IP address of the control host computer 6 transmitted in S1 of FIG.
If it matches the P address (YES in S13), the value of the area A2 in the IP address storage unit 42b is changed and adjusted (S14). If they do not match,
The value of the area A2 is not changed. Therefore, when determining the IP address of the own device, each programmable display 4 can set a unique IP address on the LAN 5 even though it is not communicating with another programmable display 4.

【0047】なお、例えば、制御用ホストコンピュータ
6からの指示に応じて印刷するネットワークプリンタな
ど、アドレス設定部46を持たない機器がLAN5に接
続されている場合、当該機器のIPアドレスは、ユーザ
の指示に応じて、各プログラマブル表示器4や制御用表
示装置のアドレス設定部46・65が設定できない値と
なるように設定される。
When a device that does not have the address setting unit 46, such as a network printer that prints in response to an instruction from the control host computer 6, is connected to the LAN 5, the IP address of the device is set to the user's IP address. In accordance with the instruction, the values are set so that the values cannot be set by the address setting sections 46 and 65 of each programmable display 4 and the control display device.

【0048】上記S2(S11〜S14)にて、各プロ
グラマブル表示器4のIPアドレス記憶部42bに、そ
れぞれのIPアドレスが格納されると、各プログラマブ
ル表示器4の共通プロトコルIF部42は、図4に示す
S3において、IPアドレスが設定されたことを示すデ
ータグラムをブロードキャストして、制御用ホストコン
ピュータ6へ、自機器のIPアドレスを通知する。な
お、ブロードキャストの代わりに、上記S1にて通知さ
れた制御用ホストコンピュータ6のIPアドレスへデー
タグラムを送信してもよい。
In S2 (S11 to S14), when the respective IP addresses are stored in the IP address storage section 42b of each programmable display 4, the common protocol IF section 42 of each programmable display 4 In S3 shown in FIG. 4, a datagram indicating that an IP address has been set is broadcast, and the control host computer 6 is notified of its own IP address. Instead of the broadcast, the datagram may be transmitted to the IP address of the control host computer 6 notified in S1.

【0049】一方、制御用ホストコンピュータ6の送信
先管理部73は、各プログラマブル表示器4から、それ
ぞれのIPアドレスが通知されると、S4において、例
えば、各プログラマブル表示器4の名称を表示するなど
して、使用者に送信先の選択を促す。当該名称として
は、プログラマブル表示器4の機種名や、例えば、”ラ
イン1用プログラマブル表示器”のようなニックネーム
などが挙げられる。なお、各プログラマブル表示器4の
名称は、各プログラマブル表示器4に予め格納されてお
り、制御用ホストコンピュータ6は、例えば、上記S3
にて取得したIPアドレスに基づいて、各プログラマブ
ル表示器4と通信するなどして取得してもよい。また、
上記S3にて、各プログラマブル表示器4により送信さ
れるデータグラムが、それぞれの名称を含んでいれば、
当該データグラムから抽出して取得してもよい。この場
合は、データグラム送信後に通信する必要がないので、
LAN5を流れるデータ量を削減できると共に、取得に
要する時間を短縮できる。
On the other hand, when receiving the respective IP addresses from the respective programmable displays 4, the transmission destination manager 73 of the control host computer 6 displays, for example, the names of the respective programmable displays 4 in S4. For example, the user is prompted to select a transmission destination. Examples of the name include a model name of the programmable display 4 and a nickname such as “programmable display for line 1”. The name of each programmable display 4 is stored in advance in each programmable display 4, and the control host computer 6 executes, for example, S3
And may be obtained by communicating with each programmable display 4 based on the IP address obtained in. Also,
In the above S3, if the datagram transmitted by each programmable display 4 includes the respective name,
It may be extracted and acquired from the datagram. In this case, there is no need to communicate after sending the datagram,
The amount of data flowing through the LAN 5 can be reduced, and the time required for acquisition can be reduced.

【0050】上記S4にて、使用者が送信先のプログラ
マブル表示器4を選択すると、送信先管理部73は、S
5において、サーバ部63へ指示して、選択された各プ
ログラマブル表示器4へ制御用プログラムまたは制御用
データを送信し、各プログラマブル表示器4は、S6に
おいて、それぞれの記憶部44へ、制御用プログラムま
たは制御用データを書き込む。さらに、S7において、
制御用ホストコンピュータ6の書き込み確認部74が、
各プログラマブル表示器4から、書き込み成功報告を受
け取ると、上記S1からS7の書き込み処理が終了す
る。
When the user selects the destination programmable display 4 in S4, the destination management unit 73 sets
In step S5, the program is instructed to the server unit 63 to transmit a control program or control data to each of the selected programmable displays 4. In step S6, each programmable display 4 sends the control program or control data to the corresponding storage unit 44. Write the program or control data. Further, in S7,
The write confirmation unit 74 of the control host computer 6
When a write success report is received from each programmable display 4, the above-described write processing of S1 to S7 ends.

【0051】上記S5ないしS7の処理が行われるタイ
ミングについて詳細に説明すると、例えば、制御用プロ
グラムのうちのシステムプログラムが更新された場合な
ど、各プログラマブル表示器4へ制御用プログラムまた
は制御用データを送信する際、それぞれへ伝送するデー
タ列が共通の場合、送信先管理部73は、図6に示すよ
うに、各プログラマブル表示器4へデータ列を同時転送
させる(t1〜t2の期間)。
The timing at which the processes of S5 to S7 are performed will be described in detail. For example, when the system program of the control program is updated, the control program or the control data is transmitted to each programmable display 4. At the time of transmission, if the data string to be transmitted to each is common, the destination management unit 73 causes the data strings to be simultaneously transferred to each programmable display 4 as shown in FIG. 6 (period t1 to t2).

【0052】ここで、LAN5では、送信先をIPアド
レスで識別しており、受信側の機器は、LAN5を流れ
るデータ列のうち、自機器のIPアドレスを送信先とす
るデータグラムを受け取る。したがって、上記管理部7
3がサーバ部63へブロードキャストやマルチキャスト
を指示すれば、制御用ホストコンピュータ6の共通プロ
トコルIF部62が単一のコネクタでLAN5に接続さ
れ、制御用ホストコンピュータ6から各プログラマブル
表示器4までの通信路の少なくとも一部が各プログラマ
ブル表示器4間で共用されているにも拘らず、制御用ホ
ストコンピュータ6は、各プログラマブル表示器4へデ
ータ列を同時転送できる。
Here, in the LAN 5, the transmission destination is identified by the IP address, and the device on the receiving side receives the datagram having the IP address of the own device as the transmission destination in the data stream flowing through the LAN 5. Therefore, the management unit 7
3 instructs the server unit 63 to broadcast or multicast, the common protocol IF unit 62 of the control host computer 6 is connected to the LAN 5 by a single connector, and communication from the control host computer 6 to each programmable display 4 is performed. Although at least part of the path is shared between the programmable displays 4, the control host computer 6 can simultaneously transfer a data string to each programmable display 4.

【0053】一方、各プログラマブル表示器4は、自機
器宛のデータ列を受け取ると、当該データ列を、それぞ
れの記憶部44に書き込む(t2〜t3の期間)。さら
に、プログラマブル表示器4は、データ列が記憶部44
へ正常に書き込まれると、制御用ホストコンピュータ6
に書き込み成功を報告する。ただし、書き込み成功を示
すデータが含まれたデータグラムは、各プログラマブル
表示器4を送信元として、制御用ホストコンピュータ6
を送信先としているため、LAN5上を同時には転送で
きない。したがって、各プログラマブル表示器4からの
書き込み成功報告は、制御用ホストコンピュータ6へ順
次送信される(t3〜t4の期間)。
On the other hand, when each programmable display device 4 receives the data string addressed to itself, it writes the data string into the respective storage section 44 (period t2 to t3). Further, the programmable display 4 stores the data string in the storage unit 44.
When the data is normally written to the control host computer 6,
Report successful write to. However, the datagram containing the data indicating the successful writing is transmitted to the control host computer 6 from each programmable display 4 as a transmission source.
Cannot be transferred on the LAN 5 at the same time. Therefore, the write success report from each programmable display 4 is sequentially transmitted to the control host computer 6 (period from t3 to t4).

【0054】さらに、制御用ホストコンピュータ6の書
き込み確認部74は、順次転送される書き込み成功報告
を受け取り、データ列を送信した全てのプログラマブル
表示器4で正常に書き込みが終了したことを確認すると
(t4の時点)、処理を終了する。一方、例えば、デー
タ列転送後の停電などによって、データ列の転送を終了
してから、予め定められたタイムアウト時間が経過して
も、書き込み成功報告を受け取ることができなかった場
合、書き込み確認部74は、使用者に報告したり、再
度、データ列を送信するなど、予め定められたエラー処
理を実行する。なお、図6の例では、データ列を同時転
送し、書き込み成功報告を順次転送するため、上記タイ
ムアウト時間は、書き込み成功報告の所要時間×転送し
たプログラマブル表示器4の数+書き込みの所要時間を
超える値に設定される。
Further, the write confirmation section 74 of the control host computer 6 receives the sequentially transmitted write success reports and confirms that all the programmable displays 4 that have transmitted the data sequence have completed the write normally ( At the point of time t4), the process ends. On the other hand, if a write success report cannot be received even after a predetermined time-out period has elapsed since the data string transfer was terminated due to, for example, a power failure after the data string transfer, the write confirmation unit 74 performs a predetermined error process such as reporting to the user or transmitting a data string again. In the example of FIG. 6, since the data string is simultaneously transferred and the write success report is sequentially transferred, the timeout time is the required time of the write success report x the number of transferred programmable displays 4 + the required time of the write. Set to a value that exceeds.

【0055】一方、互いに異なる表示/制御動作を行う
プログラマブル表示器4へ画面データを送信する場合な
ど、各プログラマブル表示器4へ送信するデータ列が互
いに異なっている場合、送信先管理部73は、図7に示
すように、あるプログラマブル表示器4へのデータ転送
が終了した後、書き込み成功報告を待たずに、次のプロ
グラマブル表示器4へデータ転送するように、サーバ部
63へ指示する。この場合、t11〜t12の期間にお
いて、1台目のプログラマブル表示器4へデータ列が送
信されると、t12〜t13までの期間において、1台
目のプログラマブル表示器4にて、当該データ列が記憶
部44に格納され、t13〜t14までの期間におい
て、当該プログラマブル表示器4から書き込み成功報告
が制御用ホストコンピュータ6に通知される。一方、制
御用ホストコンピュータ6は、1台目のプログラマブル
表示器4へのデータ列転送が終了すると(t12および
t21の時点)、2台目のプログラマブル表示器4へデ
ータ列を転送する(t21〜t22の期間)。さらに、
2台目のプログラマブル表示器4は、データ列を記憶部
44に書き込んだ後、書き込み成功報告を通知する。
On the other hand, when the data strings to be transmitted to the respective programmable displays 4 are different from each other, for example, when the screen data is transmitted to the programmable displays 4 which perform different display / control operations, the transmission destination management unit 73 As shown in FIG. 7, after the data transfer to a certain programmable display 4 is completed, the server unit 63 is instructed to transfer the data to the next programmable display 4 without waiting for a write success report. In this case, when the data sequence is transmitted to the first programmable display 4 during the period from t11 to t12, the data sequence is transmitted to the first programmable display 4 during the period from t12 to t13. The program is stored in the storage unit 44, and a write success report is sent from the programmable display 4 to the control host computer 6 during a period from t13 to t14. On the other hand, when the transfer of the data sequence to the first programmable display device 4 is completed (at time t12 and t21), the control host computer 6 transfers the data sequence to the second programmable display device 4 (t21 to t21). t22). further,
After writing the data string to the storage unit 44, the second programmable display 4 notifies a write success report.

【0056】なお、例えば、ランタイムのようなアプリ
ケーションプログラムと、画面データとを送信する場合
のように、送信する制御用プログラムや制御用データ
に、複数のプログラマブル表示器4間で共通の部分と、
各プログラマブル表示器4毎に異なる部分とがある場合
は、送信先管理部73は、共通の部分を図6のタイミン
グで送信させると共に、非共通部分を図7のタイミング
で送信させる。
For example, as in the case of transmitting an application program such as a runtime and screen data, a control program or control data to be transmitted includes a common part between a plurality of programmable displays 4,
If there is a different part for each programmable display 4, the destination management unit 73 causes the common part to be transmitted at the timing of FIG. 6 and the non-common part to be transmitted at the timing of FIG.

【0057】ここで、比較例として、単一のプログラマ
ブル表示器4へ制御用プログラムや制御用データを書き
込む場合と同様に、あるプログラマブル表示器4へデー
タ列を転送し、当該プログラマブル表示器4から書き込
み成功報告を受け取った後で、次のプログラマブル表示
器4の処理を開始する構成では、図8に示すように、処
理が行われる。この場合は、データ列転送に要する時間
をTt、記憶部44への書き込みに要する時間をTw、
書き込み成功報告に要する時間をTrとすると、n台の
プログラマブル表示器4のそれぞれに制御用プログラム
や制御用データを書き込む際に必要な時間(処理全体の
所要時間)Tは、(Tt+Tw+Tr)・nとなる。こ
こで、プログラマブル表示器4では、記憶部44の記録
媒体として、不揮発性半導体メモリを用いているため、
書き込み時間Twが長い。したがって、書き込むプログ
ラマブル表示器4が多くなればなる程、処理全体の所要
時間Tが急峻に増加してしまう。
Here, as a comparative example, similarly to the case where a control program and control data are written to a single programmable display 4, a data string is transferred to a certain programmable display 4 and In the configuration in which the processing of the next programmable display 4 is started after receiving the writing success report, the processing is performed as shown in FIG. In this case, the time required for data string transfer is Tt, the time required for writing to the storage unit 44 is Tw,
Assuming that the time required for the writing success report is Tr, the time T required for writing the control program and the control data to each of the n programmable displays 4 (the time required for the entire processing) T is (Tt + Tw + Tr) · n Becomes Here, in the programmable display 4, since a nonvolatile semiconductor memory is used as a recording medium of the storage unit 44,
The writing time Tw is long. Therefore, as the number of programmable displays 4 to be written increases, the required time T of the entire process increases steeply.

【0058】特に、制御システム1では、プログラマブ
ル表示器4の数が多く、しかも、例えば、制御用プログ
ラムのシステムプログラムの更新時など、各プログラマ
ブル表示器4の更新時期が略一致していることが多い。
また、制御システム1では、動作停止が事故や業績の悪
化に直結するため、OA機器などに比べて、不慮の動作
停止を防ぐ必要があり、仮に動作停止が避けられない場
合であっても、一刻も早い復旧が要求される。これらの
結果、上記所要時間Tの増大による損害は、極めて大き
くなってしまう。
In particular, in the control system 1, the number of the programmable displays 4 is large, and the update times of the programmable displays 4 substantially coincide with each other, for example, when the system program of the control program is updated. Many.
Further, in the control system 1, since the operation stop is directly linked to an accident or a deterioration in business performance, it is necessary to prevent an unexpected operation stop compared to OA equipment, and even if the operation stop cannot be avoided, Immediate recovery is required. As a result, the damage caused by the increase in the required time T becomes extremely large.

【0059】これに対して、本実施形態に係る制御シス
テム1では、各プログラマブル表示器4へ送信するデー
タ列が互いに異なっている場合であっても、図7に示す
ように、制御用ホストコンピュータ6が、あるプログラ
マブル表示器4へのデータ列転送を終了した時点で、次
のプログラマブル表示器4へのデータ列転送を開始す
る。この結果、あるプログラマブル表示器4におけるデ
ータ列の書き込み期間が、次のプログラマブル表示器4
へのデータ列転送期間とオーバーラップする。したがっ
て、劣悪な環境下で正常に動作できるように、記憶部4
4の記録媒体として、不揮発性半導体メモリを用いた結
果、データ列の転送時間に比べて、データ列の書き込み
時間が長くなっているにも拘らず、処理全体の所要時間
Tは、n・Ts+Tw+Trに抑えられ、所要時間Tの
増大による損害を低減できる。
On the other hand, in the control system 1 according to the present embodiment, even if the data strings transmitted to the respective programmable displays 4 are different from each other, as shown in FIG. 6 completes the transfer of the data string to a certain programmable display 4, and starts the transfer of the data string to the next programmable display 4. As a result, the writing period of the data string in a certain programmable display 4 is changed to the next programmable display 4
Overlaps with the data string transfer period. Therefore, the storage unit 4 can be operated normally in a poor environment.
As a result of using a non-volatile semiconductor memory as the recording medium of No. 4, despite the fact that the write time of the data string is longer than the transfer time of the data string, the required time T of the entire process is n · Ts + Tw + Tr And the damage caused by the increase in the required time T can be reduced.

【0060】上記構成では、各プログラマブル表示器4
が制御用ホストコンピュータ6からの指示に応じて、自
機器のIPアドレスとして、LAN5でユニークな値を
生成している。したがって、LAN5上をTCP/IP
プロトコルで高速通信しているにも拘らず、制御システ
ム1のユーザがIPアドレスを設定することなく、制御
用ホストコンピュータ6および各プログラマブル表示器
4のIPアドレスを設定でき、ユーザの手間を削減でき
る。
In the above configuration, each programmable display 4
Generates a unique value on the LAN 5 as the IP address of the own device in response to an instruction from the control host computer 6. Therefore, TCP / IP on LAN5
Despite the high-speed communication using the protocol, the user of the control system 1 can set the IP address of the control host computer 6 and each programmable display 4 without setting the IP address, thereby reducing the user's labor. .

【0061】なお、例えば、プログラマブル表示器4や
制御用ホストコンピュータ6とは異なる機器がLAN5
に多く接続されるようになり、各プログラマブル表示器
4のIPアドレスをユーザが設定する場合に備えて、上
記アドレス設定部46・62は、動作/動作停止を選択
できる方が望ましい。これにより、ユーザがネットワー
クに慣れていない時点では、上記アドレス設定部46・
62がプログラマブル表示器4や制御用ホストコンピュ
ータ6のIPアドレスを自動設定すると共に、ネットワ
ークに慣れてくると、ユーザの指示に応じたIPアドレ
スを設定できる。この場合、動作/動作停止の前後に拘
らず、LAN5がTCP/IPプロトコルで通信してい
るため、制御用ホストコンピュータ6やプログラマブル
表示器4の通信プログラムを変更する必要がない。した
がって、ネットワーク構成の規模の発展が見込まれる場
合、より早い時点から、TCP/IPプロトコルで通信
する管理プログラムを使用できる。
It is to be noted that, for example, a device different from the programmable display 4 and the control host computer 6 is a LAN 5
It is desirable that the address setting units 46 and 62 can select operation / stop of operation in case that the user sets the IP address of each programmable display 4. Thereby, when the user is not used to the network, the address setting unit 46.
62 automatically sets the IP address of the programmable display 4 and the control host computer 6, and when the user becomes accustomed to the network, can set the IP address according to the user's instruction. In this case, regardless of before and after the operation / stop of the operation, since the LAN 5 communicates by the TCP / IP protocol, there is no need to change the communication program of the control host computer 6 or the programmable display 4. Therefore, when the scale of the network configuration is expected to expand, a management program that communicates using the TCP / IP protocol can be used from an earlier point in time.

【0062】また、本実施形態では、送信先のプログラ
マブル表示器4の選択を促す際にも、プログラマブル表
示器4の名称を提示している。したがって、数字の羅列
からなるIPアドレスを、制御システム1のユーザから
隠すことができる。この結果、ネットワークに慣れてい
ないユーザに親しみやすい制御システム1を実現でき
る。
In the present embodiment, the name of the programmable display 4 is also presented when prompting the user to select the programmable display 4 to be transmitted. Therefore, the IP address composed of a series of numbers can be hidden from the user of the control system 1. As a result, it is possible to realize the control system 1 that is easy for a user who is not used to the network to be familiar with.

【0063】なお、上記の説明では、制御システム1内
のプログラマブル表示器4が互いに同一のベンダIDを
有し、それぞれのアドレス設定部46が自機器のベンダ
IDの一部(下位8ビット)をIPアドレスの領域A2
に設定する場合を例にして説明したが、これに限るもの
ではない。互いに同一のベンダIDの場合は、予め定め
られた特定の値に設定しても同様の効果が得られる。特
に、特定の値として、”10”を選択すると、プログラマ
ブル表示器4が生成するネットワークアドレスは、プラ
イベートアドレス(10.xx.xx.xx )となる。この結果、
制御システム1にルータなどのネットワーク間接続装置
が設けられていたとしても、当該ネットワーク間接続装
置に特別な設定をすることなく、LAN5内で伝送され
るパケットのLAN5外への流出を防止できる。
In the above description, the programmable displays 4 in the control system 1 have the same vendor ID, and each address setting section 46 has a part (lower 8 bits) of the vendor ID of its own device. IP address area A2
Has been described as an example, but is not limited to this. In the case of the same vendor ID, the same effect can be obtained even if it is set to a predetermined specific value. In particular, when "10" is selected as a specific value, the network address generated by the programmable display 4 is a private address (10.xx.xx.xx). As a result,
Even if the control system 1 is provided with an inter-network connecting device such as a router, it is possible to prevent a packet transmitted in the LAN 5 from flowing out of the LAN 5 without special setting for the inter-network connecting device.

【0064】また、プログラマブル表示器4のベンダI
Dが互いに異なる場合であっても、各プログラマブル表
示器4のベンダIDが予め定められたベンダID群に含
まれ、当該ベンダID群内のベンダIDの数が、上記領
域A2に設定可能な数よりも少なければ、各プログラマ
ブル表示器4のアドレス設定部46が自機器のベンダI
Dに応じた値を領域A2に設定すればよい。この場合
は、アドレス設定部46は、自機器のベンダIDに応じ
た値が予め格納された記憶領域を参照したり、上記ベン
ダID群のベンダIDと設定値との対応表を予め格納し
ておき、当該対応表を参照するなどして、自機器とは異
なるベンダIDのプログラマブル表示器4に設けられた
アドレス設定部46が設定する値と異なる値を設定すれ
ば、本実施形態と同様に、LAN5でユニークな値を設
定できる。なお、この場合であっても、当該ベンダID
群内のベンダIDの数が上記領域A2に設定可能な数よ
りも少ないので、領域A2の値を調整する際、ベンダI
Dのいずれとも対応していない値に調整できる。
The vendor I of the programmable display 4
Even if D is different from each other, the vendor ID of each programmable display 4 is included in the predetermined vendor ID group, and the number of vendor IDs in the vendor ID group is the number that can be set in the area A2. If the number is smaller than the address, the address setting unit 46 of each programmable display 4 checks the vendor I of its own device.
What is necessary is just to set the value according to D in area A2. In this case, the address setting unit 46 refers to a storage area in which a value corresponding to the vendor ID of the own device is stored in advance, or stores in advance a correspondence table between the vendor IDs of the group of vendor IDs and the set values. If a value different from the value set by the address setting unit 46 provided in the programmable display 4 of the vendor ID different from the own device is set by referring to the correspondence table, the same as in the present embodiment. , LAN5, a unique value can be set. Note that even in this case, the vendor ID
Since the number of vendor IDs in the group is smaller than the number that can be set in the area A2, when adjusting the value of the area A2, the vendor I
It can be adjusted to a value that does not correspond to any of D.

【0065】さらに、本実施形態では、領域A1の値
(第1値)と領域A2の値(第2値)とを連結して、I
Pアドレスを作成しているが、これに限るものではな
い。例えば、第1値の各ビットと第2値の各ビットとを
所定の順番で並べて、IPアドレスを生成してもよい。
いずれの導出方法であっても、第1値と第2値との組み
合わせが異なれば、互いに異なる値となるような導出方
法であれば、同様の効果が得られる。また、第1値の値
の導出方法も、自機器のシリアル番号自体を使用する方
法に限るものではなく、シリアル番号に所定の値を加
算、減算したり、シフトやビット毎の論理演算で導出し
てもよい。いずれの導出方法であっても、自機器のシリ
アル番号に応じた値で、しかも、他のシリアル番号に応
じた値とは異なる値となるような導出方法であれば、同
様の効果が得られる。
Further, in the present embodiment, the value of the area A1 (first value) and the value of the area A2 (second value) are connected to form
Although the P address is created, it is not limited to this. For example, the IP address may be generated by arranging each bit of the first value and each bit of the second value in a predetermined order.
Regardless of the derivation method, if the combination of the first value and the second value is different, the same effect can be obtained as long as the derivation method has different values. Further, the method of deriving the first value is not limited to the method of using the serial number itself of the own device, but adding or subtracting a predetermined value to or from the serial number, and deriving the value by shift or logical operation for each bit. May be. Regardless of the derivation method, the same effect can be obtained as long as the derivation method is a value according to the serial number of the own device and a value different from the value according to the other serial number. .

【0066】さらに、本実施形態では、アドレス設定部
46が生成したIPアドレスと、制御用ホストコンピュ
ータ6のIPアドレスとが一致するか否かに基づいて、
第2値を調整するか否かを判定しているが、これに限る
ものではない。例えば、本実施形態の導出方法では、I
Pアドレスのうち領域A2の値が互いに異なっていれ
ば、両IPアドレスが一致する可能性がない。したがっ
て、制御用ホストコンピュータ6のIPアドレスから領
域A2の値を抽出し、アドレス設定部46が導出した領
域A2の値と、上記抽出した値とを比較して、一致する
可能性を判定してもよい。
Further, in the present embodiment, based on whether or not the IP address generated by the address setting unit 46 and the IP address of the control host computer 6 match,
Although it is determined whether to adjust the second value, the present invention is not limited to this. For example, in the derivation method of this embodiment, I
If the values of the area A2 among the P addresses are different from each other, there is no possibility that both IP addresses match. Therefore, the value of the area A2 is extracted from the IP address of the control host computer 6, and the value of the area A2 derived by the address setting unit 46 is compared with the extracted value to determine the possibility of coincidence. Is also good.

【0067】この場合、領域A2の値、すなわち、第2
値のみに基づいて、IPアドレスが一致する可能性を判
定するため、ベンダIDが互いに同一の複数のプログラ
マブル表示器4において、アドレス設定部46が第2値
の調整を調整する虞れがある。ところが、この場合で
も、各プログラマブル表示器4のシリアル番号が互いに
異なっているので、各プログラマブル表示器4は、何ら
支障なく、LAN5でユニークな値を設定できる。
In this case, the value of the area A2, that is, the second
In order to determine the possibility that the IP addresses match based only on the value, the address setting unit 46 may adjust the adjustment of the second value in the plurality of programmable displays 4 having the same vendor ID. However, even in this case, since the serial numbers of the programmable displays 4 are different from each other, each programmable display 4 can set a unique value in the LAN 5 without any problem.

【0068】なお、上記では、制御用プログラムまたは
制御用データを変更可能な部材として、作画処理部71
のみを図示し、制御用プログラムおよび制御用データの
うち、システムプログラムやプロトコルプログラムある
いはアプリケーションプログラムなどは、例えば、プロ
グラマブル表示器4の製造業者などのコンピュータで変
更された後、記録媒体の配布や通信などによって、記憶
部72に格納される場合を示しているが、これらのプロ
グラムを制御用ホストコンピュータ6で変更してもよ
い。
In the above description, the drawing processing unit 71 is used as a member capable of changing the control program or control data.
Only the control program and the control data, such as a system program, a protocol program, or an application program, are changed by a computer such as a manufacturer of the programmable display 4 and then distributed or communicated with a recording medium. Although the case where the program is stored in the storage unit 72 is illustrated by the above, these programs may be changed by the control host computer 6.

【0069】さらに、本実施形態では、イーサネットで
LAN5を構成した場合について説明したが、これに限
るものではない。また、制御システム1を例にして説明
したが、これに限るものでもない。それぞれの製造元を
示すベンダIDと、ローカル・エリア・ネットワークで
一意のネットワークアドレスよりもビット幅の小さなシ
リアル番号との組み合わせからなり、両者の組み合わせ
のビット幅が上記ネットワークアドレスよりも大きなハ
ードウェアアドレスを用いて通信するようなLANに接
続されるネットワーク機器であれば、略同様の効果が得
られる。ただし、制御システムの場合、プログラマブル
表示器4などの制御用表示装置の製造元が限定されてい
ることが多い。また、単一のホストコンピュータと、単
数または複数の制御用表示装置とをLANで接続するこ
とが多い。したがって、ネットワーク機器が制御用表示
装置の場合に、特に適している。
Furthermore, in the present embodiment, the case where the LAN 5 is configured by Ethernet has been described, but the present invention is not limited to this. Further, the control system 1 has been described as an example, but the present invention is not limited to this. It consists of a combination of a vendor ID indicating each manufacturer and a serial number whose bit width is smaller than a unique network address in the local area network. If the network device is connected to a LAN that communicates by using the same, substantially the same effect can be obtained. However, in the case of the control system, the manufacturer of the control display device such as the programmable display 4 is often limited. In addition, a single host computer and one or more control display devices are often connected via a LAN. Therefore, it is particularly suitable when the network device is a control display device.

【0070】[0070]

【発明の効果】請求項1の発明に係るネットワーク機器
は、以上のように、ネットワークアドレスの自己生成指
示を受け取った場合、自機器のハードウェアアドレス記
憶手段を参照して、ネットワークアドレスを自己生成す
るネットワークアドレス生成手段を備え、当該ネットワ
ークアドレス生成手段には、自機器の識別番号に応じた
値で、しかも、他の識別番号に応じた値とは異なる値の
第1値と、自機器のベンダ識別子に応じ、かつ、予め定
められたベンダ識別子群の他のベンダ識別子に応じた値
とは異なる値となるよう予め定められた値の第2値との
組み合わせに基づき、組み合わせが異なれば、互いに異
なる値となるような値に、ネットワークアドレスを設定
するネットワークアドレス設定手段と、上記ネットワー
クアドレス設定手段により設定されるネットワークアド
レスが、上記自己生成指示の送信元を示すネットワーク
アドレスと同じ値になる可能性があると判定した場合、
上記ベンダ識別子群のベンダ識別子に対応する値のいず
れとも異なるよう予め定められた値に上記第2値を変更
するように上記ネットワークアドレス設定手段へ指示す
る第2値調整手段とが設けられている構成である。
As described above, when the network device according to the first aspect of the present invention receives the instruction for self-generation of the network address, the network device generates the network address by referring to the hardware address storage means of the self-device. A first value having a value corresponding to the identification number of the own device and different from a value corresponding to the other identification number, and a first value of the own device. Depending on the vendor identifier, and based on a combination of a predetermined value and a second value of a predetermined value that is different from a value corresponding to another vendor identifier of a predetermined vendor identifier group, if the combination is different, A network address setting means for setting a network address to a value different from each other; If the network address that is set determines that there is a possibility that the same value as the network address indicating the source of the self-generation instruction by,
Second value adjusting means for instructing the network address setting means to change the second value to a predetermined value different from any of the values corresponding to the vendor identifiers of the group of vendor identifiers is provided. Configuration.

【0071】上記構成では、特定のベンダ識別子または
特定のベンダ識別子群のベンダ識別子を有するネットワ
ーク機器と、自己生成指示の送信元とを含むローカル・
エリア・ネットワークにおいて、ローカル・エリア・ネ
ットワークのユーザが特に設定していないにも拘らず、
各ネットワーク機器は、ホストコンピュータからの自己
生成指示を受けた後は、他のネットワーク機器やホスト
コンピュータと通信しなくても、自機器のネットワーク
アドレスとして、当該ローカル・エリア・ネットワーク
でユニークな値を設定できる。この結果、当該ローカル
・エリア・ネットワークを管理する際の手間を大幅に削
減できるという効果を奏する。
In the above configuration, the local equipment including the network device having the specific vendor identifier or the vendor identifier of the specific vendor identifier group and the transmission source of the self-generation instruction are provided.
In the area network, although the user of the local area network does not specifically set,
After receiving a self-generation instruction from the host computer, each network device uses a unique value in the local area network as its own network address without communicating with other network devices or the host computer. Can be set. As a result, there is an effect that the trouble in managing the local area network can be greatly reduced.

【0072】請求項2記載の発明に係るネットワーク機
器は、以上のように、請求項1記載の発明の構成におい
て、上記ネットワーク機器は、制御対象の状態を表示す
る制御用表示装置である構成である。
According to the second aspect of the present invention, as described above, in the configuration of the first aspect of the present invention, the network device is a control display device for displaying a state of a control target. is there.

【0073】ここで、制御用表示装置は、製造元が限ら
れており、制御システムでは、多数の制御用表示装置
と、ホストコンピュータとをローカル・エリア・ネット
ワークで接続することが多い。したがって、制御用表示
装置が上記ネットワーク機器の各手段を備えることで、
制御システムのローカル・エリア・ネットワークを管理
する際の手間を大幅に削減できるという効果を奏する。
Here, manufacturers of the control display devices are limited, and many control display devices are connected to a host computer via a local area network in a control system in many cases. Therefore, by providing the control display device with each means of the network device,
This has the effect of greatly reducing the labor required for managing the local area network of the control system.

【0074】請求項3記載の記録媒体は、以上のよう
に、請求項1記載の各手段として、上記コンピュータを
動作させるためのプログラムが記録されている構成であ
る。
As described above, the recording medium according to the third aspect has a configuration in which a program for operating the computer is recorded as each means according to the first aspect.

【0075】上記構成の記録媒体からプログラムが読み
出され、上記コンピュータにて実行されると、当該コン
ピュータは、請求項1記載のネットワーク機器として動
作する。この結果、請求項1と同様に、特定のベンダ識
別子または特定のベンダ識別子群のベンダ識別子を有す
るネットワーク機器と、自己生成指示の送信元とを含む
ローカル・エリア・ネットワークを管理する際の手間を
大幅に削減できるという効果を奏する。
When a program is read from the recording medium having the above configuration and executed by the computer, the computer operates as the network device according to the first aspect. As a result, similar to the first aspect, the time and effort for managing the local area network including the network device having the specific vendor identifier or the vendor identifier of the specific vendor identifier group and the transmission source of the self-generation instruction are reduced. This has the effect of being able to significantly reduce.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態を示すものであり、制御シ
ステムの要部構成を示すブロック図である。
FIG. 1 illustrates one embodiment of the present invention, and is a block diagram illustrating a main configuration of a control system.

【図2】上記制御システムの各機器の接続関係を示す接
続図である。
FIG. 2 is a connection diagram showing a connection relationship between devices of the control system.

【図3】上記制御システムにて設定されるIPアドレス
と、MACアドレスとの関係を示す説明図である。
FIG. 3 is an explanatory diagram showing a relationship between an IP address set by the control system and a MAC address.

【図4】上記制御システムの動作を示すフローチャート
である。
FIG. 4 is a flowchart showing an operation of the control system.

【図5】上記制御システムの動作を示すものであり、プ
ログラマブル表示器におけるIPアドレス生成動作を詳
細に示すフローチャートである。
FIG. 5 is a flowchart showing an operation of the control system and showing an IP address generation operation in the programmable display device in detail.

【図6】上記制御システムにおいて、各プログラマブル
表示器へ伝送するデータが同一の場合における伝送方法
を示すタイミングチャートである。
FIG. 6 is a timing chart showing a transmission method when the same data is transmitted to each programmable display in the control system.

【図7】上記制御システムにおいて、各プログラマブル
表示器へ伝送するデータが互いに異なる場合における伝
送方法を示すタイミングチャートである。
FIG. 7 is a timing chart showing a transmission method when data transmitted to each programmable display device is different from each other in the control system.

【図8】本発明の比較例を示すものであり、各プログラ
マブル表示器へのデータ伝送方法を示すタイミングチャ
ートである。
FIG. 8 shows a comparative example of the present invention, and is a timing chart showing a method of transmitting data to each programmable display.

【図9】従来例を示すものであり、従来のネットワーク
システムを示す接続図である。
FIG. 9 illustrates a conventional example, and is a connection diagram illustrating a conventional network system.

【符号の説明】[Explanation of symbols]

4 プログラマブル表示器(ネットワーク機器;制御
用表示装置) 5 ローカル・エリア・ネットワーク 42a MACアドレス記憶部(ハードウェアアドレス
記憶手段) 46 アドレス設定部(ネットワークアドレス生成お
よび設定手段;判定手段および第2値調整手段)
Reference Signs List 4 Programmable display device (network device; display device for control) 5 Local area network 42a MAC address storage unit (hardware address storage unit) 46 Address setting unit (network address generation and setting unit; determination unit and second value adjustment means)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】製造元を示すベンダ識別子と、同一ベンダ
識別子の機器同士を区別するための識別番号との組み合
わせからなるハードウェアアドレスが格納されたハード
ウェアアドレス記憶手段を有し、上記識別番号よりもビ
ット幅が広く、伝送されるデータに付されるネットワー
クアドレスに基づいて、データの送信元および送信先を
特定するローカル・エリア・ネットワークに接続可能な
ネットワーク機器において、 上記ローカル・エリア・ネットワークを介して、ネット
ワークアドレスの自己生成指示を受け取った場合、上記
ハードウェアアドレス記憶手段を参照して、自機器のネ
ットワークアドレスを自己生成するネットワークアドレ
ス生成手段を備え、 当該ネットワークアドレス生成手段には、自機器の識別
番号に応じた値で、しかも、他の識別番号に応じた値と
は異なる値の第1値と、自機器のベンダ識別子に応じ、
かつ、予め定められたベンダ識別子群の他のベンダ識別
子に応じた値とは異なる値となるよう予め定められた値
の第2値との組み合わせに基づき、組み合わせが異なれ
ば、互いに異なる値となるような値に、ネットワークア
ドレスを設定するネットワークアドレス設定手段と、 上記ネットワークアドレス設定手段により設定されるネ
ットワークアドレスが、上記自己生成指示の送信元を示
すネットワークアドレスと同じ値になる可能性があるか
否かを判定する判定手段と、 同じ値になる可能性があると判定した場合、上記ベンダ
識別子群のベンダ識別子に対応する値のいずれとも異な
るよう予め定められた値に上記第2値を変更するように
上記ネットワークアドレス設定手段へ指示する第2値調
整手段とが設けられていることを特徴とするネットワー
ク機器。
And a hardware address storing means for storing a hardware address comprising a combination of a vendor identifier indicating a manufacturer and an identification number for distinguishing devices having the same vendor identifier. A network device that has a wide bit width and is connectable to a local area network that specifies a source and a destination of data based on a network address assigned to data to be transmitted; When a self-generation instruction of a network address is received via the hardware address storage unit, the network address generation unit includes a network address generation unit that self-generates a network address of the own device with reference to the hardware address storage unit. Set the value according to the device identification number. Also, a first value of a value different from the value corresponding to the other identification numbers, depending on the vendor identifier of the device,
Further, based on a combination of a predetermined value and a second value of a predetermined value that is different from a value corresponding to another vendor identifier of a predetermined vendor identifier group, if the combination is different, the values are different from each other. Network address setting means for setting a network address to such a value, and whether the network address set by the network address setting means may be the same as the network address indicating the transmission source of the self-generation instruction When determining that there is a possibility that the value may be the same as the determination value, the second value is changed to a predetermined value different from any of the values corresponding to the vendor identifiers of the vendor identifier group. And a second value adjusting means for instructing the network address setting means to perform the setting. Ttowaku equipment.
【請求項2】上記ネットワーク機器は、制御対象の状態
を表示する制御用表示装置であることを特徴とする請求
項1記載のネットワーク機器。
2. The network device according to claim 1, wherein the network device is a control display device for displaying a state of a control target.
【請求項3】製造元を示すベンダ識別子と、同一ベンダ
識別子の機器同士を区別するための識別番号との組み合
わせからなるハードウェアアドレスが格納されたハード
ウェアアドレス記憶手段を有し、上記識別番号よりもビ
ット幅が広く、伝送されるデータに付されるネットワー
クアドレスに基づいて、データの送信元および送信先を
特定するローカル・エリア・ネットワークに接続可能な
コンピュータのネットワークアドレス設定プログラムが
記録された記録媒体であって、 請求項1記載の各手段として、上記コンピュータを動作
させるためのプログラムが記録されていることを特徴と
する記録媒体。
3. A hardware address storing means for storing a hardware address comprising a combination of a vendor identifier indicating a manufacturer and an identification number for distinguishing devices having the same vendor identifier. Recording a computer having a wide bit width and a network address setting program for a computer connectable to a local area network for specifying a source and a destination of data based on a network address assigned to data to be transmitted. A recording medium, characterized in that a program for operating the computer is recorded as each means according to claim 1.
JP2000205674A 2000-07-06 2000-07-06 Network unit, and recording medium for recording its program Pending JP2002026914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000205674A JP2002026914A (en) 2000-07-06 2000-07-06 Network unit, and recording medium for recording its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000205674A JP2002026914A (en) 2000-07-06 2000-07-06 Network unit, and recording medium for recording its program

Publications (1)

Publication Number Publication Date
JP2002026914A true JP2002026914A (en) 2002-01-25

Family

ID=18702719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000205674A Pending JP2002026914A (en) 2000-07-06 2000-07-06 Network unit, and recording medium for recording its program

Country Status (1)

Country Link
JP (1) JP2002026914A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006146839A (en) * 2004-11-25 2006-06-08 Hitachi Ltd System and method for managing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006146839A (en) * 2004-11-25 2006-06-08 Hitachi Ltd System and method for managing device

Similar Documents

Publication Publication Date Title
US11729085B2 (en) Cluster wide packet tracing
US10050859B2 (en) Apparatus for processing network packet using service function chaining and method for controlling the same
US20110305245A1 (en) Network switch
JP2001320393A (en) Line concentration apparatus and network managing device using this
JP2017041747A (en) Information processing device, information processing device control program, control method, and information processing system
JP3516905B2 (en) Host computer, recording medium on which the program is recorded, and control system using the same
US9197557B2 (en) Relay server and relay communication system
JP3618632B2 (en) CONTROL TERMINAL DEVICE, CONTROL SYSTEM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2002026914A (en) Network unit, and recording medium for recording its program
JP3423626B2 (en) Control host computer and recording medium on which the program is recorded
WO2012111745A1 (en) Communication system, switching hub, router, and communication method
JPH01135150A (en) Node address setting system for network
JP5533100B2 (en) Switch, notification program, and notification method
CN114402568B (en) Network system, information processing apparatus, and information processing method
JPH10164113A (en) System, device and method for data communication
CN114070714B (en) Method and device for determining solution information of network equipment configuration problem
WO2022124153A1 (en) Robot control device, robot control system, and robot control method
JP4603088B2 (en) How to build a network
JP7462848B1 (en) PLC system, remote unit, master station, remote unit control method, master station control method, remote unit control program, and master station control program
JP2007157074A (en) Information processor and control method
JP7043896B2 (en) Network control system
JP3777152B2 (en) Programmable controller device
JP3025126B2 (en) Network line setting information management method
JP2008289025A (en) Transmission control system and monitoring control method
JP2003198597A (en) Data communication system, communication terminal device and setting device for communication terminal device