Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0342026B2 - - Google Patents
[go: Go Back, main page]

JPH0342026B2 - - Google Patents

Info

Publication number
JPH0342026B2
JPH0342026B2 JP60157157A JP15715785A JPH0342026B2 JP H0342026 B2 JPH0342026 B2 JP H0342026B2 JP 60157157 A JP60157157 A JP 60157157A JP 15715785 A JP15715785 A JP 15715785A JP H0342026 B2 JPH0342026 B2 JP H0342026B2
Authority
JP
Japan
Prior art keywords
slave station
transmitting
station
transmission
data
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.)
Expired
Application number
JP60157157A
Other languages
Japanese (ja)
Other versions
JPS6218149A (en
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 filed Critical
Priority to JP60157157A priority Critical patent/JPS6218149A/en
Publication of JPS6218149A publication Critical patent/JPS6218149A/en
Publication of JPH0342026B2 publication Critical patent/JPH0342026B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、共通バスに接続されるデータ伝送装
置等において、制御局によつてデータ伝送が制御
される複数の送信用子局、受信用子局間の多重伝
送方法の改善に関するものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention is directed to a data transmission device or the like connected to a common bus, in which a plurality of transmitting slave stations and receiving slave stations whose data transmission is controlled by a control station are connected to a common bus. This invention relates to improvement of multiplex transmission method between slave stations.

<従来の技術> 従来のデータ伝送装置の例を第3図に示し、多
重伝送方法を説明する。
<Prior Art> An example of a conventional data transmission device is shown in FIG. 3, and a multiplex transmission method will be explained.

この図に示すように、制御局Cと送信用子局
s1,s2,…,soと受信用子局r1,r2,…,roが共通
バスBに接続されている。
As shown in this figure, the control station C and the transmitting slave station
s 1 , s 2 , . . . , s o and reception slave stations r 1 , r 2 , . . . , r o are connected to a common bus B.

また、送信用子局s1及び受信用子局r1には子局
アドレス1、送信用子局s2及び受信用子局r2には
子局アドレス2、そして送信用子局so及び受信用
子局roには子局アドレスnが、それぞれの子局に
設置されているデイツプ・スイツチ等によつて設
定されている。
In addition, slave station address 1 is assigned to the transmitting slave station s 1 and receiving slave station r 1 , slave station address 2 is assigned to the transmitting slave station s 2 and receiving slave station r 2 , and slave station address 2 is assigned to the transmitting slave station s 1 and the receiving slave station r 1 . A slave station address n is set for the reception slave station r o by a dip switch or the like installed in each slave station.

このように構成された従来のデータ伝送装置に
おいては、第4図のタイム・チヤートに示すよう
に、制御局Cから、はじめにリセツト・パルスrp
が出力され、子局アドレスに対応するカウント・
パルスcp及びデータ情報d1が出力される。即ち、
制御局Cのリセツト・パルスrpによつてこのデー
タ伝送装置自身が伝送可能となり、各子局は制御
局Cからのカウント・パルスcpのカウントを開
始し、例えば、カウント・パルスcpを1パル
ス・カウントした送信用子局s1、受信用子局r1
(ともに子局アドレス;1)は有効となり、続い
て制御局から出力されるデータ伝送情報d1(この
データ伝送情報は制御局から出力しても送信用子
局自身が出力しても良い)によつて、送信用子局
s1は伝送データを受信用子局r1へ出力して伝送を
行なう。
In the conventional data transmission device configured in this way, as shown in the time chart of FIG.
is output, and the count corresponding to the slave station address is output.
Pulse cp and data information d1 are output. That is,
The reset pulse rp from the control station C enables the data transmission device itself to transmit, and each slave station starts counting the count pulses cp from the control station C. Counted sending slave station s 1 , receiving slave station r 1
(Both slave station address; 1) becomes valid, and then data transmission information d 1 is output from the control station (This data transmission information may be output from the control station or from the transmitting slave station itself) Depending on the transmitting slave station
S1 outputs transmission data to receiving slave station r1 for transmission.

そして、次に出力されたカウント・パルスcp
をカウントした送信用子局s2は上記の動作と同様
に、伝送データを受信用子局にr2に伝送する。
Then, the next output count pulse cp
The transmitting slave station s 2 that has counted the transmission data transmits the transmission data to the receiving slave station r 2 in the same manner as described above.

同様に動作をアドレスnまで行なつて1サイク
ル終了し、制御局Cからリセツト・パルスrpが出
力される。
The same operation is performed up to address n, one cycle is completed, and the control station C outputs a reset pulse rp.

このように、従来の多重伝送方法は、送信用子
局と受信用子局とは、その子局アドレスを同一に
することによつて子局を1:1に対応させてデー
タ伝送を行なつていた。
In this way, in the conventional multiplex transmission method, data transmission is performed by making the transmitting slave station and the receiving slave station have the same slave station address, thereby making the slave stations correspond 1:1. Ta.

尚、このデータ伝送装置においては、送受信両
方の機能を有する子局が含まれる場合もある。
Note that this data transmission device may include a slave station having both transmitting and receiving functions.

しかしながら、工場等においては、例えば、製
品組み立てラインの変更はしばしば行なわれ、従
来のデータ伝送装置にあつては、送信用子局と受
信用子局との対応を取るため、各子局のアドレス
を各子局に設置されているデイツプ・スイツチに
よつて同一に設定する必要があつた。従つて、人
間が各子局のアドレス変更をデイツプ・スイツチ
によつて行なうため、子局の配置を人間がアクセ
ス可能な位置に設置する必要があり、多種データ
伝送システムでは各子局を遠隔地に分散配置する
ことが多く、この送信用子局と受信用子局との一
致操作を困難にしていた。
However, in factories, for example, product assembly lines are often changed, and in conventional data transmission equipment, the address of each slave station must be It was necessary to set the same value using the dip switch installed in each slave station. Therefore, since humans change the address of each slave station using a dip switch, it is necessary to install the slave stations in locations that are accessible to humans. This makes it difficult to match the transmitting slave stations with the receiving slave stations.

<発明が解決しようとする問題点> 本発明が解決しようとする問題は、送信用子局
と受信用子局との対応を制御局側の操作で行なお
うとすることであり、子局のアドレス変更操作を
容易にすることを目的とするものである。
<Problems to be Solved by the Invention> The problems to be solved by the present invention are to perform the correspondence between a transmitting slave station and a receiving slave station through operations on the control station side. The purpose is to facilitate address change operations.

<問題を解決するための手段> 上記した問題を解決するための本発明は以下の
通りである。
<Means for Solving the Problems> The present invention for solving the above problems is as follows.

即ち、制御局と、共通バスに接続され前記制御
局によつてデータ伝送が制御される複数の送信用
子局、受信用子局とを有するデータ伝送装置の多
重伝送方法において、前記制御局内部に外部から
伝送情報を記憶格納することのできるメモリ・テ
ーブルを設け、前記複数の送信用子局、受信用子
局の各々に固定のアドレスを設定し、データ伝送
の際前記送信用子局からの伝送データを前記メモ
リ・テーブルに記憶格納し、この記憶格納された
伝送データを前記メモリ・テーブルに記憶格納さ
れた伝送情報に従つて指定された受信用子局に伝
送することを特徴とする多重伝送方法である。
That is, in a multiplex transmission method for a data transmission device having a control station and a plurality of transmitting slave stations and receiving slave stations connected to a common bus and whose data transmission is controlled by the control station, A memory table capable of storing transmission information from the outside is provided in the device, a fixed address is set for each of the plurality of transmitting slave stations and receiving slave stations, and when data is transmitted, a memory table is provided that can store transmission information from the outside. transmission data is stored in the memory table, and the stored transmission data is transmitted to a designated reception slave station according to the transmission information stored and stored in the memory table. This is a multiplex transmission method.

<作用> 本発明の多重伝送方法によれば、次のように動
作が行なわれる。
<Operation> According to the multiplex transmission method of the present invention, the following operations are performed.

送信用子局、受信用子局にそれぞれ異なる独自
のアドレスを設定し、データ伝送の際は、送信用
子局からのデータ情報を一旦制御局内部のメモ
リ・テーブルに記憶格納する。このメモリ・テー
ブルは、送信用子局アドレス、受信用子局アドレ
ス等の伝送情報が外部から設定可能なものであ
り、このメモリ・テーブルの伝送情報に従つて子
局間のデータ伝送が行なわれる。
Different unique addresses are set for the transmitting slave station and the receiving slave station, and during data transmission, data information from the transmitting slave station is temporarily stored in a memory table inside the control station. In this memory table, transmission information such as a sending slave station address and a receiving slave station address can be set from the outside, and data transmission between slave stations is performed according to the transmission information in this memory table. .

<実施例> 第1図に、本発明の多重伝送方法を実施するた
めに最適なデータ伝送装置の例をブロツク図とし
て示す。
<Embodiment> FIG. 1 shows a block diagram of an example of an optimal data transmission apparatus for carrying out the multiplex transmission method of the present invention.

この図において、制御局C内は、送信用子局か
ら送信されるデータ伝送情報と伝送情報が記憶格
納されるメモリ・テーブルc1、メモリ・テーブル
c1に情報を記憶格納動作を行なう中央処理部
CPUc2、リセツト・パルスrp、カウント・パル
スcpを発生して伝送制御を行なう伝送制御部c3
り構成される。中央処理部CPUc2は、外部のマ
ン・マシン・インターフエイス等の入力装置10
からの情報によりメモリ・テーブルc1に伝送情報
を設定するものであり、更に、制御局C内部の通
信手段c4によつて、外部の計算機20からも伝送
情報をメモリ・テーブルc1に設定することができ
る。
In this figure, inside the control station C, there is a memory table c 1 and a memory table in which the data transmission information and the transmission information transmitted from the transmitting slave station are stored.
c Central processing unit that stores and stores information in 1
It is composed of a CPU c 2 , a transmission control section c 3 that generates a reset pulse rp, and a count pulse CP to control transmission. The central processing unit CPUc 2 is connected to an input device 10 such as an external man-machine interface.
The transmission information is set in the memory table c 1 based on the information from the control station C, and the transmission information is also set in the memory table c 1 from the external computer 20 by the communication means c 4 inside the control station C. can do.

本発明の多重伝送方法を実施する際には、予め
送信用子局s1,s2,…so及び受信用子局r1,r2
…,roに対して、その子局アドレスをデイツプ・
スイツチによつて1,2,…,n,n+1,n+
2,…,n+nと設定し、それぞれ各子局毎に固
定のアドレスを設定する。送信用子局の数と受信
用子局の数は、特に一致していなくて良い。
When carrying out the multiplex transmission method of the present invention, transmitting slave stations s 1 , s 2 , ... so and receiving slave stations r 1 , r 2 ,
..., r o , its slave station address is
Depending on the switch 1, 2,..., n, n+1, n+
2, . . . , n+n, and a fixed address is set for each slave station. The number of transmitting slave stations and the number of receiving slave stations do not particularly need to match.

ここで、制御局C内のメモリ・テーブルc1の内
部構成図を第2図a,bに示す。
Here, the internal configuration diagram of the memory table c1 in the control station C is shown in FIGS. 2a and 2b.

メモリ・テーブルc1の構成が第2図aの場合に
ついて説明する。
The case where the configuration of memory table c1 is shown in FIG. 2a will be explained.

第2図aの場合、メモリ・テーブルc1には、伝
送情報として送信用子局アドレス1,2,…,n
と送信用子局から送信されるデータ伝送情報の行
き先である受信用子局アドレスn+1,n+2,
…,n+nが予め設定されている。この設定操作
は外部のマン・マシン・インターフエイス入力装
置10によつて行なわれる。そして、制御局Cか
らのカウント・パルスcpによつて有効となつた
子局アドレス1の送信用子局s1から伝送されるデ
ータ伝送情報d1は、CPUc2により送信用子局アド
レス1の領域に記憶格納され、次に子局アドレス
2の送信用子局からのデータ伝送情報d2、そして
子局アドレスnの送信用子局からのデータ伝送情
報d2,…,doが順次記憶格納される。
In the case of Fig. 2 a, memory table c 1 contains transmission slave station addresses 1, 2, ..., n as transmission information.
and receiving slave station addresses n+1, n+2, which are the destinations of data transmission information transmitted from the transmitting slave stations.
..., n+n are set in advance. This setting operation is performed using an external man-machine interface input device 10. Then, the data transmission information d 1 transmitted from the transmitting slave station s 1 of the slave station address 1, which was made valid by the count pulse cp from the control station C, is transferred to the area of the transmitting slave station address 1 by the CPUc 2. Next, data transmission information d 2 from the transmitting slave station with slave station address 2, and data transmission information d 2 , ..., d o from the transmitting slave station with slave station address n are stored and stored sequentially. be done.

これらのデータ伝送情報d1,d2,…,doが全て
メモリ・テーブルc1に格納されたならば、伝送制
御部c3は送信用子局から送信されたデータ伝送情
報d1,d2,…,doを各送信用子局に対応する受信
用子局(子局アドレスn+1,n+2,…,n+
n)に伝送を開始する。
Once all of these data transmission information d 1 , d 2 , ..., d o are stored in the memory table c 1 , the transmission control unit c 3 stores the data transmission information d 1 , d o transmitted from the transmitting slave station. 2 ,...,d o as the receiving slave station corresponding to each transmitting slave station (slave station address n+1, n+2,..., n+
transmission starts at n).

このようにして、伝送情報として送信用子局と
これに対応する受信用子局の子局アドレスがメモ
リ・テーブル内に予め記憶されているので、伝送
制御部c3はこれを参照しながら、該当するデータ
伝送情報を順次伝送することができる。
In this way, since the slave station addresses of the transmitting slave station and the corresponding receiving slave station are stored in advance in the memory table as transmission information, the transmission control unit c3 refers to this while performing the following operations. Corresponding data transmission information can be transmitted sequentially.

第2図bは、外部計算機20が通信手段c4を介
してこのメモリ・テーブルc1を記憶装置として利
用する場合である。即ち、メモリ・テーブルc1
は伝送情報として子局アドレス表(1,2,…,
n,n+1,n+2,…,n+n)が設定されて
おり、送信用子局から送信されたデータは伝送情
報d1,d2…,doは該当するデータ欄に書き込まれ
る。即ち、送信サイクルにおいて、送信用子局ア
ドレス1から送信されたデータ伝送情報d1は子局
アドレス1のデータ欄に、送信用子局アドレス2
から送信されたデータ伝送情報d2は子局アドレス
2のデータ欄に順次書き込まれる。そして、外部
計算機によつて送信用子局に対応する受信用子局
の子局アドレスが指定され、このアドレス指定操
作後にはじめて受信用子局にデータが送信され
る。
FIG. 2b shows a case where the external computer 20 uses this memory table c1 as a storage device via the communication means c4 . That is, the memory table c1 contains the slave station address table (1, 2,...,
n, n+1, n+2, . . . , n+n) are set, and the transmission information d 1 , d 2 . That is, in the transmission cycle, the data transmission information d1 sent from the sending slave station address 1 is stored in the data column of the sending slave station address 1 as the sending slave station address 2.
The data transmission information d2 transmitted from the slave station address 2 is sequentially written into the data column of the slave station address 2. Then, the external computer specifies the slave station address of the receiving slave station corresponding to the transmitting slave station, and data is transmitted to the receiving slave station only after this address designation operation.

この図に示す例は、子局アドレス1の送信用子
局に対して外部計算機20により受信用子局が子
局アドレスn+1の子局に指定され、子局アドレ
ス2の送信用子局に対して受信用子局が子局アド
レスn+2の子局に指定された例であり、受信用
子局でデータを受信しないものは、例えば「*」
等の記号を設定しておく。
In the example shown in this figure, the receiving slave station is designated by the external computer 20 as the transmitting slave station with slave address 1, and the transmitting slave station with slave address 2 is designated as the receiving slave station by the external computer 20. In this example, the receiving slave station is specified as the slave station with the slave station address n+2, and if the receiving slave station does not receive data, for example, "*" is specified.
Set symbols such as.

子局アドレス1のデータ伝送情報d1が所定のデ
ータ欄に書き込まれ、このデータ伝送情報の受信
用子局が計算機によつてn+1に指定されると、
メモリ・テーブルの子局アドレスn+1の欄にデ
ータ伝送情報d1が書き込まれる。このような操作
を順次実行しデータ欄が全て書き込まれたなら
ば、受信用子局アドレスn+1の子局からデータ
伝送情報が順次送信される。
When data transmission information d1 of slave station address 1 is written in a predetermined data column, and the slave station for receiving this data transmission information is designated by the computer as n+1,
Data transmission information d1 is written in the slave station address n+1 column of the memory table. When all of the data columns are written by sequentially performing such operations, the data transmission information is sequentially transmitted from the slave station having the reception slave station address n+1.

このようにすれば、送信用子局は外部計算機2
0への入力装置、受信用子局は外部計算機20の
出力装置として使用することができる。
If you do this, the transmitting slave station will be the external computer 2.
The input device to 0 and the reception slave station can be used as an output device of the external computer 20.

以上のようにして、送信用子局、受信用子局に
それぞれ特有のアドレスを固定して伝送を行なえ
るので、送信用子局、受信用子局に1:1の対応
を持たせる必要はない。
As described above, transmission can be performed by fixing unique addresses to the transmitting slave station and the receiving slave station, so there is no need to provide a 1:1 correspondence between the transmitting slave station and the receiving slave station. do not have.

<発明の効果> 本発明の多重伝送方法によれば、送信用子局と
受信用子局との対応を全て制御局側の操作で行な
うことができ、子局のアドレス変更操作を容易に
することができるので、工場で製品組み立てライ
ンなどの変更を容易に行なうことができるという
効果を奏する。
<Effects of the Invention> According to the multiplex transmission method of the present invention, correspondence between a transmitting slave station and a receiving slave station can be performed entirely by operations on the control station side, making it easy to change addresses of slave stations. Therefore, it is possible to easily change the product assembly line at the factory.

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

第1図は本発明の多重伝送方法を説明するため
のデータ伝送装置のブロツク図、第2図a,bは
制御局内部のメモリ・テーブルの構成図、第3図
は従来の多重伝送方法を説明するためのデータ伝
送装置のブロツク図、第4図は制御局の子局を制
御するためのパルス出力を表わすタイムチヤート
である。 s1,s2,〜,so……送信用子局、r1,r2,〜,ro
……受信用子局、C……制御局、c1……メモリ・
テーブル、c2……中央処理部CPU、c3……伝送制
御部、c4……通信手段、10……入力装置、20
……計算機。
Figure 1 is a block diagram of a data transmission device for explaining the multiplex transmission method of the present invention, Figures 2a and b are configuration diagrams of a memory table inside the control station, and Figure 3 shows the conventional multiplex transmission method. FIG. 4 is a block diagram of the data transmission device for explanation, and is a time chart showing pulse output for controlling the slave stations of the control station. s 1 , s 2 , ~, s o ... Transmission slave station, r 1 , r 2 , ~, r o
...Slave station for reception, C...Control station, c 1 ...Memory
table, c 2 ... central processing unit CPU, c 3 ... transmission control section, c 4 ... communication means, 10 ... input device, 20
……calculator.

Claims (1)

【特許請求の範囲】[Claims] 1 制御局と、共通バスに接続され前記制御局に
よつてデータ伝送が制御される複数の送信用子
局、受信用子局とを有するデータ伝送装置の多重
伝送方法において、前記制御局内部に外部から伝
送情報を記憶格納することのできるメモリ・テー
ブルを設け、前記複数の送信用子局、受信用子局
の各々に固定のアドレスを設定し、データ伝送の
際前記送信用子局からの伝送データを前記メモ
リ・テーブルに記憶格納し、この記憶格納された
伝送データを前記メモリ・テーブルに記憶格納さ
れた伝送情報に従つて指定された受信用子局に伝
送することを特徴とする多重伝送方法。
1. In a multiplex transmission method for a data transmission device having a control station and a plurality of transmitting slave stations and receiving slave stations connected to a common bus and whose data transmission is controlled by the control station, A memory table capable of storing transmission information from the outside is provided, a fixed address is set for each of the plurality of transmitting slave stations and receiving slave stations, and when data is transmitted, information from the transmitting slave station is set. A multiplex system characterized in that transmission data is stored in the memory table, and the stored transmission data is transmitted to a designated receiving slave station according to the transmission information stored and stored in the memory table. Transmission method.
JP60157157A 1985-07-17 1985-07-17 Multiplex transmission method Granted JPS6218149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60157157A JPS6218149A (en) 1985-07-17 1985-07-17 Multiplex transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60157157A JPS6218149A (en) 1985-07-17 1985-07-17 Multiplex transmission method

Publications (2)

Publication Number Publication Date
JPS6218149A JPS6218149A (en) 1987-01-27
JPH0342026B2 true JPH0342026B2 (en) 1991-06-25

Family

ID=15643429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60157157A Granted JPS6218149A (en) 1985-07-17 1985-07-17 Multiplex transmission method

Country Status (1)

Country Link
JP (1) JPS6218149A (en)

Also Published As

Publication number Publication date
JPS6218149A (en) 1987-01-27

Similar Documents

Publication Publication Date Title
JPH0748739B2 (en) Multiple access control method and multiple access control system implementing the method
JPH01166635A (en) Network communication system
EP0185093B1 (en) Data transfer equipment
US4720828A (en) I/o handler
JPH0342026B2 (en)
JPS62249542A (en) Data transfer system
JP2709720B2 (en) Line connection method between the numerical controller and its peripheral devices
KR100962306B1 (en) Bidirectional Data Communication Device of Embedded System and Its Method
SU1267397A1 (en) Information input-output device
JPS582496B2 (en) Data transfer method
JPS5992653A (en) Data transmitter
JPS6365509A (en) Data transmission equipment for numerical controller
JP2747097B2 (en) LAN connection device
JPS63128895A (en) Control system for one-way type catv system
JPS6238638A (en) Acquisition system for transmission right in multi-drop
JPS6238636A (en) Acquisition system for transmission right in multi-drop
JPH02272843A (en) Data transmission equipment
JPS6238637A (en) Control system for transmission in multi-drop
HK15396A (en) Data transmission with a bidirectionel data bus
JPH04101148U (en) serial data transmitter
JPS6145635A (en) Data converter
JPS5818740A (en) Data transmitting device
JPH02198244A (en) Communication interface device
JPS624026B2 (en)
JPH0282342A (en) Data communication equipment