JPH06164676A - Network system - Google Patents

Network system

Info

Publication number
JPH06164676A
JPH06164676A JP4307271A JP30727192A JPH06164676A JP H06164676 A JPH06164676 A JP H06164676A JP 4307271 A JP4307271 A JP 4307271A JP 30727192 A JP30727192 A JP 30727192A JP H06164676 A JPH06164676 A JP H06164676A
Authority
JP
Japan
Prior art keywords
address
network
intelligent device
address information
intelligent
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
JP4307271A
Other languages
Japanese (ja)
Inventor
Kazunori Hashi
一徳 橋
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.)
Komatsu Ltd
Original Assignee
Komatsu Ltd
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 Komatsu Ltd filed Critical Komatsu Ltd
Priority to JP4307271A priority Critical patent/JPH06164676A/en
Publication of JPH06164676A publication Critical patent/JPH06164676A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To provide a network system which can improve the install work efficiency and can support a communication protocol. CONSTITUTION:When the address information of a network interface device 100 and an intelligent device is not stored, a control means 110C of the network interface device 100 sends the setting request of the respective kinds of address information to a non-intelligent device 150 while referring to an address storage means 110B. The non-intelligent device sets the address information of the transmission source and the transmission destination by using a setting means 151D and the control means 110C establishes connection and transfers data based on the respective kinds of set address information, information corresponding to the communication protocol stored in a main storage means 110A and information for exchanging data with the intelligent device.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、インテリジェント型
装置と、非インテリジェント型装置が接続されたネット
ワークインタフェース装置とがネットワークを介して接
続されているネットワークシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network system in which an intelligent device and a network interface device to which a non-intelligent device is connected are connected via a network.

【0002】[0002]

【従来の技術】従来、ノンインテリジェント型の端末装
置としては、例えば表示器とタッチスイッチとを具備す
る現場端末のような、コンピュータに接続される入出力
専用端末がある。この入出力専用端末は、例えば工場等
の構内に構築されたネットワークに接続されて使用され
ることもある。このネットワークがイーサネット(デー
タ転送レートは規格で10Mbps、実動時で約1Mb
ps)で構築されている場合においては、このイーサネ
ットに上記入出力専用端末を接続するためには、イーサ
ネット用のネットワークインタフェース(ネットワーク
インタフェース装置)が必要となる。しかし上記入出力
専用端末には、RS232Cポート(シリアルポート)
は備わっているものの、イーサネット用ネットワークイ
ンタフェースは備わっていないので、入出力専用端末
を、直接イーサネットに接続することはできない。
2. Description of the Related Art Conventionally, as a non-intelligent type terminal device, there is an input / output dedicated terminal connected to a computer, such as a field terminal equipped with a display and a touch switch. This input / output dedicated terminal may be used by being connected to a network constructed in a premises such as a factory. This network is Ethernet (the data transfer rate is 10 Mbps as standard and about 1 Mbps in production)
ps), a network interface (network interface device) for Ethernet is required to connect the input / output dedicated terminal to this Ethernet. However, RS232C port (serial port) is used for the input / output terminal.
However, it does not have an Ethernet network interface, so an input / output terminal cannot be directly connected to Ethernet.

【0003】そこで従来では、イーサネット用ネットワ
ークインタフェースとしてパーソナルコンピュータ(以
下、パソコンという)を使用するようしていた。つまり
入出力専用端末とパソコンとをRS232Cインタフェ
ース(データ転送レートは規格で最大20Kbps)で
接続し、更にパソコンを、ホストコンピュータが接続さ
れているイーサネットに接続するようにしていた。勿
論、パソコンの代替として、パソコンとは異なる、イー
サネットに接続される専用の接続機器を用いることも可
能である。
Therefore, conventionally, a personal computer (hereinafter referred to as a personal computer) has been used as an Ethernet network interface. That is, the dedicated input / output terminal and the personal computer are connected by the RS232C interface (the data transfer rate is a maximum of 20 Kbps in standard), and the personal computer is further connected to the Ethernet to which the host computer is connected. Of course, as a substitute for the personal computer, it is possible to use a dedicated connection device that is different from the personal computer and is connected to the Ethernet.

【0004】ここで、イーサネットとは、OSI(開放
型システム間相互接続)の7階層モデルの物理層とデー
タリンク層の一部を規定したものであり、ここには、同
軸ケーブルやコネクタ形状、信号の衝突検知の方法が規
定されている。イーサネットに接続されるハードウェア
(コンピュータ等)には、MAC(Medium Access Contr
ol) アドレス(48ビット)と呼ばれるアドレスが個々
に割り振られている。このMACアドレスは、通常、ユ
ーザが書換え出来ないような形態(EPROM或いはマ
スクROM)で製品に書き込まれており、ネットワーク
インタフェース装置としての専用の接続機器(上記パソ
コンとは異なる、イーサネットに接続される機器のこと
である)の製造メーカに対して、アドレスの管理機関か
ら割り付けられた値であり、変更されることはない。
Here, the Ethernet defines the physical layer and a part of the data link layer of the OSI (Open System Interconnection) 7-layer model, and here, the coaxial cable and the connector shape, A signal collision detection method is specified. MAC (Medium Access Controller) is used for hardware (computer etc.) connected to Ethernet.
ol) Addresses (48 bits) are individually assigned. This MAC address is usually written in the product in a form that cannot be rewritten by the user (EPROM or mask ROM), and is connected to a dedicated connection device as a network interface device (which is different from the above personal computer and connected to Ethernet). It is a value assigned by the management organization of the address to the manufacturer (which is a device) and is not changed.

【0005】またイーサネットを利用したネットワーク
には、幾つかの種類があり、中でもインターネットと呼
ばれるネットワークが広く知られている。このインター
ネットは、TCP(Transmisstion Control Protocol)
/IP(Internet Protocol)プロトコルを採用し、また
IPアドレス(32ビット)というアドレスで管理され
ている。ここで、TCP/IPとはトランスミッション
コントロールプロトコル(TCP)と、インターネット
プロトコル(IP)とから構成されたプロトコルのこと
である。上記IPアドレスは、上記接続機器のユーザ
(メーカ)が、アドレスの管理機関に申請して割り当て
を受けることにより得られる。割り当てられたアドレス
は、ユーザが接続機器に対して自由に対応付けすること
ができる。なおアドレスの割り当てを申請することが面
倒なユーザ(メーカ)は、ユーザ独自で割り付けたアド
レスをユーザが管理するエリアに限って使用することが
できる。このようなインターネットに接続されるものと
しては、TCP/IPプロトコルを採用しているUNI
Xマシンや汎用のパソコン等がある。
There are several types of networks using Ethernet, and the network called the Internet is widely known. This Internet uses TCP (Transmisstion Control Protocol)
/ IP (Internet Protocol) protocol is adopted, and the IP address (32 bits) is used for management. Here, TCP / IP is a protocol composed of a transmission control protocol (TCP) and an internet protocol (IP). The IP address is obtained by the user (manufacturer) of the connected device applying for and being assigned to the address management organization. The assigned address can be freely associated with the connected device by the user. A user (manufacturer) who is troublesome to apply for address allocation can use the address allocated by the user only in the area managed by the user. The UNI that uses the TCP / IP protocol is connected to the Internet.
There are X machines and general-purpose personal computers.

【0006】更にノンインテリジェント型の端末装置の
他の例としては、例えばRS232Cポートのみしか持
たないホスト端末や、RS232Cポート或いはパラレ
ルポートのみしか持たないプリンタがある。これらの装
置も、上述したようなイーサネット用ネットワークイン
タフェースを有していないので、上述した接続機器を必
要とする。この接続機器として、ターミナルサーバやプ
リントサーバを利用するようにしている。なお、ターミ
ナルサーバは、上記ホスト端末をイーサネットに接続す
る装置であり、プリントサーバは、上記プリンタをイー
サネットに接続する装置である。
Other examples of the non-intelligent type terminal device include, for example, a host terminal having only an RS232C port and a printer having only an RS232C port or a parallel port. Since these devices also do not have the Ethernet network interface as described above, they require the connection device described above. A terminal server or a print server is used as this connection device. The terminal server is a device that connects the host terminal to the Ethernet, and the print server is a device that connects the printer to the Ethernet.

【0007】このようなターミナルサーバやプリントサ
ーバなどの接続機器及び入出力専用端末をイーサネット
に接続するための接続機器は共に、イーサネットに接続
して最初に使用する時にはIPアドレスを設定しなけれ
ばならない。そこで従来においては、上記接続機器を購
入したユーザは、自分に割り当てられた自己のIPアド
レス及び相手先のIPアドレスを当該接続機器に対して
インストールしなければならない。このときターミナル
サーバやプリントサーバ等の接続機器に、RS232C
ポートを介してインストールを実施するための端末(例
えばパソコン)を接続し、この端末を操作してインスト
ール作業を実施することが多い。なおパソコンをネット
ワークインタフェース装置として使用した場合は、その
パンコンによってインストール操作を実施することにな
る。
Both the connecting device such as the terminal server and the print server and the connecting device for connecting the input / output terminal to the Ethernet have to set the IP address when they are first used by connecting to the Ethernet. . Therefore, conventionally, a user who purchases the connection device must install the own IP address assigned to him and the IP address of the other party to the connection device. At this time, if the RS232C is connected to a connection device such as a terminal server or a print server,
In many cases, a terminal (for example, a personal computer) for performing the installation is connected through the port, and this terminal is operated to perform the installation work. When a personal computer is used as a network interface device, the installation operation will be performed by the Pancon.

【0008】[0008]

【発明が解決しようとする課題】このようにネットワー
クインタフェース装置としての上記従来の接続機器には
IPアドレスをインストールする機能が設けられていな
いので、当該接続機器にはインストール用に使用する例
えばパソコンを接続するためのRS232Cインタフェ
ースを設けなければならない。すなわち、接続機器に、
IPアドレスのインストールのためのRS232Cポー
トを設けなければならなず、このためRS232Cポー
ト、シリアルドライブ用の周辺回路例えばドライブ用I
Cを必要とすることとなり、接続機器を構成するハード
ウェアの設計上の制約(機器の大きさ、形状、電子回路
の複雑化)を増大させると共に、開発工数と部品の関係
から製造コストの上昇を招いていた。
As described above, since the conventional connecting device as a network interface device is not provided with a function of installing an IP address, the connecting device is equipped with, for example, a personal computer used for installation. An RS232C interface for connection must be provided. That is, in the connected device,
An RS232C port must be provided for the installation of the IP address, and therefore, the RS232C port, the peripheral circuit for the serial drive, for example, the drive I
Since C is required, the restrictions on the design of the hardware that configures the connected device (device size, shape, and complication of the electronic circuit) are increased, and the manufacturing cost is increased due to the relationship between development man-hours and parts. Was invited.

