JPH10285195A - Simple network system - Google Patents

Simple network system

Info

Publication number
JPH10285195A
JPH10285195A JP9091217A JP9121797A JPH10285195A JP H10285195 A JPH10285195 A JP H10285195A JP 9091217 A JP9091217 A JP 9091217A JP 9121797 A JP9121797 A JP 9121797A JP H10285195 A JPH10285195 A JP H10285195A
Authority
JP
Japan
Prior art keywords
simple network
intelligent controller
intelligent
channel
interface circuit
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
JP9091217A
Other languages
Japanese (ja)
Inventor
Takahisa Okiyama
孝久 沖山
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP9091217A priority Critical patent/JPH10285195A/en
Publication of JPH10285195A publication Critical patent/JPH10285195A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PROBLEM TO BE SOLVED: To save wiring in a device by incorporating various actuators, A/D converters, D/A converters and various sensors in the device in an intelligent controller having registers and a CPU, making them into units and constituting a simple network using a serial interface. SOLUTION: Address numbers on the simple network are allocated to intelligent controllers 2-5 and they are sequentially connected by a DC power source and the simple network cable of two cores shielding. The final terminal of the cable is terminated. The simple network interface circuit 12 of a host computer-side incorporates the input/output registers corresponding to the address numbers on the simple network and cyclically executes serial communication from the lowest address number to the final address number with an intelligent controller. Thus, the increase/decrease of the intelligent controller unit is simply conducted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は簡易ネットワーク型
インターフェイスを持ったコントローラを使用して装置
内の省配線化を行い,インテリジェント化したユニット
単位でのシステム構築を行う簡易ネットワーク型省配線
システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a simple network-type wiring-saving system that uses a controller having a simple network-type interface to reduce the number of wires in a device and to construct a system in units of intelligent units.

【0002】[0002]

【従来の技術】装置を構成する各種モータ,バルブ,リ
レーなどのアクチュエータの制御と位置検出や計測用セ
ンサなどからのセンサ情報の入力は,装置が大型化すれ
ばするほど複雑になり,それらの配線が膨大になって装
置内のユニット等の設置空間を圧迫し、配線のコストを
上昇させ、パラレル配線による配線の引き回しから来る
ノイズの発生や,外部ノイズによる装置の誤動作などの
要因となった。
2. Description of the Related Art The control of actuators such as various motors, valves and relays constituting a device and input of sensor information from position detection and measurement sensors become more complicated as the device becomes larger. Wiring became enormous, putting pressure on the installation space for units and the like in the equipment, increasing the cost of wiring, causing noise due to wiring routing using parallel wiring, and causing equipment malfunction due to external noise. .

【0003】また、マンマシンインターフェイスとして
のパソコンへの展開において,その通信接続の手段には
RS232CやRS422などがあるが,これらは一対
一の接続になる為インテリジェント化したユニットを増
設する度にRS232CやRS422の通信ポートを増
やさなければならなかった。
[0003] In the development of personal computers as a man-machine interface, there are RS232C and RS422 as means for communication connection. These are one-to-one connections, so each time an intelligent unit is added, RS232C is added. And the communication port of RS422 had to be increased.

【0004】[0004]

【発明が解決しようとする課題】装置を構成する各種モ
ータ,バルブ,リレーなどのアクチュエータの制御と位
置検出や計測用センサなどからのセンサ情報の入力は制
御の処理速度を要求される為,パラレル配線をせざるを
得なかったと言う問題点があった。本発明は,装置内の
ユニット等の設置空間を増やし、配線のコストを減少さ
せ、パラレル配線による配線の引き回しを減らし,これ
から来るノイズの発生や,外部ノイズによる装置の誤動
作等を減少させる事を目的とする。
The control of actuators such as various motors, valves, and relays constituting the apparatus and the input of sensor information from position detection and measurement sensors require processing speed of control. There was a problem that wiring had to be performed. The present invention increases the installation space for units and the like in an apparatus, reduces the cost of wiring, reduces the routing of wiring by parallel wiring, and reduces the generation of noise coming from the apparatus and the malfunction of the apparatus due to external noise. Aim.