【0009】また上述したような接続機器を使用するユ
ーザが、インストールのために端末(例えばパソコン)
を準備しなければならず、不便であった。この端末は、
インストールの時のみに必要なものであり、通常の接続
機器の使用に際しては不必要である。特に、工場の現場
に設置される上述したような接続機器は、周囲にインス
トールのための端末が置かれていることは殆どないの
で、わざわざコンピュータルームや事務所等からインス
トールのための端末を運んでこなければならず、インス
トール作業に手間がかかっていた。
A user who uses the connection device as described above may install a terminal (for example, a personal computer) for installation.
Had to be prepared, which was inconvenient. This terminal is
It is necessary only for installation, and is unnecessary for normal use of connected devices. In particular, with regard to the above-mentioned connected devices installed on the factory floor, terminals for installation are rarely placed in the surroundings, so the purpose of carrying the terminals for installation from a computer room, office, etc. It had to come out, and the installation work was troublesome.

【0010】この発明は、非インテリジェント型装置に
よってインストール操作を行うことによりインストール
の作業効率を向上させることができると共に、ネットワ
ークインタフェース装置によって通信プロトコルをサポ
ートすることができるネットワークシステムを提供する
ことを目的とする。
It is an object of the present invention to provide a network system capable of improving the work efficiency of installation by performing an installation operation by a non-intelligent device and supporting a communication protocol by a network interface device. And

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、第1の発明は、インテリジェント型装置と、非イン
テリジェント型装置が接続されたネットワークインタフ
ェース装置とがネットワークを介して接続されたネット
ワークシステムにおいて、前記非インテリジェント型装
置は、前記ネットワークインタフェース装置を示す送信
元のアドレス情報及び前記インテリジェント型装置を示
す送信先のアドレス情報を設定する設定手段を具えると
共に、前記ネットワークインタフェース装置は、所定の
通信プロトコルに対応する情報と、前記インテリジェン
ト型装置とのデータの送受を可能にするための情報とを
記憶する主記憶手段と、前記送信元のアドレス情報及び
送信先のアドレス情報を記憶するアドレス記憶手段と、
該アドレス記憶手段に前記各アドレス情報が記憶されて
いない場合は、前記非インテリジェント型装置に対して
前記各アドレス情報の設定要求を送出すると共に、この
要求に応答した前記非インテリジェント型装置からの前
記設定手段により設定された前記各アドレス情報と前記
主記憶手段の記憶情報とに基づいて、前記インテリジェ
ント型装置とのコネクションの確立およびデータの送受
を行う制御手段とを具えている。
To achieve the above object, the first invention is a network system in which an intelligent device and a network interface device to which a non-intelligent device is connected are connected via a network. The non-intelligent device includes setting means for setting source address information indicating the network interface device and destination address information indicating the intelligent device, and the network interface device is configured to perform predetermined communication. Main storage means for storing information corresponding to a protocol and information for enabling transmission / reception of data to / from the intelligent type device, and address storage means for storing the source address information and the destination address information When,
If the address information is not stored in the address storage means, a request for setting the address information is sent to the non-intelligent device and the non-intelligent device that responds to the request sends the request for setting the address information. And a control means for establishing a connection with the intelligent device and transmitting / receiving data based on the address information set by the setting means and the stored information in the main storage means.

【0012】第2の発明は、第1の発明において、所定
の通信プロトコルは、トランスミッションコントロール
プロトコル及びインターネットプロトコルであり、前記
送信元のアドレス情報及び送信先のアドレス情報は、前
記インターネットプロトコルで定義されるインターネッ
トプロトコルアドレスに適合するものであることを特徴
とする。
In a second aspect based on the first aspect, the predetermined communication protocol is a transmission control protocol and an internet protocol, and the source address information and the destination address information are defined by the internet protocol. It is characterized in that it conforms to the Internet protocol address.

【0013】[0013]

【作用】この発明によれば、ネットワークインタフェー
ス装置の処理手段は、アドレス記憶手段を参照し、この
参照の結果、自己の装置(ネットワークインタフェース
装置)の送信元のアドレス情報及びインテリジェント型
装置の送信先のアドレス情報がアドレス記憶手段に記憶
されていない場合は、非インテリジェント型装置に対し
て前記各アドレス情報の設定要求を送出する。この要求
に応答した非インテリジェント型装置では、設定手段に
よって、ネットワークインタフェース装置を示す送信元
のアドレス情報及びインテリジェント型装置を示す送信
先のアドレス情報を設定する。ネットワークインタフェ
ース装置の制御手段は、設定手段により設定された前記
各アドレス情報と、主記憶手段に記憶されている所定の
通信プロトコルに対応する情報及びインテリジェント型
装置とのデータの送受を可能にするための情報とに基づ
いて、インテリジェント型装置とのコネクションの確立
およびデータの送受を行う。
According to the present invention, the processing means of the network interface device refers to the address storage means, and as a result of this reference, the address information of the transmission source of its own device (network interface device) and the transmission destination of the intelligent type device are obtained. If the address information is not stored in the address storage means, a request for setting each address information is sent to the non-intelligent device. In the non-intelligent device responding to this request, the setting means sets the source address information indicating the network interface device and the destination address information indicating the intelligent device. The control means of the network interface device enables transmission and reception of the address information set by the setting means, information corresponding to a predetermined communication protocol stored in the main storage means, and data with the intelligent device. It establishes a connection with an intelligent device and sends / receives data based on the information of.

【0014】[0014]

【実施例】以下、本発明の実施例を添付図面を参照して
説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0015】図2は、本発明に係るネットワークインタ
フェース装置(以下、ネットワークI/F装置という)
を有して構成されるネットワークシステムの一例を示し
たものである。
FIG. 2 shows a network interface device according to the present invention (hereinafter referred to as a network I / F device).
2 is a diagram showing an example of a network system configured to have.

【0016】同図において、ローカルエリアネットワー
ク(以下、LANという)210にはネットワークI/
F装置220、230、及びホストコンピュータ240
が接続されており、更に各ネットワークI/F装置に
は、それぞれノンインテリジェント型装置250、26
0が接続されている。これらのノンインテリジェント型
端置は、対応するネットワークI/F装置、LAN21
0を介して、ホストコンピュータ240とのデータ送受
を行うことができる。なおノンインテリジェント型装置
として上述した入出力専用端末(パネル)を採用してい
る。
In FIG. 1, a local area network (hereinafter, referred to as LAN) 210 includes a network I /
F devices 220 and 230, and host computer 240
Are connected to the network I / F devices, and non-intelligent devices 250 and 26 are connected to the respective network I / F devices.
0 is connected. These non-intelligent type end devices are compatible with the corresponding network I / F device, LAN21.
Data can be transmitted / received to / from the host computer 240 via 0. In addition, the above-mentioned input / output dedicated terminal (panel) is adopted as a non-intelligent type device.

【0017】図1は、本発明に係るネットワークシステ
ムにおけるネットワークI/F装置及びノンインテリジ
ェント型装置の実施例を機能ブロック図で示したもので
ある。同図において、ネットワークI/F装置100
は、ハードウェア110と、リアルタイムカーネル部1
20、通信プロトコル部130、アプリケーション部1
40とからなるソフトウェアとを備えている。
FIG. 1 is a functional block diagram showing an embodiment of a network I / F device and a non-intelligent device in a network system according to the present invention. In the figure, the network I / F device 100
Is the hardware 110 and the real-time kernel unit 1
20, communication protocol unit 130, application unit 1
40 and software.

【0018】リアルタイムカーネル部120はカーネル
(リアルタイムでマルチタスク処理を実行する)機能を
提供する。
The real-time kernel unit 120 provides a kernel (performs multi-task processing in real time) function.

【0019】通信プロトコル部130は、通信プロトコ
ルの一つであるTCP/IPを提供するものであり、ネ
ットワークの階層構造における各階層名(アプリケーシ
ョン層、トランスポート層、インタネット層、ネットワ
ーク層の4層)にそれぞれ対応する機能を提供する。ま
たこのプロトコルのアプリケーション層には自動的なブ
ート機能を持たせている。
The communication protocol unit 130 provides TCP / IP, which is one of the communication protocols, and has four hierarchical names (application layer, transport layer, internet layer, network layer) in the hierarchical structure of the network. ) Corresponding to each function is provided. The application layer of this protocol has an automatic boot function.

【0020】アプリケーション部140は、ユーザがプ
ログラムを組んだり、また直接キーボードを押下してシ
ステムを操作したりするためのサポートを行うシステム
プログラムと、使用するユーザが独自に開発したマンマ
シンインタフェースプログラムやコントローラの制御等
が考慮されたユーザ独自のユーザプログラムとを有して
構成されている。またアプリケーション部140のユー
ザプログラムには、IPアドレス設定処理、ネットワー
クOS(カーネル)の自動立ち上げ処理とユーザの介入
がなくてもネットワーク上でリンクを結べる処理とを有
するコネクション処理も含まれている。
The application section 140 includes a system program for supporting the user to program or directly press the keyboard to operate the system, and a man-machine interface program originally developed by the user. It is configured to have a user program unique to the user in consideration of control of the controller and the like. The user program of the application unit 140 also includes a connection process including an IP address setting process, a network OS (kernel) automatic startup process, and a process of connecting a link on the network without user intervention. .

【0021】このコネクション処理はネットワーク(例
えばイーサネット)に接続されたインテリジェント型装
置(例えばホストコンピュータ)とのデータの送受を可
能にするための情報(プログラム)、詳しくはインテリ
ジェント型装置とのバーチャルサーキット(仮想回線)
のコネクションの確立を行うためのプログラムとして記
述されており、これはブートストラップ・プログラムと
し記述されている。
This connection processing is information (program) for enabling data transmission / reception with an intelligent type device (for example, a host computer) connected to a network (for example, Ethernet), more specifically, a virtual circuit with the intelligent type device ( Virtual line)
Is described as a program for establishing a connection, and this is described as a bootstrap program.

【0022】ハードウェア110は、上述したソフトウ
ェアが格納されている主記憶手段110Aと、ネットワ
ークインタフェース装置を示す送信元のアドレス情報及
びインテリジェント型装置を示す送信先のアドレス情報
が記憶されるアドレス記憶手段110Bと、上述したソ
フトェアを読み出して実行することにより所定の処理を
実行する制御手段110Cとを有している。またハード
ウェア110には、ノンインテリジェント型装置150
及びLAN160としてのイーサネットが接続されてい
る。なおこのハードウェア構成については後述する(図
3を参照しながら詳細に説明する)。LAN160に
は、インテリジェント型装置としてのホストコンピュー
タ170が接続されている。
The hardware 110 is a main storage unit 110A in which the above-mentioned software is stored, and an address storage unit in which address information of a transmission source indicating a network interface device and address information of a transmission destination indicating an intelligent device are stored. 110B and a control unit 110C for executing a predetermined process by reading and executing the software described above. In addition, the hardware 110 includes a non-intelligent device 150.
And an Ethernet as the LAN 160 is connected. The hardware configuration will be described later (described in detail with reference to FIG. 3). A host computer 170 as an intelligent device is connected to the LAN 160.

【0023】ノンインテリジェント型装置150は、ハ
ードウェア151と、各種のアプリケーションプログラ
ムを有するアプリケーション部152とを備えている。
ハードウェア151は、アプリケーション部152(つ
まりアプリケーションプログラム)を記憶する記憶部1
51Aと、装置全体の制御を行うとともにネットワーク
I/F装置100とのデータ送受を実行する制御部15
1Bと、IPアドレス(送信元のアドレス情報及び送信
先のアドレス情報)を設定するための情報を表示する表
示部151Cと、IPアドレスを設定すると共に他のデ
ータを設定するための設定手段151Dとを有してい
る。
The non-intelligent device 150 comprises hardware 151 and an application section 152 having various application programs.
The hardware 151 is a storage unit 1 that stores an application unit 152 (that is, an application program).
A control unit 15 that controls the entire device and the data transmission / reception with the network I / F device 100.
1B, a display unit 151C that displays information for setting an IP address (address information of a transmission source and address information of a transmission destination), and a setting unit 151D for setting an IP address and other data. have.

【0024】なおこの実施例においては、ハードウェア
110とハードウェア151とを結合するインタフェー
スとして、バス、又はパラレル(セントロニクス)、又
はSCSI、又はデュアルポートRAMを採用するよう
にしている。しかし処理速度の関係でシリアル(RS2
32C)は採用しない。
In this embodiment, a bus, parallel (Centronics), SCSI, or dual port RAM is adopted as an interface for connecting the hardware 110 and the hardware 151. However, due to processing speed, serial (RS2
32C) is not adopted.

【0025】図3は、図1に示したネットワークI/F
装置100のハードウェア110のブロック図を示した
ものである。ここでは、図1に示したLAN160がイ
ーサネットの場合の構成について説明する。
FIG. 3 shows the network I / F shown in FIG.
1 shows a block diagram of hardware 110 of device 100. FIG. Here, a configuration in which the LAN 160 shown in FIG. 1 is an Ethernet will be described.

【0026】図3に示すネットワークI/F装置100
においては、CPU301、ROM302、RAM30
3、EEPROM304、デュアルポート(DUAL PORT
)RAM305及びLANCE(Local Area Network
Controller for Ethernet) 306が、それぞれアドレ
スバスABUS及びデータバスDBUSに接続されてい
る。またCPU301には、アドレスバスABUS及び
データバスDBUSを介してパワーオンリセット(POWE
R ON RESET)回路307及びウォッチドッグ(WATCH DO
G )回路308が接続されており、さらにLANCE3
06には、エンコーダ(ENCODER )およびデコーダ(DE
CODER )309が接続されている。
The network I / F device 100 shown in FIG.
, CPU301, ROM302, RAM30
3, EEPROM304, dual port (DUAL PORT
) RAM 305 and LANCE (Local Area Network)
Controller for Ethernet) 306 is connected to the address bus ABUS and the data bus DBUS, respectively. Further, the CPU 301 is provided with a power-on reset (POWE) via an address bus ABUS and a data bus DBUS.
R ON RESET) circuit 307 and watchdog (WATCH DO
G) circuit 308 is connected, and further LANCE3
06 includes an encoder (ENCODER) and a decoder (DE
CODER) 309 is connected.

【0027】ROM302にはカーネル(リアルタイム
でマルチタスク処理を実行する)を初めとして、各種周
辺デバイスのドライバ、通信プロトコル(TCP/I
P)、アプリケーションプログラム等のプログラム及び
MACアドレスが記憶されている。RAM303は計算
のためのワークエリアとして使用される。EEPROM
304には、IPアドレス、その他の書換えの可能性の
ある情報(例えば追加、修正が必要なホストコンピュー
タに関する情報、例えばホストネーム等)が記憶され
る。デュアルポートRAM305は、インタフェースを
介して例えばノンインテリジェント型装置150と接続
され、このノンインテリジェント型装置150との間で
授受されるデータを読み書きする。なおMACアドレス
は、EEPROM304の書き込みプログラムの領域を
制限することにより、EEPROM304に記録するこ
ともできる。
The ROM 302 includes a kernel (which executes multitask processing in real time), drivers for various peripheral devices, and a communication protocol (TCP / I).
P), programs such as application programs, and MAC addresses are stored. The RAM 303 is used as a work area for calculation. EEPROM
The 304 stores an IP address and other information that may be rewritten (for example, information about a host computer that needs to be added or modified, such as a host name). The dual port RAM 305 is connected to, for example, the non-intelligent type device 150 via an interface, and reads / writes data exchanged with the non-intelligent type device 150. The MAC address can be recorded in the EEPROM 304 by limiting the area of the writing program of the EEPROM 304.

【0028】LANCE306は、LSIで構成されて
おり、プロトコルを除いたイーサネット(IEEE80
2.3またはEthernet type 2)の処理を行うものであ
る。LANCE306に接続されたエンコーダ/デコー
ダ309は、インタフェース(トランシーバケーブル)
を介してイーサネット用のトランシーバ310と接続さ
れ、このトランシーバ310を介して入出力される特殊
なコードつまりイーサネット160で使用する特殊なコ
ード(マンチェスタコード)のエンコード及びデコード
処理を行う。イーサネット160には、イーサネット用
トランシーバ320を介してホストコンピュータ170
が接続されている。
The LANCE 306 is composed of an LSI, and is Ethernet (IEEE8080) excluding the protocol.
It performs processing of 2.3 or Ethernet type 2). The encoder / decoder 309 connected to the LANCE 306 is an interface (transceiver cable)
Is connected to the transceiver 310 for Ethernet via the transceiver 310, and a special code input / output via the transceiver 310, that is, a special code (Manchester code) used in the Ethernet 160 is encoded and decoded. The Ethernet 160 is connected to the host computer 170 via the Ethernet transceiver 320.
Are connected.

【0029】CPU301は、制御信号(選択信号)に
基づいて、アドレスバスABUS、データバスDBUS
に接続された各構成要素を制御する。またCPU301
は、ROM302に格納されているプログラムを読み出
して実行することにより、IPアドレス設定処理、カー
ネルの自動立ち上げ及びコネクションの自動立ち上げ処
理を実施する。
The CPU 301 has an address bus ABUS and a data bus DBUS based on a control signal (selection signal).
Control each component connected to. CPU301
Performs the IP address setting process, the kernel automatic startup process, and the connection automatic startup process by reading and executing the program stored in the ROM 302.

【0030】パワーオンリセット回路307は電源電圧
が低下した時にCPU301に確実にリセットをかける
ためのものである。これにより電源電圧の低下によるC
PU301の誤動作を防止することができる。ウォッチ
ドッグ回路308は、何等かの原因でプログラムが暴走
したり、無限ループに入ったりした時に、一定時間を経
過した時点でCPU301の動作を停止させるためのも
のである。
The power-on reset circuit 307 is for surely resetting the CPU 301 when the power supply voltage drops. As a result, C
It is possible to prevent malfunction of the PU 301. The watchdog circuit 308 is for stopping the operation of the CPU 301 when a certain period of time elapses when the program goes out of control for some reason or enters an infinite loop.

【0031】図4は、図3に示したネットワークI/F
装置100のソフトウェア構成を示したものである。同
図において、ネットワークI/F装置100のROM3
02(図3参照)には、アプリケーションタスク40
1、ソケットライブラリ(7〜10個の関数)402、
TCP/IPプログラム403、各コマンド群(5〜1
0個のコマンド)404、405、カーネル406がそ
れぞれ格納されている。またカーネル406には、メモ
リドライバ407、LANCEドライバ408、システ
ムコール409が含まれている。
FIG. 4 shows the network I / F shown in FIG.
3 shows a software configuration of the apparatus 100. In the figure, the ROM 3 of the network I / F device 100
02 (see FIG. 3), the application task 40
1, socket library (7-10 functions) 402,
TCP / IP program 403, command groups (5-1
0 commands) 404, 405 and kernel 406 are stored respectively. The kernel 406 includes a memory driver 407, a LANCE driver 408, and a system call 409.

【0032】アプリケーションタスク401には、装置
の自動立ち上げ(コネクションの自動立ち上げ)プログ
ラムつまりホストコンピュータとのバーチャルサーキッ
トのコネクションを確立するためのプログラムと、ホス
トコンピュータとの通信のためのプログラムと、IPア
ドレスの設定のためのプログラムと、ノンインテリジェ
ント型装置とのデータのやり取りをどうするかといった
内容とが記述されている。コネクションの自動立ち上げ
プログラムの実行により、ネットワークI/F装置10
0とホストコンピュータ170との仮想回線接続が実行
される。またIPアドレスの設定のためのプログラムの
実行により、ノンインテリジェント型装置150からの
インストール操作によって、IPアドレスを設定するこ
とができる。
The application task 401 includes an apparatus automatic start-up (connection automatic start-up) program, that is, a program for establishing a virtual circuit connection with the host computer, and a program for communication with the host computer. A program for setting an IP address and contents such as how to exchange data with the non-intelligent device are described. By executing the automatic connection startup program, the network I / F device 10
0 and a virtual circuit connection between the host computer 170 and the host computer 170 is executed. Further, by executing the program for setting the IP address, the IP address can be set by the installation operation from the non-intelligent device 150.

【0033】ソケットライブラリ402は、TCP/I
Pを使い易くするためのユーティリティであり、これは
UNIXマシンを初めパソコン等でもサポートされてい
る。ソケットライブラリ402はC言語の関数という形
式で提供されている。このライブラリを用いることによ
り、ホストコンピュータとの間の仮想伝送路(バーチャ
ルサーキット)をはったり、データを送受信したり、回
線(仮想伝送路)を切断するこが、TCP/IPの中身
を知ることなしに実行できる。
The socket library 402 is a TCP / I
This is a utility for making P easy to use, and it is supported by UNIX machines and personal computers. The socket library 402 is provided in the form of a C language function. By using this library, it is possible to establish a virtual transmission line (virtual circuit) with the host computer, send and receive data, and disconnect the line (virtual transmission line) without knowing the contents of TCP / IP. Can be executed.

【0034】TCP/IPプログラム403は、トラン
スミッションコントロールプロトコル(TCP)と、イ
ンターネットプロトコル(IP)から構成されるプロト
コルを提供する。TCPはストリーム型のデータをやり
取りするプロトコルであるので、このためデータの順序
や信頼性が保証される。一方、IPはその下位に位置す
るプロトコルであるので、信頼性は保証されない。TC
P/IPというと、普通、TCPとIPの他にICM
P、UDP、telnet、ftpといった周辺のプロ
トコルを含めたものをさす場合が多いが、この実施例で
は、ROM302の容量の制約でTCPとIPのみをサ
ーポートするようになっている。勿論他のプロトコルを
追加して、このプロトコルをサポートするようにしても
構わない。なおTCP/IPは現在ではUNIXに標準
装備され、LANの業界標準プロトコルとなっているも
のである。コマンド群404はアプリケーションタスク
401、TCP/IPプログラム403とメモリドライ
バ407とのインタフェースの役割を果たすものであ
り、コマンド群405はTCP/IPプログラム403
とLANCEドライバ408とのインタフェースの役割
を果たすものである。すなわち各コマンド群は、処理を
要求したタスクからの指令に従って、該当するドライバ
に対して所定の処理を起動させるものである。
The TCP / IP program 403 provides a protocol including a transmission control protocol (TCP) and an internet protocol (IP). Since TCP is a protocol for exchanging stream type data, the order and reliability of data are guaranteed. On the other hand, the reliability of IP is not guaranteed because IP is a protocol located below it. TC
P / IP usually means ICM in addition to TCP and IP.
In many cases, the peripheral protocol such as P, UDP, telnet, and ftp is included, but in this embodiment, only TCP and IP are supported due to the capacity limitation of the ROM 302. Of course, another protocol may be added to support this protocol. It should be noted that TCP / IP is currently standard equipment of UNIX and is an industry standard protocol of LAN. The command group 404 serves as an interface between the application task 401, the TCP / IP program 403, and the memory driver 407, and the command group 405 is the TCP / IP program 403.
And the role of the LANCE driver 408. That is, each command group causes a corresponding driver to start a predetermined process in accordance with a command from a task requesting the process.