【0005】更に本発明はRS232CやRS422な
どによる一対一の通信を使用する必要がなく,ユニット
の増設は通信ポートの増設無しで、簡易ネットワーク用
通信ケーブルを延長接続するだけで容易に可能とする事
を目的とする。
Further, the present invention does not require the use of one-to-one communication by RS232C, RS422 or the like, and makes it possible to add units simply by extending and connecting a simple network communication cable without adding a communication port. For the purpose.

【0006】[0006]

【課題を解決するための手段】上記の問題点を解決する
ために,本発明は簡易ネットワーク型インターフェイス
を使用して各種アクチュエータの制御やA/D変換,D
/A変換等をユニット内に構成し、制御用データ通信を
行う事にした。この事により配線のコストを減少させ,
またノイズによる装置の誤動作を防止できる。
In order to solve the above-mentioned problems, the present invention uses a simple network type interface to control various actuators, perform A / D conversion, and perform D / D conversion.
A / A conversion and the like are configured in the unit, and control data communication is performed. This reduces wiring costs,
Further, malfunction of the device due to noise can be prevented.

【0007】[0007]

【発明の実施の形態】本発明はホストコンピュータ側に
使用するCPUインターフェイスカードとして,CPU
バスに対応したISAボード,VMEボード或いはPC
MCIAボード上にパラレル/シリアル(RS48
5):シリアル(RS485)/パラレル変換回路を用
いて簡易ネットワーク型インターフェイス回路を実現し
たCPUインターフェイスボードとモーター,バルブ,
リレー等の各種アクチュエータを制御する入出力回路を
持つ省配線のインテリジェントコントローラに上記簡易
ネットワーク型インターフェイス回路を用いたユニット
を組み合わせて使用する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention relates to a CPU interface card used on a host computer side.
ISA board, VME board or PC corresponding to bus
Parallel / Serial (RS48) on MCIA board
5): CPU interface board realizing simple network type interface circuit using serial (RS485) / parallel conversion circuit, motor, valve,
A unit using the above simple network type interface circuit is used in combination with an intelligent controller with reduced wiring having an input / output circuit for controlling various actuators such as relays.

【0008】簡易ネットワークの通信はCPUインター
フェイスカードのパラレル/シリアル(RS485)変
換回路で構成される簡易ネットワークインターフェイス
回路内のパラレル入出力レジスタをホストCPUから読
み書きする事により簡易ネットワーク上に接続された省
配線のインテリジェントコントローラのデータを読み書
きしたり,ホストCPUからインテリジェントコントロ
ーラにコマンドを送出したりする事ができる。
The communication of the simple network is performed by reading / writing the parallel input / output register in the simple network interface circuit composed of the parallel / serial (RS485) conversion circuit of the CPU interface card from the host CPU, thereby saving the connection connected to the simple network. Data can be read from and written to the intelligent controller of the wiring, and commands can be sent from the host CPU to the intelligent controller.

【0009】簡易ネットワーク上のインテリジェントコ
ントローラには簡易ネットワーク上のアドレス番号が割
り振られている。従ってインテリジェントコントローラ
を簡易ネットワーク上に増設するには前のアドレスに続
く番号を新たに割り振りDC電源と二芯シールドの簡易
ネットワークケーブルを接続し,もしこれが最後のイン
テリジェントコントローラならば,ここで簡易ネットワ
ークケーブルを終端する。
An intelligent controller on a simple network is assigned an address number on the simple network. Therefore, to add an intelligent controller to a simple network, assign a new number following the previous address, connect the DC power supply and a simple shielded double-core network cable, and if this is the last intelligent controller, enter the simple network cable here. Is terminated.

【0010】ホストコンピュータ側の簡易ネットワーク
インターフェイス回路には簡易ネットワーク上のアドレ
ス番号に対応した入出力レジスタが内蔵されている。そ
して簡易ネットワークインターフェイス回路はインテリ
ジェントコントローラとCPUインターフェイスカード
との間で,簡易ネットワーク上のアドレス番号の若い順
から終端されているアドレス番号までサイクリックにシ
リアル通信を行って,常に最新のデータに更新してい
る。この簡易ネットワークによりインテリジェントコン
トローラ単位での増減が簡単になり装置の省配線が可能
となる。
An input / output register corresponding to an address number on the simple network is built in the simple network interface circuit on the host computer side. The simple network interface circuit cyclically performs serial communication between the intelligent controller and the CPU interface card from the lowest address number on the simple network to the terminated address number, and constantly updates the latest data. ing. This simple network makes it easy to increase or decrease in units of the intelligent controller, and wiring of the device can be reduced.