【0035】カーネル406はリアルタイムでマルチタ
スク処理を実行するものである。すなわち、カーネル4
06は、アプリケーションタスク701からの要求に応
じた処理を行う。このときシステムコール409を介し
て入力される要求に応じた処理も行う。
The kernel 406 executes multitask processing in real time. Ie kernel 4
06 performs processing in response to a request from the application task 701. At this time, processing is also performed according to the request input via the system call 409.

【0036】メモリドライバ407は、コマンド群40
4中のコマンドによって起動されると、デュアルポート
RAM305をドライブする。
The memory driver 407 has a command group 40.
When activated by the command in 4, the dual port RAM 305 is driven.

【0037】LANCEドライバ408は、コマンド群
405中のコマンドによって起動されると、LANCE
306をドライブする。
When the LANCE driver 408 is activated by the command in the command group 405, the LANCE driver 408
Drive 306.

【0038】この実施例においては、ネットワークI/
F装置100とノンインテリジェント型装置150との
情報の送受は、デュアルポートRAM305を介して行
われるようになっている。
In this embodiment, the network I /
Information transmission / reception between the F device 100 and the non-intelligent device 150 is performed via the dual port RAM 305.

【0039】次に、デュアルポートRAM305のメモ
リマッピングの一例を図5に示す。なお、図5におい
て、パネルはノンインテリジェント型装置を示し、イー
サはネットワークI/F装置を示す。
Next, an example of the memory mapping of the dual port RAM 305 is shown in FIG. In FIG. 5, the panel indicates a non-intelligent device and the Ethernet indicates a network I / F device.

【0040】アドレス0B(B=Byte、以下同様と
する)〜895Bの896バイトのメモリ空間には、未
使用(予約済)の領域がマッピングされている。
An unused (reserved) area is mapped in the 896-byte memory space of addresses 0B (B = Byte, the same applies hereinafter) to 895B.

【0041】アドレス896B〜1407Bの512バ
イト(最大)のメモリ空間には、ノンインテリジェント
型装置150からネットワークI/F装置100へのデ
ータ(ホストコンピュータへの送信データ)を書き込む
ための領域がマッピンクされている。ここには、ノンイ
ンテリジェント型装置150によって送信データが記述
される。
An area for writing data (transmission data to the host computer) from the non-intelligent device 150 to the network I / F device 100 is mapped in the 512-byte (maximum) memory space of addresses 896B to 1407B. ing. Transmission data is described here by the non-intelligent device 150.

【0042】アドレス1408B〜1919Bの512
バイト(最大)のメモリ空間には、ネットワークI/F
装置100からノンインテリジェント型装置150への
データ(ホストコンピュータからの受信データ)を書き
込むための領域がマッピングされている。ここには、ネ
ットワークI/F装置100によって受信用データが記
述される。
512 of addresses 1408B to 1919B
Network I / F in the byte (maximum) memory space
An area for writing data (received data from the host computer) from the device 100 to the non-intelligent device 150 is mapped. Data for reception is described here by the network I / F device 100.

【0043】アドレス1920B〜1923Bの4バイ
トのメモリ空間には、送信元のアドレス情報(IPアド
レス=32ビット)書き込むための領域がマッピングさ
れている。ここには、ノンインテリジェント型装置15
0によって送信元のアドレス情報が記述される。なお以
降の説明においては、送信元のアドレス情報を自ノード
アドレスと定義する。
An area for writing source address information (IP address = 32 bits) is mapped in the 4-byte memory space of addresses 1920B to 1923B. Non-intelligent device 15
The address information of the transmission source is described by 0. In the following description, the source address information is defined as the own node address.

【0044】アドレス1924B〜1927Bの4バイ
トのメモリ空間には、送信用デスティネーションアドレ
スすなわち送信先のアドレス情報(IPアドレス=32
ビット)を書き込むための領域がマッピングされてい
る。ここには、ノンインテリジェント型装置150によ
って送信先のアドレス情報が記述される。なお以降の説
明においては送信先のアドレス情報を相手先アドレスと
定義する。
In the 4-byte memory space of addresses 1924B to 1927B, the destination address for transmission, that is, the address information of the destination (IP address = 32
The area for writing (bit) is mapped. Here, address information of the destination is described by the non-intelligent device 150. In the following description, the address information of the destination will be defined as the destination address.

【0045】アドレス1928B〜1931Bの4バイ
トのメモリ空間には、受信用ソースアドレス(IPアド
レス=32ビット)を書き込むための領域がマッピング
されている。ここには、アドレス1924B〜1927
Bの4バイトのメモリ空間に記述された相手先アドレス
に対応するホストコンピュータからのデータをネットワ
ークI/F装置100が受信した際に、ネットワークI
/F装置100によって、当該ホストコンピュータに対
応する自ノードアドレス(ネットワークI/F装置から
見れば相手先アドレスとなる)が記述される。また上記
ホストコンピュータ以外のホストコンピュータからのデ
ータを受信した際にも、当該ホストコンピュータに対応
する自ノードアドレス(ネットワークI/F装置から見
れば相手先アドレスとなる)が記述される。
An area for writing a reception source address (IP address = 32 bits) is mapped in the 4-byte memory space of addresses 1928B to 1931B. Here, addresses 1924B to 1927
When the network I / F device 100 receives the data from the host computer corresponding to the destination address described in the 4-byte memory space of B, the network I / F device 100
The / F device 100 describes its own node address corresponding to the host computer (it becomes the destination address when seen from the network I / F device). Further, even when data is received from a host computer other than the above-mentioned host computer, the own node address corresponding to the host computer (it becomes the destination address when seen from the network I / F device) is described.

【0046】アドレス2043Bの1バイトのメモリ空
間には、ノンインテリジェント型装置150からネット
ワークI/F装置100への割り込み要因ステータスを
書き込むための領域がマッピングされている。ここに
は、ノンインテリジェント型装置150によって割り込
み要因ステータスが記述される。
An area for writing the interrupt factor status from the non-intelligent device 150 to the network I / F device 100 is mapped in the 1-byte memory space of the address 2043B. Here, the interrupt factor status is described by the non-intelligent device 150.

【0047】アドレス2045Bの1バイトのメモリ空
間には、ネットワークI/F装置100からノンインテ
リジェント型装置150への割り込み要因ステータスを
書き込むための領域がマッピングされている。ここに
は、ネットワークI/F装置100によって割り込み要
因ステータスが記述される。
An area for writing the interrupt factor status from the network I / F device 100 to the non-intelligent device 150 is mapped in the 1-byte memory space of the address 2045B. Here, the interrupt factor status is described by the network I / F device 100.

【0048】アドレス2046Bの1バイトのメモリ空
間には、ノンインテリジェント型装置150からネット
ワークI/F装置100への割り込み要求モードフラグ
を書き込むための領域がマッピングされている。ここに
は、ノンインテリジェント型装置150によって割り込
み要求モードフラグが記述される。
An area for writing an interrupt request mode flag from the non-intelligent device 150 to the network I / F device 100 is mapped in the 1-byte memory space of the address 2046B. Here, the interrupt request mode flag is described by the non-intelligent device 150.

【0049】アドレス2047Bの1バイトのメモリ空
間には、ネットワークI/F装置100からノンインテ
リジェント型装置150への割り込み要求モードフラグ
を書き込むための領域がマッピングされている。ここに
は、ネットワークI/F装置100によって割り込み要
求モードフラグが記述される。
An area for writing an interrupt request mode flag from the network I / F device 100 to the non-intelligent device 150 is mapped in the 1-byte memory space of the address 2047B. Here, the interrupt request mode flag is described by the network I / F device 100.

【0050】なおアドレス2032B〜2042Bの1
11バイトのメモリ空間、アドレス2044Bの1バイ
トのメモリ空間は共に未使用領域となっている。
It should be noted that one of the addresses 2032B to 2042B
Both the 11-byte memory space and the 1-byte memory space at address 2044B are unused areas.

【0051】次に、デュアルポートRAM305に書き
込まれる割り込み要因ステータスおよび割り込み要求モ
ードフラグ内容について説明する。
Next, the interrupt factor status and interrupt request mode flag contents written in the dual port RAM 305 will be described.

【0052】◇ノンインテリジェント型装置150から
ネットワークI/F装置100への割り込み アドレス 記述内容 2046B 割り込み要求の発生 2043B 割り込み要因ステータス ビット0 Request ビット1 回線切断要求 ビット2 パネルスタートアップOK ビット3 IPアドレス設定完了 ビット4 送信エラー ビット5 −(設定なし) ビット6 −(設定なし) ビット7 Acknoledge ◇ネットワークI/F装置100からノンインテリジェ
ント型装置150への割り込み アドレス 記述内容 2047B 割り込み要求の発生 2045B 割り込み要因ステータス ビット0 Request ビット1 −(設定なし) ビット2 −(設定なし) ビット3 受信エラー ビット4 コネクションエラー ビット5 IPアドレス設定要求 ビット6 −(設定なし) ビット7 Acknoledge 上述したような割り込み要因ステータスおよび割り込み
要求モードフラグが必要に応じて設定される。次に、ネ
ットワークI/F装置100及びノンインテリジェント
型装置150の処理動作について図6を参照して説明す
る。
Interrupt address from non-intelligent device 150 to network I / F device 100 Description content 2046B Interrupt request generation 2043B Interrupt factor status bit 0 Request bit 1 Line disconnection request bit 2 Panel startup OK bit 3 IP address setting complete Bit 4 Transmission error Bit 5-(No setting) Bit 6-(No setting) Bit 7 Acknoledge ◇ Interrupt address from network I / F device 100 to non-intelligent device 150 Description 2047B Interrupt request generation 2045B Interrupt factor status bit 0 Request Bit 1- (No setting) Bit 2- (No setting) Bit 3 Receive error Bit 4 Connection error Bit 5 IP address setting request Bit 6- (No setting) ) Bit 7 Acknoledge The interrupt factor status and interrupt request mode flag as described above are set as necessary. Next, the processing operation of the network I / F device 100 and the non-intelligent device 150 will be described with reference to FIG.

【0053】図6(a)はネットワークI/F装置10
0の概略処理動作を示すフローチャートであり、図6
(b)はノンインテリジェント型装置150の概略処理
動作を示すフローチャートである。
FIG. 6A shows the network I / F device 10.
7 is a flowchart showing a schematic processing operation of 0.
(B) is a flowchart showing a schematic processing operation of the non-intelligent device 150.