【0011】[0011]

【実施例】実施例について図面を参照して説明する。図
1は簡易ネットワークシステムの一実施例を示すブロッ
ク図であり,図2は図1に示す簡易ネットワークシステ
ム中のレジスタの対応を示した図である。図1のホスト
コンピュータ側のホストCPUインターフェイスカード
1はCPUバスに合わせたバスインターフェイス回路1
1と簡易ネットワークインターフェイス回路12とで構
成される。
An embodiment will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the simple network system, and FIG. 2 is a diagram showing correspondence of registers in the simple network system shown in FIG. The host CPU interface card 1 of the host computer shown in FIG. 1 is a bus interface circuit 1 adapted to a CPU bus.
1 and a simple network interface circuit 12.

【0012】簡易ネットワークインターフェイス回路1
2は図2に示す様に8ビットの書き込み専用にレジスタ
121a,121bを2個と読み出し専用のレジスタ1
21c,121dを2個とで1セットに成っているレジ
スタグループ121を有している。更に、簡易ネットワ
ークインターフェイス回路12は,レジスタグループ1
22、123、124を有している。たとえば図1に示
す様に,この1セットのレジスタグループ121が簡易
ネットワーク13上のインテリジェントコントローラ2
に対応している。4個のレジスタグループ121、12
2、123、124にはそれぞれ4個のインテリジェン
トコントローラ2、3、4、5を接続する事ができる。
図2に示す1個のレジスタグループ121の書き込み専
用の8ビットのレジスタ121aの割り込み送信フラッ
グ121awに”1”を書き込むとレジスタグループ1
21aに対応するインテリジェントコントローラ2のネ
ットワーク回路内レジスタ21にある割り込みフラグレ
ジスタ21wがセットされCPU22に割り込みを掛け
られるように構成する。割り込みが掛けられたCPU2
2は割り込み処理プログラム内で割り込みフラグレジス
タ21wに”1”を書き込むとその割り込みフラグはク
リアされる。この方法でホストCPUインターフェイス
カード1はインテリジェントコントローラ2、3、4、
5に対してコマンドを送る処理を行う。なお,21、3
1、41、51はそれぞれネットワーク回路内レジスタ
である。22、32、42、52はそれぞれCPUであ
り、23、33、43、53はそれぞれ入出力ポートで
ある。
Simple network interface circuit 1
Reference numeral 2 denotes two registers 121a and 121b dedicated to 8-bit writing and a read-only register 1 as shown in FIG.
The register group 121 includes two sets 21c and 121d. Further, the simple network interface circuit 12 is provided with the register group 1
22, 123, and 124. For example, as shown in FIG.
It corresponds to. Four register groups 121 and 12
Four intelligent controllers 2, 3, 4, and 5 can be connected to 2, 123, and 124, respectively.
When "1" is written to the interrupt transmission flag 121aw of the write-only 8-bit register 121a of one register group 121 shown in FIG.
An interrupt flag register 21w in a register 21 in the network circuit of the intelligent controller 2 corresponding to 21a is set so as to interrupt the CPU 22. Interrupted CPU2
2 is that when "1" is written to the interrupt flag register 21w in the interrupt processing program, the interrupt flag is cleared. In this way, the host CPU interface card 1 is connected to the intelligent controllers 2, 3, 4,
Then, a process of sending a command to S.5. In addition, 21, 3
1, 41 and 51 are registers in the network circuit. Reference numerals 22, 32, 42, and 52 denote CPUs, and reference numerals 23, 33, 43, and 53 denote input / output ports.

【0013】図2に示す簡易ネットワークインターフェ
イス回路12内のレジスタグループ121、122、1
23、124内の各レジスタには順番にチャンネル0か
らチャンネル15までのレジスタ番号が割り振られてい
て、このチャンネル番号と簡易ネットワーク13上のア
ドレス番号が一対一に対応している。たとえば,レジス
タ121aにはチャンネル0の番号が割り振られ,レジ
スタ121bにはチャンネル1の番号が割り振られる。
なお、13a,13b,13c,13d、13e、13
f、13g、13hはそれぞれネットワーク通信路であ
る。
Register groups 121, 122, 1 in the simplified network interface circuit 12 shown in FIG.
Register numbers 23 to 124 are sequentially assigned to register numbers from channel 0 to channel 15, and the channel numbers correspond to the address numbers on the simple network 13 on a one-to-one basis. For example, the number of channel 0 is assigned to the register 121a, and the number of channel 1 is assigned to the register 121b.
13a, 13b, 13c, 13d, 13e, 13
f, 13g, and 13h are network communication paths, respectively.