【0054】最初にネットワークI/F装置100の処
理動作について図3及び図6(a)を参照して説明す
る。電源投入されると(ステップ601)、CPU30
1は、ROM302からリアルタイムカーネルを立ち上
げるためのファームウェア(あるいはブートストラップ
・プログラム)を読み出して実行する(ブートアップす
る)ことにより(ステップ602)、リアルタイムカー
ネルをRAM303に読み込んで、リアルタイムカーネ
ルを立ち上げ(ステップ603)、更にTCP/IP情
報をROM302からRAM303に読み込む(ダウン
ロードする)(ステップ604)。なおTCP/IP情
報は、必ずしもROM302からRAM303に展開す
る必要はない。
First, the processing operation of the network I / F device 100 will be described with reference to FIGS. 3 and 6A. When the power is turned on (step 601), the CPU 30
First, the firmware (or bootstrap program) for booting the real-time kernel is read from the ROM 302 and executed (booted up) (step 602) to read the real-time kernel into the RAM 303 and boot the real-time kernel. (Step 603) Further, the TCP / IP information is read (downloaded) from the ROM 302 to the RAM 303 (step 604). The TCP / IP information does not necessarily have to be expanded from the ROM 302 to the RAM 303.

【0055】次にCPU301は、デュアルポートRA
M305のアドレス1920B〜19270Bのメモリ
空間内の記憶内容に基づいて、IPアドレス(自ノード
アドレスおよび相手先アドレス)が設定されているか否
かを判断する(ステップ605)。
Next, the CPU 301 determines that the dual port RA
Based on the contents stored in the memory space of the addresses 1920B to 19270B of M305, it is determined whether or not the IP address (own node address and destination address) is set (step 605).

【0056】ステップ605において、IPアドレスが
設定されている場合には、コネクション処理を実行し
(ステップ606)、一方、IPアドレスが設定されて
いない場合は、ノンインテリジェント型装置150にI
Pアドレスの設定要求を送出すると共に(ステップ60
6)、この要求に応答したノンインテリジェント型装置
150からのIPアドレスを受信し(ステップ60
7)、その後、ステップ606に進む。なお上記ステッ
プ607、608はインストール時に行われる処理であ
る。
In step 605, if the IP address is set, the connection process is executed (step 606). On the other hand, if the IP address is not set, the non-intelligent device 150 receives the I
A P address setting request is sent (step 60
6) Receive the IP address from the non-intelligent device 150 responding to this request (step 60).
7) After that, it progresses to step 606. The above steps 607 and 608 are processes performed at the time of installation.

【0057】ステップ606を終了したら、CPU30
1は、デュアルポートRAM305へのIPアドレスの
書き込み、又はコネクションが正常か否かを判断し(ス
テップ609)、エラーの場合にはエラーメッセージを
発行し(ステップ610)、一方、正常の場合はホスト
コンピュータとのデータの送受信を行う(ステップ61
1)。
When step 606 is completed, the CPU 30
1 judges whether the writing of the IP address to the dual port RAM 305 or the connection is normal (step 609) and issues an error message in the case of an error (step 610). Sends and receives data to and from the computer (step 61)
1).

【0058】次に、ノンインテリジェント型装置150
の処理について図1及び図6(b)を参照して説明す
る。電源投入されると(ステップ621)、制御部15
1Bは、ブートアップし(ステップ622)、その後、
ネットワークI/F装置100からのIPアドレスの設
定要求があるか否かを判断する(ステップ623)。ス
テップ623において、IPアドレス設定要求がある場
合は、設定手段151DによってIPアドレスを設定す
る(ステップ624)。すると制御部151BはこのI
PアドレスをネットワークI/F装置100に送信する
(実際には、ネットワークI/F装置100のデュアル
ポートRAM305の所定領域にIPアドレスを書き込
む)(ステップ625)。なお上記ステップ624、6
25はインストール時に行われる処理である。
Next, the non-intelligent type device 150.
The process will be described with reference to FIGS. 1 and 6B. When the power is turned on (step 621), the control unit 15
1B boots up (step 622) and then
It is determined whether or not there is an IP address setting request from the network I / F device 100 (step 623). If there is an IP address setting request in step 623, the setting means 151D sets the IP address (step 624). Then, the control unit 151B causes the I
The P address is transmitted to the network I / F device 100 (actually, the IP address is written in a predetermined area of the dual port RAM 305 of the network I / F device 100) (step 625). Note that steps 624 and 6 above
25 is a process performed at the time of installation.

【0059】ステップ625を終了した制御部151B
は、ネットワークI/F装置100からのエラーメッセ
ージを受信したか否かを判断する(ステップ626)。
ステップ626において、受信していない場合には正常
であるのでシステムを起動し(ステップ627)、一
方、受信した場合はそのエラーメッセージを表示部15
1Cに表示する(ステップ628)。
Control unit 151B that has completed step 625
Determines whether an error message has been received from the network I / F device 100 (step 626).
If not received in step 626, the system is started because it is normal (step 627). On the other hand, if received, the error message is displayed on the display unit 15.
It is displayed on 1C (step 628).

【0060】次に、ノンインテリジェント型装置150
の詳細な処理について、図1、図7及び図8を参照して
説明する。
Next, the non-intelligent type device 150
The detailed processing of the above will be described with reference to FIGS. 1, 7, and 8.

【0061】図7及び図8はノンインテリジェント型装
置150の詳細な処理動作を示すフローチャートであ
る。これらの図において、パネルはノンインテリジェン
ト型装置を示し、イーサはネットワークI/F装置を示
し、INTは割り込みを示し、DPMはデュアルポート
RAMを示し、HALTは停止を示している。
7 and 8 are flowcharts showing the detailed processing operation of the non-intelligent device 150. In these figures, the panel shows a non-intelligent device, Ethernet shows a network I / F device, INT shows an interrupt, DPM shows a dual port RAM, and HALT shows a stop.

【0062】さて電源が投入されると(ステップ70
1)、ノンインテリジェント型装置150の制御部15
1Bは、ブートアップし(ステップ702)、更に表示
部151Cに通常の画面を表示する。
When the power is turned on (step 70)
1), the control unit 15 of the non-intelligent device 150
1B boots up (step 702) and further displays a normal screen on the display unit 151C.

【0063】制御部151Bは、デュアルポートRAM
305をチェックし(ステップ703)、メモリは正常
か否かを判断する(ステップ704)。
The controller 151B is a dual port RAM.
305 is checked (step 703), and it is determined whether the memory is normal (step 704).

【0064】ステップ704において、異常の場合には
表示部151Cにエラーメッセージを表示して(ステッ
プ705)、処理を停止し、一方、正常の場合は、デュ
アルポートRAM305のアドレス2043Bの記憶領
域のビット2を1(オン)にするとともに(ステップ7
06)、デュアルポートRAM305のアドレス204
6Bの記憶領域に、ノンインテリジェント型装置150
からネットワークI/F装置100への割り込みを示す
データを記述して(ステップ707)、ネットワークI
/F装置100への割り込みを発生させる。
In step 704, in the case of abnormality, an error message is displayed on the display section 151C (step 705) and the processing is stopped. Set 2 to 1 (ON) and (Step 7
06), address 204 of dual port RAM 305
The non-intelligent device 150 is stored in the 6B storage area.
From the network to the network I / F device 100 is described (step 707), and the network I / F device 100 is described.
/ Generates an interrupt to the F device 100.

【0065】その後、制御部151Bは、デュアルポー
トRAM305のアドレス2047Bの記憶領域の記憶
内容に基づいて、ネットワークI/F装置100からの
割り込みがあるか否かを判断する(ステップ708)。
ここで、割り込みがない場合は、タイムアウト(ここで
は3秒に設定されている)か否かを判断する(ステップ
709)。ステップ709において、タイムアウトでな
い場合には上記ステップ708に戻り、一方、タイムア
ウトの場合は、例えば「イーサボードエラー」などのエ
ラーメッセージを表示部151Cに表示する(ステップ
710)。
Thereafter, the control unit 151B determines whether or not there is an interrupt from the network I / F device 100 based on the stored contents of the storage area of the address 2047B of the dual port RAM 305 (step 708).
Here, if there is no interrupt, it is determined whether or not a timeout has occurred (here, it is set to 3 seconds) (step 709). In step 709, if it is not time-out, the process returns to step 708. On the other hand, if it is time-out, an error message such as "Etherboard error" is displayed on the display unit 151C (step 710).

【0066】ステップ708において割り込みがある場
合は、制御部151Bは、ノンインテリジェント型装置
150に設けられている図示しない「かくれスイッチ」
が押下されているか否かを判断する(ステップ71
1)。
If there is an interrupt in step 708, the control unit 151B has a "hidden switch" (not shown) provided in the non-intelligent device 150.
It is determined whether or not is pressed (step 71).
1).

【0067】この「かくれスイッチ」は、パネルのタッ
チスイッチの1つであって、通常は簡単に操作されない
ようにかくれており、インストール時に、所定の操作に
より操作されるようになっている。
This "hidden switch" is one of the touch switches on the panel, and is normally hidden so as not to be easily operated, and is operated by a predetermined operation at the time of installation.

【0068】ステップ711において上記「かくれスイ
ッチ」が押下されると、制御部151Bは、IPアドレ
ス設定処理及び現在IPアドレス表示処理を含むシステ
ム設定シーケンスを実行する(ステップ712)。
When the "hidden switch" is pressed in step 711, the control section 151B executes a system setting sequence including an IP address setting process and a current IP address display process (step 712).

【0069】このようにシステム設定シーケンスが実行
されると、表示部151Cには図9(a)に示すような
システム設定内容900Aが表示される。この表示状態
から、設定手段151Dによって“IPアドレス設定”
を選択し、更に“RET”Keyが選択されると、表示
部151Cの表示状態は、図9(b)に示すIPアドレ
ス設定内容900Bに変更される。なお“RET”Ke
yが指示されると、通常のメニューを表示する内容に戻
るようになっている。
When the system setting sequence is executed in this way, the system setting content 900A as shown in FIG. 9A is displayed on the display section 151C. From this display state, "IP address setting" is performed by the setting means 151D.
When "," and "RET" Key are selected, the display state of the display unit 151C is changed to the IP address setting content 900B shown in FIG. 9B. "RET" Ke
When y is instructed, the normal menu contents are displayed again.

【0070】このIPアドレス設定内容900Bにおい
ては、設定手段151Dによって、“自ノードアドレス
設定”、“相手先アドレス設定”のいずれかを選択する
と、対応するアドレスを設定することができる。ここで
“自ノードアドレス設定”が選択されたとすると、表示
部151Cには図9(c)に示すような自ノードアドレ
ス設定内容900Cが表示される。また図9(b)に示
すIPアドレス設定内容900Bにおいて“現在アドレ
ス確認”が選択されたとすると、表示部151Cには、
図9(d)に示すような現在アドレス確認内容900D
が表示される。図9(b)に示すIPアドレス設定内容
900Bにおいて“RET”Keyが指示されたとする
と、システム設定内容900A(前画面)に戻るように
なっている。これはアドレスの設定が終了した場合に使
用する。
In this IP address setting content 900B, when the setting means 151D selects either "own node address setting" or "destination address setting", the corresponding address can be set. If the "own node address setting" is selected here, the own node address setting content 900C as shown in FIG. 9C is displayed on the display unit 151C. If "confirm current address" is selected in the IP address setting content 900B shown in FIG. 9B, the display section 151C displays
Current address confirmation content 900D as shown in FIG. 9 (d)
Is displayed. When "RET" Key is instructed in the IP address setting content 900B shown in FIG. 9B, the system setting content 900A (previous screen) is returned to. This is used when the address setting is completed.