【0014】簡易ネットワークインターフェイス回路1
2の通信方式はサイクリック方式でチャンネル0の入力
より送信を始めて応答(ACK)を確認しながら順次チ
ャンネルの送信を行う。チャンネル0の入力を行うには
簡易ネットワーク13のライン上をモニタして、一定時
間キャリアが無くなるのを確認してからチャンネル0の
送信を始める。
Simple network interface circuit 1
The communication method 2 is a cyclic method in which transmission is started from the input of channel 0, and transmission of channels is sequentially performed while confirming a response (ACK). In order to input the channel 0, the transmission on the channel 0 is started after monitoring the line of the simple network 13 and confirming that the carrier is exhausted for a certain time.

【0015】インテリジェントコントローラ2、3まで
を簡易ネットワーク13に接続し,インテリジェントコ
ントローラ4、5を接続しないで簡易ネットワーク13
を終端14で終端した場合を図3に示す。サイクリック
方式でチャンネル0から通信を開始し順次チャンネル2
から7までの通信を行い,チャンネル8まで来るとチャ
ンネル8が無く簡易ネットワーク13は終端されている
為に一定時間後にキャリアが無くなると再びチャンネル
0の通信が開始される。
The intelligent controllers 2 and 3 are connected to the simple network 13, and the intelligent controllers 4 and 5 are
FIG. Communication starts from channel 0 in a cyclic manner, and channel 2
The communication from channel 7 to channel 7 is performed, and when channel 8 is reached, channel 8 is absent and the simple network 13 is terminated. If there is no carrier after a certain period of time, communication on channel 0 starts again.

【0016】この様にインテリジェントコントローラを
必要な数だけ簡易ネットワーク13に接続するだけで簡
単にインテリジェントコントローラの増減が出来る。受
信側(インテリジェントコントローラ側)は,自分のチ
ャンネル番号と1対1で対応しているアドレスのパケッ
トデータのみを受け取り応答(ACK)信号を送信す
る。ホストCPUインターフェイスカード側(送信側)
では、チャンネル0以外の入力では,データのチャンネ
ル番号と1対1で対応しているアドレスを監視して,自
分のアドレスより1つ前のアドレスが来たら準備を始
め,次にデータを送信する様にする。
As described above, simply connecting the required number of intelligent controllers to the simple network 13 can easily increase or decrease the number of intelligent controllers. The receiving side (intelligent controller side) receives only the packet data of the address corresponding one-to-one with its own channel number and transmits an acknowledgment (ACK) signal. Host CPU interface card side (transmission side)
Then, for an input other than channel 0, the address corresponding to the channel number of the data is monitored on a one-to-one basis, and if an address one before the own address comes, preparation is started, and then data is transmitted. Like

【0017】この様に簡易ネットワーク13上のデータ
は簡易ネットワークインターフェイス回路12だけで常
に最新のデータに更新されていることになるのでホスト
コンピュータ側のホストCPUやインテリジェントコン
トローラ側のCPUはただ必要なレジスタの内容を読み
出すか書き込むだけで通信する事が出来る。
Since the data on the simple network 13 is always updated to the latest data only by the simple network interface circuit 12, the host CPU on the host computer side and the CPU on the intelligent controller side need only register Communication can be performed simply by reading or writing the contents of.

【0018】[0018]

【発明の効果】本発明は上述した構成により,従来の一
対一に接続するRS232C等によるシリアル通信を用
いた装置構成よりも,この簡易ネットワークインターフ
ェイス回路12を用いたユニットレジスタグループによ
り簡易ネットワーク13のケーブルを延長するだけで簡
単に制御ユニット(インテリジェントコントローラ)を
増設出来,更に制御の為のパラレル入出力ケーブルを引
き回さなくても良くなり装置内の省配線に貢献出来る。
According to the present invention, with the above-described configuration, the unit network of the simple network interface circuit 12 can be used for the simple network 13 rather than the conventional one-to-one connection using serial communication by RS232C or the like. The control unit (intelligent controller) can be easily added simply by extending the cable, and it is not necessary to route the parallel input / output cable for control, which contributes to the reduction of wiring in the device.

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