【0071】図9(c)に示す自ノードアドレス設定内
容900Cにおいては、図中点線で示すように3桁で1
つのアドレス単位とした4つのアドレスが設定されるよ
うになっており、これらのアドレス値として0〜255
までの値を設定することができる。このためには、設定
したい桁の位置を選択し、更に“+”、“−”の各Ke
yを選択することにより、該当する桁の値を設定する。
ここで“+”のKeyを1回指示する毎に1つずつカウ
ントアップし、“−”のKeyを1回指示する毎に1つ
ずつカウントダウンするようになっている。“CAN”
Keyを指示することにより設定中のアドレスをクリア
にすることができ、またアドレスの設定が終了した場合
に、“RET”Keyが指示されると、前画面であるI
Pアドレス設定内容900Bに戻るようになっている。
なお自ノードアドレス設定内容900Cに表示されてい
るアドレス中の小数点は、予め設定され表示されるもの
であり、ユーザ側で設定できないようになっている。
In the own node address setting content 900C shown in FIG. 9 (c), one digit is three digits as shown by the dotted line in the figure.
Four addresses are set as one address unit, and 0 to 255 are set as these address values.
Values up to can be set. To do this, select the position of the digit you want to set, and then add each of the "+" and "-" Ke.
By selecting y, the value of the corresponding digit is set.
Here, the "+" key is incremented by 1 each time it is designated, and the "-" key is incremented by 1 each time it is designated. "CAN"
The address being set can be cleared by instructing the key, and when "RET" Key is instructed when the address setting is completed, the previous screen I
It returns to the P address setting content 900B.
The decimal point in the address displayed in the own node address setting content 900C is set and displayed in advance and cannot be set by the user.

【0072】相手先アドレス設定内容に対して相手先ア
ドレス設定設定する場合も、上記同様の処理で行うこと
ができる。
When setting the destination address for the destination address setting contents, the same processing as above can be performed.

【0073】図9(d)に示す現在アドレス確認内容9
00Dにおいては、現在設定されている、自ノードアド
レス及び相手先アドレスが表示されている。これによっ
て、ユーザは、これらのアドレスを確認することができ
る。“RET”Keyが指示されると、前画面であるI
Pアドレス設定内容に戻るようになっている。
Current address confirmation content 9 shown in FIG. 9 (d)
In 00D, the currently set own node address and destination address are displayed. This allows the user to confirm these addresses. When "RET" Key is instructed, the previous screen I
It returns to the P address setting contents.

【0074】このようにしてIPアドレスの設定又は変
更操作、或いは参照操作を終了すると、制御部151B
は、図7に示す様に、IPアドレスの設定又はIPアド
レスの変更であるか否かを判断する(ステップ71
3)。そうであれば、デュアルポートRAM305のア
ドレス1920B〜1923Bの記憶領域に自ノードア
ドレスを書き込むとともに、アドレス1924B〜19
27Bの記憶領域に相手先アドレスを書き込む。またア
ドレス2043Bの記憶領域のビット3の値を1にする
(ステップ714)。その後、アドレス2046Bの記
憶領域に割り込みを示すデータを書き込んで、ネットワ
ークI/F装置100への割り込みを発生させる(ステ
ップ715)。
When the IP address setting or changing operation or the reference operation is completed in this manner, the control unit 151B
Determines whether the IP address is set or changed as shown in FIG. 7 (step 71).
3). If so, the own node address is written in the storage areas of the addresses 1920B to 1923B of the dual port RAM 305, and the addresses 1924B to 1924
The destination address is written in the storage area of 27B. Also, the value of bit 3 of the storage area of the address 2043B is set to 1 (step 714). After that, the data indicating the interrupt is written in the storage area of the address 2046B to generate the interrupt to the network I / F device 100 (step 715).

【0075】なお、ステップ711において上記「かく
しスイッチ」が押下されなかった場合は、上記ステップ
715に進む。従って、一度設定したIPアドレスを再
設定(変更)することがないという前提の下において
は、上述したステップ712〜714は、IPアドレス
のインストール時の処理操作となる。
If the "hiding switch" is not pressed in step 711, the process proceeds to step 715. Therefore, under the premise that the IP address once set is not reset (changed), steps 712 to 714 described above are processing operations at the time of installing the IP address.

【0076】さて上記ステップ715を終了すると、制
御部151Bは、図8に示す様に、デュアルポートRA
M305のアドレス2047Bの記憶領域の値に基づい
て、ネットワークI/F装置100からの割り込みがあ
るか否かを判断する(ステップ716)。ここで、割り
込みがない場合は、タイムアウト(ここでは3秒に設定
されている)であるか否かを判断する(ステップ71
7)。ステップ717において、タイムアウトでない場
合には上記ステップ716に戻り、一方、タイムアウト
の場合は、例えば「IPアドレス書き込みエラー」など
のエラーメッセージを表示部151Cに表示する(ステ
ップ718)。
Upon completion of step 715, the control section 151B, as shown in FIG.
Based on the value of the storage area of address 2047B of M305, it is determined whether or not there is an interrupt from the network I / F device 100 (step 716). Here, if there is no interrupt, it is determined whether or not a timeout has occurred (here, it is set to 3 seconds) (step 71).
7). In step 717, if it is not time out, the process returns to step 716. On the other hand, if it is time out, an error message such as "IP address write error" is displayed on the display unit 151C (step 718).

【0077】ステップ716において、割り込みがある
場合は、制御部151Bは、デュアルポートRAM30
5のアドレス2045Bの記憶領域のビット5が0の値
であるか否かを判断する(ステップ719)。
If there is an interrupt in step 716, the controller 151B determines that the dual port RAM 30
It is determined whether or not bit 5 of the storage area of the address 2045B of 5 has a value of 0 (step 719).

【0078】ステップ719においてIPアドレス書き
込み要求でない場合、つまりアドレス2045Bの記憶
領域内のビット5の値が0のときは上記ステップ714
において書き込まれたIPアドレスが正常であると認識
し、次に、デュアルポートRAM305のアドレス20
45Bの記憶領域内のビット4が0の値であるか否かを
判断する(ステップ720)。
If it is not the IP address write request in step 719, that is, if the value of bit 5 in the storage area of address 2045B is 0, the above step 714
It is recognized that the IP address written in is normal, and then the address 20 of the dual port RAM 305
It is determined whether bit 4 in the storage area of 45B has a value of 0 (step 720).

【0079】ステップ720においてアドレス2045
Bの記憶領域内のビット4が0の場合は、ネットワーク
I/F装置100によるコネクション処理が正常に行わ
れたことを意味するので、システムを起動する(ステッ
プ721)。このシステムを起動することにより、ホス
トコンピュータに対する送信用データをネットワークI
/F装置100に送信することができる。
Address 2045 in step 720
If bit 4 in the storage area of B is 0, it means that the connection processing by the network I / F device 100 has been normally performed, and the system is activated (step 721). By starting this system, the data for transmission to the host computer is sent to the network I.
/ F device 100 can be transmitted.

【0080】なお制御部151Bは、ステップ719に
おいてアドレス2045Bの記憶領域内のビット5が1
のときは、「IPアドレス未設定」のエラーメッセージ
を表示部151Cに表示し(ステップ722)、またス
テップ720においてアドレス2045Bの記憶領域内
のビット4が1の場合は、「コネクションエラー」のエ
ラーメッセージを表示部151Cに表示する(ステップ
723)。
Note that the control unit 151B sets the bit 5 in the storage area of the address 2045B to 1 in step 719.
If it is, an error message "IP address unset" is displayed on the display unit 151C (step 722). If bit 4 in the storage area of the address 2045B is 1 in step 720, a "connection error" error is displayed. The message is displayed on the display unit 151C (step 723).

【0081】次に、ネットワークI/F装置100の詳
細な処理について、図3、図10及び図11を参照して
説明する。
Next, detailed processing of the network I / F device 100 will be described with reference to FIGS. 3, 10 and 11.

【0082】図10及び図11はネットワークI/F装
置の詳細な処理動作を示すフローチャートである。これ
らの図において、パネルはノンインテリジェント型装置
を示し、イーサはネットワークI/F装置を示し、IN
Tは割り込みを示し、DPMはデュアルポートRAMを
示し、HALTは停止を示している。
10 and 11 are flowcharts showing the detailed processing operation of the network I / F device. In these figures, the panel indicates a non-intelligent device, the Ethernet indicates a network I / F device, the IN
T indicates interrupt, DPM indicates dual port RAM, and HALT indicates stop.

【0083】さて電源投入されると(ステップ100
1)、CPU301は、ROM302から、リアルタイ
ムカーネルを立ち上げるためのファームウェア(或いは
ブートストラップ・プログラム)を読み出して実行する
(ブートアップする)ことにより(ステップ100
2)、リアルタイムカーネルをRAM303に読み込ん
で、リアルタイムカーネルを立ち上げ(ステップ100
3)、更にTCP/IP情報をROM302からRAM
303に読み込む(ダウンロードする)(ステップ10
04)。なおTCP/IP情報は、必ずしもROM30
2からRAM303に展開する必要はない。
Now, when the power is turned on (step 100
1) The CPU 301 reads the firmware (or bootstrap program) for booting the real-time kernel from the ROM 302 and executes it (boots up) (step 100).
2) Read the real-time kernel into the RAM 303 and launch the real-time kernel (step 100
3), and further TCP / IP information from ROM 302 to RAM
Read (download) to 303 (Step 10)
04). Note that the TCP / IP information is not necessarily ROM30.
It is not necessary to expand from 2 to the RAM 303.

【0084】CPU301は、デュアルポートRAM3
05のアドレス2046Bの記憶領域内の内容に基づい
て、ノンインテリジェント型装置150からの割り込み
(これは上記図7のステップ707における割り込み)
があるか否かを判断する(ステップ1005)。ステッ
プ1005においてアドレス2046Bの記憶領域内の
内容が、割り込みを示すデータでない場合には、割り込
みがないと認識して割り込みがあるまで待機し、一方、
割り込みを示すデータのときは、割り込みであると認識
して、次にデュアルポートRAM305のアドレス20
43Bの記憶領域内のビット2が1であるか否か(パネ
ルスタートアップOKか否か)を判断する(ステップ1
006)。
The CPU 301 is the dual port RAM 3
An interrupt from the non-intelligent device 150 based on the contents in the storage area of address 2046B of 05 (this is the interrupt in step 707 of FIG. 7 above).
It is determined whether there is any (step 1005). If the content in the storage area at the address 2046B is not data indicating an interrupt in step 1005, it is recognized that there is no interrupt and the process waits until an interrupt occurs.
If the data indicates an interrupt, it is recognized as an interrupt, and the address 20 of the dual port RAM 305 is next detected.
It is determined whether or not bit 2 in the storage area of 43B is 1 (whether or not panel startup is OK) (step 1).
006).

【0085】ステップ1006において、ビット2の値
が0の場合には処理を停止し(ステップ1007)、一
方、ビット2の値が1の場合はデュアルポートRAM3
05をチェックし(ステップ1008)、その後、メモ
リが正常であるか否かを判断する(ステップ100
9)。ここで、異常の場合には処理を停止し(ステップ
1010)、一方、正常の場合はデュアルポートRAM
305のアドレス2046Bの記憶領域の内容をリセッ
トする(ステップ1011)。
In step 1006, if the value of bit 2 is 0, the processing is stopped (step 1007), while if the value of bit 2 is 1, the dual port RAM 3
05 is checked (step 1008), and then it is determined whether or not the memory is normal (step 100).
9). Here, in the case of abnormality, the processing is stopped (step 1010), while in the case of normality, the dual port RAM
The contents of the storage area of the address 2046B of 305 are reset (step 1011).

【0086】次にCPU301は、EEPROM304
の記憶情報を読み出して(ステップ1012)、IPア
ドレスが設定済みか否かを判断する(ステップ101
3)。この判断に当たっては、自ノードアドレス及び相
手先アドレスが記憶されている場合に、IPアドレスが
設定されていると判断するようになっている。
Next, the CPU 301 makes the EEPROM 304
Stored information is read (step 1012) and it is determined whether the IP address has been set (step 101).
3). In this determination, when the own node address and the destination address are stored, it is determined that the IP address is set.

【0087】ステップ1013において、IPアドレス
が設定されている場合は、CPU301は、デュアルポ
ートRAM305のアドレス1920B〜1923Bの
記憶領域に自ノードアドレスを書き込むと共に、アドレ
ス1924B〜1927Bの記憶領域に相手先アドレス
を書き込む(ステップ1014)。その後、アドレス2
047Bの記憶領域に、ネットワークI/F装置100
からノンインテリジェント型装置150への割り込みを
示すデータを書き込んで(ステップ1015)、ノンイ
ンテリジェント型装置150への割り込みを発生させ
る。この割り込みは、上記図7のステップ708におけ
る割り込みとなる。
When the IP address is set in step 1013, the CPU 301 writes the own node address in the storage area of the addresses 1920B to 1923B of the dual port RAM 305 and the destination address in the storage area of the addresses 1924B to 1927B. Is written (step 1014). Then address 2
047B storage area, the network I / F device 100
From the non-intelligent device 150 is written (step 1015) to generate an interrupt to the non-intelligent device 150. This interrupt is the interrupt in step 708 of FIG.

【0088】なおステップ1013においてIPアドレ
スが設定されていない場合は、CPU301は、デュア
ルポートRAM305のアドレス2045Bの記憶領域
のビット7を値1に設定した後(ステップ1016)、
ステップ1015に進む。このようにアドレス2045
Bの記憶領域のビット7が1の値で、ノンインテリジェ
ント型装置150への割り込みが発生すると、上述した
図7のステップ708及びステップ711が実行され、
更にステップ712〜715が実行される。すなわち、
この処理は、IPアドレスのインストール時の処理とな
る。
If the IP address is not set in step 1013, the CPU 301 sets bit 7 of the storage area of the address 2045B of the dual port RAM 305 to the value 1 (step 1016).
Proceed to step 1015. Address 2045
When bit 7 of the storage area of B has a value of 1 and an interrupt to the non-intelligent device 150 occurs, steps 708 and 711 of FIG. 7 described above are executed,
Further, steps 712 to 715 are executed. That is,
This processing is processing at the time of installing the IP address.

【0089】さてステップ1015を終了したCPU3
01は、デュアルポートRAM305のアドレス204
6Bの記憶領域の値に基づいて、ノンインテリジェント
型装置150からの割り込み(これは上記図7のステッ
プ715における割り込み)があるか否かを判断する
(ステップ1017)。
Now, the CPU 3 which has completed the step 1015
01 is the address 204 of the dual port RAM 305
Based on the value of the storage area of 6B, it is determined whether or not there is an interrupt from the non-intelligent device 150 (this is the interrupt in step 715 of FIG. 7) (step 1017).

【0090】ステップ1017において、割り込みがな
い場合には割り込みがあるまで待機し、一方、割り込み
がある場合は、デュアルポートRAM305のアドレス
2046Bの記憶領域に割り込みを示すデータが書き込
まれ、かつアドレス2043Bの記憶領域のビット3に
値1が書き込まれているか否か(IPアドレスの設定が
完了しているか否か)を判断する(ステップ101
8)。
In step 1017, if there is no interrupt, the process waits until there is an interrupt. On the other hand, if there is an interrupt, the data indicating the interrupt is written in the storage area of the address 2046B of the dual port RAM 305, and the address 2043B of the address 2043B is written. It is determined whether or not the value 1 is written in bit 3 of the storage area (whether or not the setting of the IP address is completed) (step 101).
8).

【0091】ステップ1018においてIPアドレスの
設定が完了している場合は、CPU301は、アドレス
1920B〜1923Bの記憶領域から自ノードアドレ
スを読み込むと共に、アドレス1924B〜1927B
の記憶領域から相手先アドレスを読み込んで(ステップ
1019)、これらのアドレス(IPアドレス)をEE
PROM304に書き込む(ステップ1020)。
If the setting of the IP address is completed in step 1018, the CPU 301 reads its own node address from the storage areas of the addresses 1920B to 1923B, and the addresses 1924B to 1927B.
The other party's address is read from the storage area of (step 1019), and these addresses (IP addresses) are EE
Write to the PROM 304 (step 1020).

【0092】その後、CPU301は、アドレス204
6Bの記憶領域内の内容をリセットする共に(ステップ
1021)、アドレス2045Bの記憶領域のビット5
の値を0にして、IPアドレス書き込み要求を解除する
(ステップ1022)。その後は、コネクション接続シ
ーケンスを実行する(ステップ1023)。
Thereafter, the CPU 301 sends the address 204
The contents in the storage area of 6B are reset (step 1021), and bit 5 of the storage area of address 2045B is reset.
Is set to 0 to cancel the IP address write request (step 1022). After that, the connection connection sequence is executed (step 1023).

【0093】なおステップ1018においてIPアドレ
スの設定が完了していない場合は、CPU301はIP
アドレスは設定済みか否かを判断し(ステップ102
4)、ここで、設定済みの場合には上記ステップ102
3に進み、一方、設定済みでない場合は、デュアルポー
トRAM305のアドレス2045Bの記憶領域のビッ
ト5に値1を書き込んで、IPアドレス書き込み要求を
セットする(ステップ1025)。次に、アドレス20
47Bの記憶領域にINT1を書き込んで、ノンインテ
リジェント型装置150へ割り込みを発生させ(ステッ
プ1026)、その後、処理を停止する(ステップ10
27)。なおステップ1026において発生した割り込
みは、図8のステップ716において割り込みとして判
断される。この結果として「IPアドレス未設定」のエ
ラーメッセージが表示される(図8のステップ72
2)。
If the setting of the IP address is not completed in step 1018, the CPU 301 sets the IP address.
It is determined whether the address has been set (step 102).
4), if the setting has already been made, the above step 102
3, the value 1 is written in bit 5 of the storage area of the address 2045B of the dual port RAM 305 to set the IP address write request (step 1025). Then address 20
INT1 is written in the storage area of 47B to generate an interrupt to the non-intelligent device 150 (step 1026), and then the process is stopped (step 10).
27). The interrupt generated in step 1026 is determined as an interrupt in step 716 of FIG. As a result, an error message "IP address not set" is displayed (step 72 in FIG. 8).
2).

【0094】ところでステップ1023を終了したCP
U301は、コネクションが正常か否かを判断し(ステ
ップ1028)、正常の場合はデュアルポートRAM3
05のアドレス2047Bの記憶領域に割り込みを示す
データを書き込んで、ノンインテリジェント型装置15
0へ割り込みを発生させる(ステップ1029)。この
ステップ1029を終了した後は、データ送受信のシー
ケンスとなる。なおステップ1029において発生した
割り込みは、図8のステップ716において、割り込み
として判断される。この結果としてノンインテリジェン
ト型装置150のシステムが起動される(図8のステッ
プ721)。
By the way, the CP that has completed step 1023
The U301 determines whether or not the connection is normal (step 1028), and if normal, the dual port RAM3
The data indicating the interrupt is written in the storage area of the address 2047B of No. 05, and the non-intelligent device 15
An interrupt is generated to 0 (step 1029). After finishing this step 1029, the sequence of data transmission / reception starts. The interrupt generated in step 1029 is determined as an interrupt in step 716 of FIG. As a result, the system of the non-intelligent device 150 is activated (step 721 in FIG. 8).

【0095】ステップ1028においてコネクションが
エラーの場合は、CPU301は、タイムアウト(ここ
では3秒に設定されている)か否かを判断し(ステップ
1030)、タイムアウトでない場合には上記ステップ
1028に戻り、一方、タイムアウトの場合は、デュア
ルポートRAM305のアドレス2045Bの記憶領域
のビット4に値1を書き込むと共に(ステップ103
1)、アドレス2047Bの記憶領域に割り込みを示す
データを書き込んで、ノンインテリジェント型装置15
0へ割り込みを発生させ(ステップ1032)、その
後、停止する(ステップ1033)。なおステップ10
32において発生した割り込みは、図8のステップ71
6において、割り込みとして判断される。この結果とし
て「コネクションエラー」のエラーメッセージが表示さ
れる(図8のステップ723)。
If the connection is in error in step 1028, the CPU 301 determines whether or not it has timed out (here, it is set to 3 seconds) (step 1030). If it has not timed out, the process returns to step 1028, On the other hand, in the case of a time-out, the value 1 is written in bit 4 of the storage area of the address 2045B of the dual port RAM 305, and at the same time (step 103
1) Write data indicating an interrupt in the storage area of address 2047B, and
An interrupt is generated to 0 (step 1032) and then stopped (step 1033). Note that step 10
The interrupt generated at 32 is step 71 in FIG.
At 6, it is determined as an interrupt. As a result, an error message "connection error" is displayed (step 723 in FIG. 8).

【0096】以上説明したように本実施例によれば、ネ
ットワークI/F装置によって、カーネルの自動立ち上
げ処理、及びホストコンピュータとのバーチャルサーキ
ットのコネクションの自動立ち上げ処理を実施すること
ができる。
As described above, according to the present embodiment, the network I / F device can perform the automatic startup processing of the kernel and the automatic startup processing of the connection of the virtual circuit with the host computer.

【0097】またノンインテリジェント型装置をインス
トールのための入力装置として流用するようにしたの
で、インストールの際に、インストール用のための端末
(例えばパソコン)と、RS232C用のケーブルが不
要となる。
Since the non-intelligent type device is also used as the input device for installation, a terminal (for example, a personal computer) for installation and a cable for RS232C are not required at the time of installation.

【0098】またユーザあるいはサービスマンは、ノン
インテリジェント型装置を使用して容易にインストール
作業を実施することができる。
Further, the user or service person can easily perform the installation work by using the non-intelligent type device.

【0099】またネットワークI/F装置にRS232
Cポートを設ける必要がないので、例えばシリアルドラ
イブ用の周辺回路、コネクタ、シリアルドライブ用のソ
アトウェアを省略することができるので、コストの低減
を図ることができる。
Also, RS232 is used as a network I / F device.
Since it is not necessary to provide the C port, for example, peripheral circuits for serial drive, connectors, and soatware for serial drive can be omitted, so that the cost can be reduced.