【図1】本発明の一実施例を示す簡易ネットワークシス
テムのブロック図である。
FIG. 1 is a block diagram of a simplified network system showing one embodiment of the present invention.

【図2】簡易ネットワーク上でのレジスタの対応関係を
示す図である。
FIG. 2 is a diagram showing a correspondence relationship between registers on a simple network.

【図3】本発明の他の実施例を示す簡易ネットワークシ
ステムのブロック図を示す。
FIG. 3 is a block diagram of a simplified network system showing another embodiment of the present invention.

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

1 ホストCPUインターフェイス回路 2、3、4、5 インテリジェントコントローラ 11 インターフェイス回路 12 簡易ネットワークインターフェイス回路 13 簡易ネットワーク 14 終端 21、31、41、51 ネットワーク回路内レジスタ 22、32、42、52 CPU 23、33、43、53 入出力ポート DESCRIPTION OF SYMBOLS 1 Host CPU interface circuit 2, 3, 4, 5 Intelligent controller 11 Interface circuit 12 Simple network interface circuit 13 Simple network 14 Termination 21, 31, 41, 51 Register in network circuit 22, 32, 42, 52 CPU 23, 33, 43, 53 I / O port

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 簡易ネットワーク型のシリアルインター
フェイスを用いて、装置内のモータ,バルブ,リレー等
の各種アクチュエータや計測用センサ,位置検出セン
サ,A/D変換,D/A変換などを必要なグループにユ
ニット化して,システムの制御やデータの通信をインテ
リジェントに実行する簡易ネットワークシステム。
1. A group that requires various actuators such as motors, valves, and relays in a device, measurement sensors, position detection sensors, A / D conversion, and D / A conversion using a simple network type serial interface. A simple network system that is unitized and intelligently executes system control and data communication.
JP9091217A 1997-04-09 1997-04-09 Simple network system Pending JPH10285195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9091217A JPH10285195A (en) 1997-04-09 1997-04-09 Simple network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9091217A JPH10285195A (en) 1997-04-09 1997-04-09 Simple network system

Publications (1)

Publication Number Publication Date
JPH10285195A true JPH10285195A (en) 1998-10-23

Family

ID=14020264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9091217A Pending JPH10285195A (en) 1997-04-09 1997-04-09 Simple network system

Country Status (1)

Country Link
JP (1) JPH10285195A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002242058A (en) * 2001-02-06 2002-08-28 Hakuryu Kikaisho Kofun Yugenkoshi Controller of knitting machine through internet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002242058A (en) * 2001-02-06 2002-08-28 Hakuryu Kikaisho Kofun Yugenkoshi Controller of knitting machine through internet

Similar Documents

Publication Publication Date Title
JP2002368766A (en) Wire harness system
JPH06217373A (en) Integrated wiring system
US6731089B2 (en) Flexible and compact motor control module based on the can communication network
JPH09508743A (en) Data bus controller and process
JP2008263678A (en) Servo motor control device
JPH01135150A (en) Node address setting system for network
KR0135895B1 (en) Interface device using multiple ID ports
JP4346539B2 (en) Control device
JP2000324896A (en) Data transmission system and image forming apparatus
JP3849860B2 (en) Fieldbus equipment
JP3750720B2 (en) Multi-axis amplifier system operation device
JPH04322351A (en) Interface system for data communication processing device
JPH05316128A (en) Signal transfer method
JPH03131140A (en) Group wiring system
CN120276316A (en) Connecting wire multiplexing method for industrial control
JP2965012B2 (en) Power control device
JPH1031650A (en) Controller for working machine
JP2004070422A (en) Configuration of servo drive
JP2708366B2 (en) Data processing system and auxiliary control device
JPH04370863A (en) Information processor
JPH0540516A (en) NC device communication system and NC device
JPH09160613A (en) Servo substrate with programmable controller function
KR20010076857A (en) System for interfacing host computer to multiple communication module
JPS6165351A (en) Control system
JPH04205105A (en) Manifold solenoid valve controller

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040302

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040526