【0100】更にネットワークI/F装置にRS232
Cポートを設ける必要がないので、当該装置を小型化す
ることができると共に、デザイン的な制約が少なくな
る。
Further, RS232 is added to the network I / F device.
Since it is not necessary to provide the C port, the device can be downsized, and design restrictions are reduced.

【0101】[0101]

【発明の効果】以上説明したように本発明によれば、非
インテリジェント型装置の設定手段によって、ネットワ
ークインタフェース装置を示す送信元のアドレス情報及
びインテリジェント型装置を示す送信先のアドレス情報
を設定すると、ネットワークインタフェース装置の制御
手段によって、設定手段により設定された各アドレス情
報と、主記憶手段に記憶されている所定の通信プロトコ
ルに対応する情報及びインテリジェント型装置とのデー
タの送受を可能にするための情報とに基づいて、インテ
リジェント型装置とのコネクションの確立およびデータ
の送受を行うようにしているので、ネットワークインタ
フェース装置によって、通信プロトコルをサポートつま
り、ネットワークに接続されたホストコンピュータとの
バーチャルサーキットのコネクションを確立することが
できると共に、非インテリジェント型装置によって、I
Pアドレスの設定操作を行うことができるネットワーク
システムを提供することができるという効果を奏する。
As described above, according to the present invention, when the setting information of the non-intelligent device sets the source address information indicating the network interface device and the destination address information indicating the intelligent device, The control means of the network interface device enables transmission and reception of each address information set by the setting means, information corresponding to a predetermined communication protocol stored in the main storage means, and data with the intelligent device. The network interface device supports the communication protocol, that is, the virtual network with the host computer connected to the network, by establishing the connection with the intelligent device and transmitting / receiving the data based on the information. It is possible to establish the bets connection, by non-intelligent devices, I
It is possible to provide a network system capable of performing a P address setting operation.

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

【図1】本発明に係るネットワークシステムにおけるネ
ットワークインタフェース装置及びノンインテリジェン
ト型装置の一実施例を示す機能ブロック図。
FIG. 1 is a functional block diagram showing an embodiment of a network interface device and a non-intelligent device in a network system according to the present invention.

【図2】本発明に係るネットワークシステムの一実施例
の概略を示すブロック図。
FIG. 2 is a block diagram showing an outline of an embodiment of a network system according to the present invention.

【図3】図1に示したネットワークインタフェース装置
を実現するためのハードウェア構成を示すブロック図。
FIG. 3 is a block diagram showing a hardware configuration for realizing the network interface device shown in FIG.

【図4】図1に示したネットワークインタフェース装置
を実現するためのソフトウェア構成を示すブロック図。
FIG. 4 is a block diagram showing a software configuration for implementing the network interface device shown in FIG.

【図5】ネットワークインタフェース装置のデュアルポ
ートRAMのメモリマッピングの様子を示した図。
FIG. 5 is a diagram showing a memory mapping state of a dual port RAM of the network interface device.

【図6】ネットワークインタフェース装置及びノンイン
テリジェント型装置の概略処理動作を示すフローチャー
ト。
FIG. 6 is a flowchart showing a schematic processing operation of a network interface device and a non-intelligent device.

【図7】ノンインテリジェント型装置の詳細な処理動作
を示すフローチャート。
FIG. 7 is a flowchart showing detailed processing operations of the non-intelligent device.

【図8】ノンインテリジェント型装置の詳細な処理動作
を示すフローチャート。
FIG. 8 is a flowchart showing detailed processing operations of the non-intelligent device.

【図9】ノンインテリジェント型装置側において表示さ
れるIPアドレスを設定するための画面の一例を示す
図。
FIG. 9 is a diagram showing an example of a screen for setting an IP address displayed on the non-intelligent device side.

【図10】ネットワークインタフェース装置の詳細な処
理動作を示すフローチャート。
FIG. 10 is a flowchart showing a detailed processing operation of the network interface device.

【図11】ネットワークインタフェース装置の詳細な処
理動作を示すフローチャート。
FIG. 11 is a flowchart showing a detailed processing operation of the network interface device.

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

100、220、230…ネットワークインタフェース
装置 110、151…ハードウェア 110A…主記憶手段 110B…アドレス記憶手段 110C…制御手段 120…リアルタイムカーネル部 130…通信プロトコル部 140…アプリケーション部 150、250、260…ノンインテリジェント型装置 151A…記憶部 151B…制御部 151C…表示部 151D…設定手段 160、210…ローカルエリアネットワーク 240…ホストコンピュータ 301…CPU 302…ROM 303…RAM 304…EEPROM 305…デュアルポートRAM 306…LANCE 309…エンコーダ/デコーダ 310、320…トランシーバ
100, 220, 230 ... Network interface device 110, 151 ... Hardware 110A ... Main storage means 110B ... Address storage means 110C ... Control means 120 ... Real-time kernel section 130 ... Communication protocol section 140 ... Application section 150, 250, 260 ... Non Intelligent type device 151A ... Storage unit 151B ... Control unit 151C ... Display unit 151D ... Setting means 160, 210 ... Local area network 240 ... Host computer 301 ... CPU 302 ... ROM 303 ... RAM 304 ... EEPROM 305 ... Dual port RAM 306 ... LANCE 309 ... Encoder / decoder 310, 320 ... Transceiver

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04L 13/08 8220−5K Continuation of the front page (51) Int.Cl. 5 Identification number Office reference number FI technical display location H04L 13/08 8220-5K

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】インテリジェント型装置と、非インテリジ
ェント型装置が接続されたネットワークインタフェース
装置とがネットワークを介して接続されたネットワーク
システムにおいて、 前記非インテリジェント型装置は、 前記ネットワークインタフェース装置を示す送信元のア
ドレス情報及び前記インテリジェント型装置を示す送信
先のアドレス情報を設定する設定手段を具えると共に、 前記ネットワークインタフェース装置は、 所定の通信プロトコルに対応する情報と、前記インテリ
ジェント型装置とのデータの送受を可能にするための情
報とを記憶する主記憶手段と、 前記送信元のアドレス情報及び送信先のアドレス情報を
記憶するアドレス記憶手段と、 このアドレス記憶手段に前記各アドレス情報が記憶され
ていない場合は、前記非インテリジェント型装置に対し
て前記各アドレス情報の設定要求を送出すると共に、こ
の要求に応答した前記非インテリジェント型装置からの
前記設定手段により設定された前記各アドレス情報とに
基づいて、前記インテリジェント型装置とのコネクショ
ンの確立およびデータの送受を行う制御手段とを具えた
ことを特徴とするネットワークシステム。
1. A network system in which an intelligent device and a network interface device to which a non-intelligent device is connected are connected via a network, wherein the non-intelligent device is a transmission source indicating the network interface device. The network interface device is provided with setting means for setting address information and destination address information indicating the intelligent device, and the network interface device transmits / receives information corresponding to a predetermined communication protocol and data to / from the intelligent device. Main storage means for storing information for enabling, address storage means for storing the source address information and destination address information, and the case where each address information is not stored in this address storage means Is before A request for setting each address information is sent to the non-intelligent device, and the intelligent type is sent based on the address information set by the setting means from the non-intelligent device in response to the request. A network system comprising a control means for establishing a connection with a device and transmitting and receiving data.
【請求項2】前記所定の通信プロトコルは、トランスミ
ッションコントロールプロトコルC及びインターネット
プロトコルであり、前記送信元のアドレス情報及び送信
先のアドレス情報は、前記インターネットプロトコルで
定義されるインターネットプロトコルアドレスに適合す
るものであることを特徴とするネットワークシステム。
2. The predetermined communication protocol is a transmission control protocol C and an internet protocol, and the source address information and the destination address information are compatible with an internet protocol address defined by the internet protocol. A network system characterized by being.
JP4307271A 1992-11-17 1992-11-17 Network system Pending JPH06164676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4307271A JPH06164676A (en) 1992-11-17 1992-11-17 Network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4307271A JPH06164676A (en) 1992-11-17 1992-11-17 Network system

Publications (1)

Publication Number Publication Date
JPH06164676A true JPH06164676A (en) 1994-06-10

Family

ID=17967116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4307271A Pending JPH06164676A (en) 1992-11-17 1992-11-17 Network system

Country Status (1)

Country Link
JP (1) JPH06164676A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999056186A1 (en) * 1998-04-27 1999-11-04 Digital Electronics Corporation Control system, display, host computer for control, and data transmitting method
WO2003084139A1 (en) * 2002-03-29 2003-10-09 Matsushita Electric Industrial Co., Ltd. Lan adapter

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999056186A1 (en) * 1998-04-27 1999-11-04 Digital Electronics Corporation Control system, display, host computer for control, and data transmitting method
US6867749B1 (en) 1998-04-27 2005-03-15 Digital Electronics Corporation Control system, display device, control-use host computer, and data transmission method
US7103421B2 (en) 1998-04-27 2006-09-05 Digital Electronics Corporation Control system, display device, control-use host computer, and data transmission method
KR100722697B1 (en) * 1998-04-27 2007-05-30 가부시끼가이샤 디지탈 Control system, display device, control-use host computer, and data transmission method
US7716354B2 (en) 1998-04-27 2010-05-11 Digital Electronics Corporation Control system, display device, control-use host computer, and data transmission method
WO2003084139A1 (en) * 2002-03-29 2003-10-09 Matsushita Electric Industrial Co., Ltd. Lan adapter

Similar Documents

Publication Publication Date Title
TWI239160B (en) Remote booting method and apparatus applied in WAN based on IP technique
US7554931B2 (en) System and method for remote dynamic network configuration
US20060002352A1 (en) Information processing device, printing device, printing system, system setting method, storage medium storing computer-readable program, and program
JP2001256170A (en) Peripheral device and printer
JPH0778771B2 (en) Remote system reboot mechanism and method of rebooting a local central processing unit from a remote console
US8112769B2 (en) System and method for implementing and/or operating network interface devices to achieve network-based communications
US20070155422A1 (en) Method for controlling mobile data connection through USB Ethernet management of mobile station
US6158020A (en) Remote jumper set and reset
US7464133B1 (en) Server/client system
JP2003044288A (en) Information processor, information processing system and program
US7861019B2 (en) System and method for implementing and/or operating network interface devices to achieve network-based communications
JPH06164676A (en) Network system
US20040221151A1 (en) Information processing system including communication-enabled information processing device equipped with no user interface and a method of control thereof
JP2007310897A (en) Computer system and computer control method, and storage medium stored with control program
JP2609078B2 (en) Centralized management system using bus interface unit
US20030187825A1 (en) Method of controlling storage system, storage unit, management unit, and program therefor
JP2006277733A (en) Programmable controller system
WO2001093032A1 (en) Computer system, method of controlling computer, and medium storing control program
JP2914362B2 (en) Server automatic operation device with power control function in client / server system
JPH06164675A (en) Network system
JP2009032241A (en) Computer system, computer control method, and storage medium storing control programs
CN106101784B (en) A kind of repositioning method and device of smart television control Bluetooth chip
US7281056B1 (en) Assigning a device to a network
CN106445571B (en) Mainboard and starting method
JP2642082B2 (en) Starting the communication program