JPH06205471A - Time division multiplex data transmission system - Google Patents

Time division multiplex data transmission system

Info

Publication number
JPH06205471A
JPH06205471A JP4346517A JP34651792A JPH06205471A JP H06205471 A JPH06205471 A JP H06205471A JP 4346517 A JP4346517 A JP 4346517A JP 34651792 A JP34651792 A JP 34651792A JP H06205471 A JPH06205471 A JP H06205471A
Authority
JP
Japan
Prior art keywords
transmission
time division
central
signal
division signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4346517A
Other languages
Japanese (ja)
Other versions
JP2847151B2 (en
Inventor
Etsuhiro Kimura
悦博 木村
Shinzo Ota
信三 大田
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.)
OOHATA SEISAKUSHO KK
YAMAGUCHI PREF GOV
Original Assignee
OOHATA SEISAKUSHO KK
YAMAGUCHI PREF GOV
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 OOHATA SEISAKUSHO KK, YAMAGUCHI PREF GOV filed Critical OOHATA SEISAKUSHO KK
Priority to JP4346517A priority Critical patent/JP2847151B2/en
Publication of JPH06205471A publication Critical patent/JPH06205471A/en
Application granted granted Critical
Publication of JP2847151B2 publication Critical patent/JP2847151B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 簡単な伝送制御構成の時分割多重データ伝送
方式を提供する。 【構成】 伝送路3に時分割信号を周期的に伝送線に送
出する時分割信号送出装置4、中央装置1に時分割信号
受信手段11とリクエストコマンド送信手段12,端末
応答コマンド受信手段13および中央応答コマンド送信
手段14、端末制御装置2に時分割信号受信手段21,
リクエストコマンド受信手段22,端末応答コマンド送
信手段23,中央応答コマンド受信手段24とを備え
た。 【効果】 伝送不能状態からの復旧手順の複雑さ、伝送
制御キャラクタによる伝送データ内に存在できるキャラ
クタの制限、あるいは端末制御装置での伝送制御キャラ
クタの常時監視の必要性、等の従来技術における諸問題
を解消できる。
(57) [Abstract] [Purpose] To provide a time division multiplexing data transmission system with a simple transmission control configuration. A time-division signal transmission device 4 for periodically transmitting time-division signals to a transmission line on a transmission line 3, a time-division signal reception means 11, a request command transmission means 12, a terminal response command reception means 13 on a central device 1, and Central response command transmitting means 14, time division signal receiving means 21 in the terminal control device 2,
It comprises request command receiving means 22, terminal response command transmitting means 23, and central response command receiving means 24. [Effects] Various conventional techniques such as complexity of recovery procedure from a transmission disabled state, limitation of characters that can be present in transmission data due to transmission control characters, or necessity of constant monitoring of transmission control characters by a terminal control device. You can solve the problem.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、中央装置と複数の端末
制御装置との間で時分割多重のデータ伝送を行う方式に
かかり、例えば、中央装置をコンピュータとし、伝送線
を介してネットワークを構成した各端末制御装置に生産
機械(数値制御工作機械等)を接続することによって、
コンピュータと生産機械との間で時分割多重データの伝
送を可能とした時分割多重データ伝送方式に関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for performing time division multiplex data transmission between a central device and a plurality of terminal control devices. For example, the central device is a computer and a network is provided via a transmission line. By connecting a production machine (numerical control machine tool, etc.) to each configured terminal control device,
A time division multiplex data transmission method capable of transmitting time division multiplex data between a computer and a production machine

【0002】[0002]

【従来の技術】主制御装置であるコンピユータ(中央装
置)と被制御装置として接続した複数の生産機械の制御
装置(端末制御装置)との間で制御データの送受信を行
うデータ伝送方式として、従来から、所謂ポーリングア
クセス方式による時分割多重データ伝送方式が知られて
いる。しかし、このポーリングアクセス方式によるデー
タ伝送方式には次のような問題点があった。 (1)中央装置及び端末制御装置には、データ伝送中に
何らかの原因によって伝送制御が不能になった時のため
に、設定した時間が経てば伝送制御を復旧する数種類の
タイマ機能が設けてあり、また、中央装置には、データ
の送受信がないにもかかわらずポーリングアクセスだけ
を頻繁に繰り返すことによる無意味な過負荷を防止する
ために、ポーリング間隔を適正化するタイマ機能を設置
することが必要であった。その上、中央装置と端末制御
装置間でタイマの設定値に矛盾がでないように、当該タ
イマ機能相互の調整をすることが必要であった。従来の
技術では、タイマの設定やタイマ間の調整が複雑で難し
く、伝送不能状態からの復旧手続きが複雑になるという
欠点があった。 (2)伝送制御を伝送制御キャラクタで行った場合、伝
送制御キャラクタと同じビットパターンのキャラクタは
伝送データ内に存在できないため、伝送できるデータに
制限があった。これを解決するためには、「ベーシック
データ伝送制御手順」のコード・インデペンデント・モ
ード、「BSC」のトランスペアレント・モード、「H
DLC」等の高級伝送制御手順を利用する方法がある
が、伝送制御が複雑になるという欠点があった。 (3)伝送制御を伝送制御キャラクタで行った場合、端
末制御装置は伝送制御キャラクタが中央装置から何時送
信されても対応できるように、他の端末制御装置間のデ
ータ伝送中でも常に伝送中のキャラクタを受信し、当該
伝送制御キャラクタを常時監視しておく必要があった。
特に、端末制御装置が中央演算装置(CPU)で制御さ
れている場合には、CPUが多重伝送制御に占有されて
しまい、他の制御が実質上できない欠点があった。これ
を解決するためには「HDLC」等の高級な伝送制御手
順を利用する方法があるが、伝送制御が複雑になる欠点
があった。
2. Description of the Related Art Conventionally, as a data transmission method for transmitting and receiving control data between a computer (central device) which is a main control device and control devices (terminal control devices) of a plurality of production machines connected as controlled devices, Therefore, a time division multiplex data transmission method based on the so-called polling access method is known. However, the data transmission method by the polling access method has the following problems. (1) The central device and the terminal control device are provided with several kinds of timer functions for recovering the transmission control after a set time in case the transmission control becomes impossible due to some reason during data transmission. In addition, the central unit may be equipped with a timer function that optimizes the polling interval in order to prevent meaningless overload due to frequent repeated polling access even though there is no data transmission / reception. Was needed. Moreover, it is necessary to adjust the timer functions so that the set values of the timers are not inconsistent between the central device and the terminal control device. In the conventional technology, there is a drawback that setting of timers and adjustment between timers are complicated and difficult, and a procedure for recovering from a transmission disabled state becomes complicated. (2) When the transmission control character is used for transmission control, a character having the same bit pattern as that of the transmission control character cannot exist in the transmission data, so that the data that can be transmitted is limited. In order to solve this, the code independent mode of "basic data transmission control procedure", the transparent mode of "BSC", and "H
Although there is a method of using a high-class transmission control procedure such as "DLC", there is a drawback that the transmission control becomes complicated. (3) When the transmission control character is used for the transmission control, the terminal control device can always respond to the transmission control character sent from the central device so that the character is always transmitted during data transmission between other terminal control devices. It was necessary to constantly monitor the transmission control character.
In particular, when the terminal control device is controlled by the central processing unit (CPU), the CPU is occupied by the multiplex transmission control, and there is a drawback that other controls cannot be substantially performed. In order to solve this, there is a method of using a high-grade transmission control procedure such as "HDLC", but there is a drawback that the transmission control becomes complicated.

【0003】[0003]

【発明が解決しようとする課題】このように、従来のデ
ータ伝送方式によれば、中央装置および端末制御装置で
のタイマの設定・調整の頻雑さ及びその取扱いの難し
さ、伝送不能状態からの復旧手順の複雑さ、伝送制御キ
ャラクタによる伝送データ内に存在できるキャラクタの
制限、端末制御装置での伝送制御キャラクタの常時監視
等、様々な問題点があった。本発明の目的は、上記のよ
うな問題点に鑑みてなされたものであり、中央装置およ
び端末制御装置にタイマ機能を設置する必要性をなく
し、また伝送不能状態からの復旧手順を簡単にして伝送
データのキャラクタ制限をなくし、端末制御装置を伝送
制御キャラクタの常時監視から解放することで構成の簡
単な伝送制御の時分割多重伝送方式を提供することにあ
る。
As described above, according to the conventional data transmission method, it is difficult to set and adjust the timers in the central unit and the terminal control unit, the handling thereof is difficult, and the transmission is impossible. There are various problems, such as the complexity of the recovery procedure, the limitation of characters that can exist in the transmission data due to the transmission control character, and the constant monitoring of the transmission control character in the terminal control device. The object of the present invention is made in view of the above problems, eliminates the need to install a timer function in the central device and the terminal control device, and simplifies the procedure for recovering from a transmission-disabled state. An object of the present invention is to provide a time-division multiplex transmission method of simple transmission control by eliminating the character limitation of transmission data and relieving the terminal control device from constant monitoring of transmission control characters.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1の発明は、中央装置と複数の端末
制御装置を伝送線を介してマルチポイントに接続したデ
ータ伝送ネットワークを構成し、上記中央装置と上記各
端末制御装置との間でデータの伝送を行う時分割多重デ
ータ伝送方式において、前記ネットワークに、パルス信
号である時分割信号を周期的に伝送線に送出する時分割
信号送出装置を設置し、前記中央装置に、時分割信号受
信手段とリクエストコマンド送信手段,端末応答コマン
ド受信手段および中央応答コマンド送信手段とを備え、
前記端末制御装置に、時分割信号受信手段とリクエスト
コマンド受信手段と端末応答コマンド送信手段と中央応
答コマンド受信手段とを備えてなり、前記中央装置は、
上記時分割信号受信手段により上記時分割信号送出装置
からの時分割信号を受信して上記リクエストコマンド送
信手段が時分割信号を受信する毎に送受信権を与える端
末制御装置のアドレスを含むリクエストコマンドを前記
伝送線に送出すると共に、上記端末応答コマンド受信手
段で上記端末制御装置の応答コマンドを受信して上記中
央応答コマンド送信手段により上記端末制御装置の応答
コマンドの受信に応じて当該端末制御装置に対して応答
コマンドを送信する伝送シーケンスを実行する一方、前
記端末制御装置は、上記時分割信号受信手段で上記時分
割信号送出装置からの時分割信号を受信し、上記リクエ
ストコマンド受信手段が上記時分割信号を受信した直後
の受信キャラクタ列をリクエストコマンドと認識すると
共に、上記端末応答コマンド送信手段により送受信権を
与えられた応答として伝送制御情報を付加した1ブロッ
クのデータ又は伝送制御情報を中央装置に送信し、上記
中央応答コマンド受信手段で前記中央装置の中央応答コ
マンド送信手段から送信された応答コマンドを受信する
伝送シーケンスを実行すると共に、前記中央装置は送受
信権を与えた端末制御装置からの応答を受信した後、伝
送制御情報を付加したブロックのデータ又は伝送制御情
報を上記送受信権を与えた端末制御装置に送信して、時
分割信号で区切られた分割時間内に上記中央装置と上記
端末制御装置間の伝送シーケンスを完了することを特徴
とする。また、本発明の請求項2の発明は、上記請求項
1において、調歩同期式で伝送を行う場合には、時分割
信号を1伝送キャラクタ(スタートビット、パイティビ
ット、ストップビットを含む)以上の幅を持つローレベ
ルのパルス信号であるブレイク信号とすることを特徴と
する。さらに、本発明の請求項3の発明は、上記請求項
1において、前記時分割信号送出装置は、前記中央装置
がデータを送信している最中に時分割信号を送出する時
間になった場合、中央装置のデータ送信終了まで時分割
信号の送出を停止することを特徴とする。そして、本発
明の請求項4の発明は、請求項1において、前記中央装
置が前記時分割信号送出装置を備えることを特徴とす
る。
In order to achieve the above object, the invention of claim 1 of the present invention provides a data transmission network in which a central unit and a plurality of terminal control units are connected to a multipoint via transmission lines. In a time division multiplex data transmission system for transmitting data between the central device and each terminal control device, when a time division signal which is a pulse signal is periodically sent to a transmission line to the network. A division signal transmission device is installed, and the central device is provided with time division signal reception means, request command transmission means, terminal response command reception means and central response command transmission means,
The terminal control device comprises time division signal receiving means, request command receiving means, terminal response command transmitting means, and central response command receiving means, and the central device is
A request command including an address of a terminal control device which gives a transmission / reception right each time the request command transmission means receives the time division signal from the time division signal transmission device by the time division signal reception means and the request command transmission means receives the time division signal. In addition to sending to the transmission line, the terminal response command receiving means receives the response command of the terminal control device, and the central response command transmitting means causes the terminal control device to respond to the reception of the response command of the terminal control device. The terminal control device receives the time-division signal from the time-division signal transmission device by the time-division signal reception device, while the request command reception device performs the transmission sequence for transmitting the response command. The received character string immediately after receiving the divided signal is recognized as a request command and the terminal response One block of data to which transmission control information is added or transmission control information is transmitted to the central unit as a response to which the command transmitting unit gives the transmission / reception right, and the central response command receiving unit transmits the central response command transmitting unit from the central response command transmitting unit. The central device executes the transmission sequence for receiving the transmitted response command, and after receiving the response from the terminal control device to which the transmission / reception right is given, the central device transmits the data of the block to which the transmission control information is added or the transmission control information. It is characterized in that the transmission sequence is transmitted to the terminal control device to which a transmission / reception right is given, and the transmission sequence between the central device and the terminal control device is completed within the divided time divided by the time division signal. Further, in the invention of claim 2 of the present invention, in the above-mentioned claim 1, when transmission is performed in an asynchronous manner, a time division signal is transmitted by one transmission character (including a start bit, a duty bit, a stop bit) or more. The break signal is a low-level pulse signal having a width of. Furthermore, the invention of claim 3 of the present invention is the above-mentioned claim 1, wherein the time-division signal transmitting device is the time for transmitting the time-division signal while the central device is transmitting data. The transmission of the time division signal is stopped until the end of the data transmission of the central device. The invention according to claim 4 of the present invention is characterized in that, in claim 1, the central device includes the time division signal transmission device.

【作用】以上の如き構成とした本発明は、図1の概略構
成図と図2のタイミング図(図中、D,F,B1 〜B6
は図1の同符号を付した箇所の信号に対応する)に示し
たように、1台の中央装置1と複数の端末制御装置21
〜26 , ・・2n ・・が伝送路3でマルチポイントに接
続され、中央装置1と各端末制御装置21 〜2nとの間
で時分割多重データ伝送を行う方式において、 (1)1パルス信号である時分割信号TDPを周期的に
伝送線3に送出する時分割信号送出装置4を設ける。 (2)中央装置1は、時分割信号TDPを受信する毎
に、1つの特定の端末制御装置21 〜26 , ・・2n ・
・に送受信権を順次(B1 →B2 →B3 →B4 →B5 →
B6 →・・・Bn ・・・のように)与えるために、送受
信権を与える端末制御装置のアドレスADを含むリクエ
ストコマンドRCを伝送線3に送出する(リクエストコ
マンド送信手段12)。 (3)端末制御装置のうちの例えば21は、時分割信号
TDPを受信した直後の受信キャラクタ列をリクエスト
コマンドRCと認識し、リクエストコマンドRC内のア
ドレスADを自己のアドレスと比較する(リクエストコ
マンド受信手段22)。アドレスADと自己のアドレス
とが一致すれば「応答」として、伝送制御情報と1ブロ
ックのデータで構成される端末応答コマンドTACA、
又は伝送制御情報だけで構成される端末応答コマンドT
ACBを中央装置1に送信する(端末応答コマンド送信
手段23)。アドレスADと自己のアドレスが一致しな
ければリクエストコマンドRCを破棄して伝送シーケン
スを終了し、次の時分割信号TDPを待つ。 (4)中央装置1は、送受信権を与えた端末制御装置か
ら端末応答コマンドTACA(又は、TACB)を受信
した(端末応答コマンド受信手段13)後、伝送制御情
報と1ブロックのデータで構成される中央応答コマンド
CACA、又は伝送制御情報だけで構成される中央応答
コマンドCACBを送受信権を与えた端末制御装置21
に送信する(中央応答コマンド送信手段14)。 (5)時分割信号TDPで区切られた分割時間DT内
に、上記(2)から(4)の伝送シーケンスを完了す
る。 (6)時分割信号送出装置(D)は、時分割信号TDP
を送出する時間になれば、中央装置1から通知されるコ
マンド送信中信号Fを検査し、送信中でなければ時分割
信号を送出し、送信中であれば中央装置1のコマンド送
信が終了するまで時分割信号の送出を停止する。
According to the present invention having the above-mentioned configuration, the schematic configuration diagram of FIG. 1 and the timing diagram of FIG. 2 (D, F, B 1 to B 6 in the figure)
(Corresponding to the signals of the same reference numerals in FIG. 1)), one central unit 1 and a plurality of terminal control units 2 1
.. 2 6 .. 2 n .. are connected to the multipoint by the transmission line 3, and time division multiplexed data transmission is performed between the central device 1 and each terminal control device 2 1 to 2 n. ) A time division signal transmission device 4 for periodically transmitting the time division signal TDP which is one pulse signal to the transmission line 3 is provided. (2) central device 1, each time it receives the divided signals TDP time, one particular terminal control device 2 1 to 2 6, · · 2 n ·
・ Send / receive right to (B1 → B2 → B3 → B4 → B5 →
B6 → ... Bn ...), a request command RC including the address AD of the terminal control device to which the transmission / reception right is given is sent to the transmission line 3 (request command transmission means 12). (3) For example, 2 1 of the terminal control devices recognizes the received character string immediately after receiving the time division signal TDP as the request command RC, and compares the address AD in the request command RC with its own address (request). Command receiving means 22). If the address AD and its own address match, as a "response", a terminal response command TACA composed of transmission control information and one block of data,
Or, a terminal response command T composed only of transmission control information
The ACB is transmitted to the central device 1 (terminal response command transmitting means 23). If the address AD and its own address do not match, the request command RC is discarded, the transmission sequence ends, and the next time division signal TDP is waited for. (4) The central device 1 is composed of transmission control information and one block of data after receiving the terminal response command TACA (or TACB) from the terminal control device to which the transmission / reception right is given (terminal response command receiving means 13). The central control command CACA for transmitting the central control command CACA or the central control command CACB consisting only of the transmission control information is given to the terminal control device 2 1
(Central response command transmission means 14). (5) The transmission sequence of (2) to (4) is completed within the division time DT divided by the time division signal TDP. (6) The time division signal transmission device (D) uses the time division signal TDP
When it is time to send out, the command transmitting signal F notified from the central unit 1 is inspected, and if it is not transmitting, a time division signal is sent out, and if it is transmitting, the command transmitting of the central unit 1 ends. Stop sending time division signals.

【0005】このように、本発明における中央装置及び
複数の端末制御装置は、伝送線に周期的に送出される時
分割信号を受信する度に伝送シーケンスを実施する方式
としたため、中央装置と端末制御装置間の伝送制御のタ
イミングが取り易く、伝送制御が簡単になる。中央装置
と送受信権を与えられた端末制御装置間でデータ伝送が
ない場合には、伝送シーケンス完了後から次の時分割信
号が受信されるまでに時間的な余裕があるため、中央装
置にタイマ機能がなくても中央装置が無意味な過負荷に
なることを防ぐことができる。もし、何らかの原因によ
って伝送シーケンスが完了できない伝送制御不能状態に
陥っても、中央装置及び送受信権を与えられている端末
制御装置は次の時分割信号を受信した時点で伝送シーケ
ンスを中断する処理を行い、新たな伝送シーケンスを開
始すればよいため、伝送制御不能状態からの復旧手続き
も簡単になり、当然、伝送制御不能から復旧するための
タイマ機能は必要はない。また、時分割信号の受信によ
って伝送シーケンスが起動される構成としたことで、中
央装置及び端末制御装置はキャラクタの送受信順序でそ
のキャラクタの意味合いを決定又は判断できるため、あ
らゆるビットパターンのキャラクタでアドレス及び伝送
制御情報を表現でき、しかもそのビットパターンでデー
タ内のキャラクタが制限されることがない。さらに、端
末制御装置は、時分割信号を受信するまでキャラクタを
受信する必要がなくなり、伝送制御キャラクタの常時監
視からも解放される。
As described above, since the central device and the plurality of terminal control devices according to the present invention adopt the method of executing the transmission sequence each time the time division signal periodically transmitted to the transmission line is received, the central device and the terminal control device. The transmission control between the control devices can be easily timed, and the transmission control can be simplified. If there is no data transmission between the central unit and the terminal control unit to which the transmission / reception right is given, there is a time lag between the completion of the transmission sequence and the reception of the next time division signal. It is possible to prevent meaningless overloading of the central unit even if there is no function. Even if the transmission control cannot be completed due to some reason, the central control unit and the terminal control device to which the transmission / reception right is given have a process of interrupting the transmission sequence at the time when the next time division signal is received. Since it suffices to carry out and start a new transmission sequence, the procedure for recovering from the transmission control disabled state becomes simple, and of course, the timer function for recovering from the transmission control disabled state is not necessary. In addition, since the transmission sequence is activated by the reception of the time-division signal, the central unit and the terminal control unit can determine or judge the meaning of the character in the transmission and reception order of the character. Also, the transmission control information can be expressed, and the bit pattern does not limit the characters in the data. Further, the terminal control device does not need to receive the character until the time division signal is received, and is also released from the constant monitoring of the transmission control character.

【0006】[0006]

【実施例】以下、本発明の実施例について図面を参照し
て詳細に説明する。図3は本発明による時分割多重デー
タ伝送方式の1実施例を説明する全体ブロック図であっ
て、図1と同一符号は同一部分に対応し、51 〜56 は
通信線、6 1 〜66 は数値制御工作機械である。同図
は、中央装置1に伝送線3を介して時分割信号送出装置
4及び端末制御装置21 〜26 がマルチポイント式に接
続され、各端末制御装置21 〜26 がポイントツーポイ
ントの通信インタフェースを有する数値制御工作機械6
1 〜66 と通信線51 〜56 でそれぞれ結ばれて伝送ネ
ットワークを構成し、中央装置1と端末制御装置21 〜
26 間で調歩同期式の時分割多重伝送を行い、中央装置
1と数値制御工作機械61 〜66 間でデータを相互に多
重伝送するようにしたシステム構成としたものである。
図4は中央装置1及び時分割信号送出装置4の構成例を
示すブロック図であって、101はCPU、102はオ
ペレーティングシステム(OS)格納部、103は通信
インターフェース(通信IF)、104は多重伝送デバ
イスドライバ、105は多重伝送メインプログラム格納
部、106はキーボード、107はモニター(CR
T)、108は記憶媒体、401はブレイク信号発生回
路、402は送信ドライバである。まず、時分割信号送
出装置4は、ブレイク信号と呼ばれている1キャラクタ
以上のパルス幅を有するローレベルのパルス信号を設定
された時間間隔で周期的に発生するブレイク信号発生回
路401と、送信中信号Fが中央装置1のコマンドの送
信を示していない時にだけゲートを開いてブレイク信号
を伝送線3に送出する送信ドライバ402とを有し、時
分割信号であるブレイク信号により伝送線3を時間的に
分割する。中央装置1は、CPU101,OS格納部1
02,通信IF回路103,多重伝送デバイスドライバ
104,多重伝送メインプログラム格納部105,キー
ボード106,CRT107,記憶媒体108で構成さ
れる。通信IF103はブレイク信号の受信、キャラク
タの送受信を行うと共に、割り込み信号BSを発生して
CPU101に割り込みをかける機能、中央装置1が送
信中か送信中でないかを送信中信号Fによって時分割信
号送出装置4に通知する機能を有する。多重伝送制御デ
バイスドライバ104は通信IF103の割り込み信号
BSによって起動される割り込みプログラムを格納する
割り込みプログラム格納部1041、各端末制御装置の
アドレスが格納してあるアドレステーブル1042、端
末制御装置別の送信データバッファ1043、端末制御
装置別の受信データバッファ1044で構成される。通
信IF103はブレイク信号の受信及びキャラクタの送
受信によって割り込み信号BSを発生してCPU101
に対して割り込みをかけ、CPU101は多重伝送制御
デバイスドライバ104の割り込みプログラム格納部1
041の割り込みプログラムで、伝送シーケンスを通信
IF103を通じて行う。送信データは各端末制御装置
用の送信データバッファ1043から取り出され、各端
末制御装置からの受信データは各端末制御装置用の受信
データバッファ1044に格納される。多重伝送メイン
プログラム格納部105に格納された多重伝送メインプ
ログラムは多重伝送制御デバイスドライバ104の送受
信データバッファ1043,1044と記憶媒体108
との間のデータ転送をOS格納部102の格納されたO
Sを通じて実施する。また、キーボード106は伝送制
御条件の設定やデータの入力を行い、CRT107はデ
ータの転送状態やデータの表示を行う。図5は端末制御
装置の1実施例を説明するブロック図であって、201
はCPU、202は通信IF、203は割り込み伝送制
御プログラム格納部、204はメインプログラム格納
部、205はアドレス設定部、206は送信データバッ
ファ、207は受信データバッファ、208は表示部、
209は出力部、210は入力部である。端末制御装置
2は、CPU201,通信IF202,多重伝送制御プ
ログラム格納部203,メインプログラム格納部20
4,アドレス設定部205,送信データバッファ20
6,受信データバッファ207,表示部208,入力部
209,出力部210で構成される。通信IF回路20
2はブレイク信号の受信と、キャラクタの送受信を行う
と共に、割り込み信号BSを発生してCPU201に割
り込みをかける機能を有する。割り込み伝送制御プログ
ラムは通信IF202の割り込みによって起動される割
り込みプログラムである。通信IF202はブレイク信
号の受信及びキャラクタの送受信によって割り込み信号
BSを発生しCPU201に対して割り込みをかける。
CPU201は割り込み伝送制御プログラム格納部20
3の割り込み伝送制御プログラムで、伝送シーケンスを
通信IF202を通じて行う。中央装置1へ多重伝送で
送信するデータは送信データバッファ206から取り出
され、中央装置1からの多重伝送で受信するデータは受
信データバッファ207に格納される。メインプログラ
ム格納部204に格納されたメインプログラムは、入力
部210及び出力部209を通じて数値制御工作機械と
の間でデータの入出力を行い、入力されたデータは送信
データバッファ206へ、また出力されるデータは受信
データバッファ207から取り出される。本実施例で
は、端末制御装置2(21 〜26 )と数値制御工作機械
6(61 〜66 )との間で通信線5(51 〜56 )を介
して一対一のデータ伝送を行う例であるため、入/出力
部(209,210)は通信インターフェースになる
が、端末制御装置2の入/出力部を接点入出力やA/
D,D/Aコンバータとすることによって、複数の数値
制御工作機械の状態計測や動作制御を中央装置から集中
して行う用途にも利用が可能である。図6は本実施例に
おけるコマンドの形式の説明図であって、同図に示すよ
うに送信データのない「コマンド形式1」と送信データ
のある「コマンド形式2」の2通りある。「コマンド形
式1」はアドレス,制御バイト,チェックサムで構成さ
れ、「コマンド形式2」はアドレス,制御バイト,デー
タ数,送信データ,チェックサムで構成されている。制
御バイトにはデータの受信が可能なことを通知する送信
要求ビット、データの受信が完了したことを送信先に通
知する受信完了ビット等がある。本実施例の分割時間
(図2におけるDTに相当)は、多重伝送の伝送速度を
150kbpsとした場合は20msecで、中央端末
装置1と6台の端末制御装置21 〜26との間で一方向
のデータ伝送が常にあるとして、中央装置1と端末制御
装置2間の実質的な伝送速度は約19200bpsとな
り、数値制御工作機械によく使われている外部との通信
インターフェースの伝送速度の最大値9600bpsを
越え、多重伝送による伝送速度の低下はない。次に、上
記実施例の詳細な動作について各構成部分の機能と動作
フローとを参照して説明する。図7は本実施例の中央装
置および時分割信号送出装置の機能ブロツク図であっ
て、中央装置1は信号受信手段15,信号判別手段1
6,アドレス設定手段17,端末応答コマンド受信手段
18,リクエストコンマンド作成手段19,端末応答コ
マンド解析手段20,中央応答コマンド作成手段21,
および端末装置別受信データバッファ22と端末装置別
送信データバッファ23からなる。また、時分割信号送
出装置4は時分割信号送出手段25と一定時間間隔時分
割信号発生手段26からなる。上記各手段は、前記図1
で説明した本発明の概略機能をより具体化したものであ
り、図4の実施例の説明における各構成部分の結合によ
り生成される。図8は図7に示した機能ブロツクで実行
される中央装置の動作フローチャートである。以下、図
7の動作を図8のフローチャートを参照して説明する。
データ伝送動作がスタートし、信号受信手段15が伝送
路3からの信号を受信し、受信した信号が時分割信号送
出装置4からの時分割信号であると信号判別手段16が
判別すると(S−1)、アドレス設定手段17はこの時
分割信号の受信に基づき端末制御装置に送受信権を順次
与えるためのアドレスを設定する(S−2)。このアド
レス設定に応じてリクエストコマンド作成手段19は設
定されたアドレスを含むリクエストコマンドを作成し
(S−3)、コマンド送信手段24から伝送路3に接続
した端末制御装置に送信する(S−4)。信号受信手段
15を介して伝送路3から信号を受信し(S−5)、そ
れを信号判別手段16でキャラクタであると判別され
(S−6)、当該端末制御装置からの端末応答コマンド
の受信が完了し(S−7)、正常に受信されると(S−
8)、端末応答コマンド解析手段20がこのコマンドを
解析し(S−9)、このコマンドに対応した中央応答コ
マンドを中央応答コマンド作成手段21が作成して(S
−10)、コマンド送信手段24から伝送路3に送出す
る(S−11)。リクエストコマンド及び応答コマンド
の送信中は送信中であることを示すコマンド送信中信号
Fを時分割信号送出手段25に与える。また、S−6に
おいて、受信した信号が時分割信号であると判断された
場合はS−2に戻り、S−6,S−8でそれぞれキャラ
クタ受信エラー,コマンド受信異常の場合、および上記
コマンド送信が終了した場合は、S−1に戻る。なお、
図9は図7に示した機能ブロツクで実行される時分割信
号送出装置の動作フローチャートであり、データ伝送動
作がスタートするとタイマーがオンして(S−21)一
定時間間隔時分割信号発生手段26から時分割信号が発
生する。時分割信号送出手段25が中央装置1のコマン
ド送信手段24からのコマンド送信中信号Fの有無を判
断し(S−22)、このコマンド送信中信号Fがない時
に時分割信号を伝送路に送出する(S−23)。図10
は本実施例の端末制御装置の機能ブロツク図であって、
27はコマンド送信手段、28は端末応答コマンド作成
手段、29は送信データバッファ、30は信号受信手
段、31は信号判別手段、32はキャラクタ受信許可・
禁止手段、33はアドレス照合手段、34はリクエスト
コマンド受信手段、35は中央応答コマンド受信手段、
36はリクエストコマンド解析手段、37は中央応答コ
マンド解析手段、38は受信データバッファである。上
記各手段は、前記図1で説明した本発明の概略機能をよ
り具体化したものであり、図5の実施例の説明における
各構成部分の結合により生成される。図11と図12は
図10に示した機能ブロツクで実行される中央装置の動
作フローチャートである。以下、図10の動作を図11
と図12のフローチャートを参照して説明する。データ
伝送動作がスタートし、信号受信手段30が伝送路3か
らの信号を受信し、受信した信号が時分割信号送出装置
4からの時分割信号であると信号判別手段31が判別す
ると(S−31)、キャラクタ受信の許可を行い(S−
32)、信号受信を実行する(S−33)。受信した信
号がキャラクタ信号であると判断されると(S−3
4)、それが1キャラクタ目であるか否かを判断し(S
−35)、1キャラクタ目であればアドレス照合手段3
3でアドレスを照合して(S−36)一致を確認し、リ
クエストコマンドの受信が完了(S−37),コマンド
正常受信(S−38)であればリクエストコマンド解析
手段36で当該受信リクエストコマンドを解析し(S−
39)端末応答コマンド作成手段28で端末応答コマン
ドを作成する(S−40)。作成した端末応答コマンド
はコマンド送信手段27を介して伝送路3に送出される
(S−41)。そして、上記応答に応じて伝送路3から
送信される信号を受信し(S−42)、それがキャラク
タであれば(S−43)中央応答コマンドの受信完了の
判断(S−44)→コマンド正常受信の判断(S−4
5)の処理を行い、コマンドが正常に受信された後、中
央応答コマンド解析手段37で当該中央応答コマンドを
解析する(S−46)。なお、S−34でキャラクタ受
信エラーが発生した場合、S−36でアドレス照合不一
致、S−38でコマンドが正常に受信されない場合、S
−43でキャラクタ受信エラーが発生した場合、および
S−45でコマンドが正常に受信されなかった場合はキ
ャラクタ受信禁止処理を行い(S−47)、S−31に
戻る。さらに、S−34とS−43において、受信した
信号が時分割信号であると判断した場合はS−32に戻
る。以上の各シーケンスを実行することにより、中央装
置,時分割信号送出装置および端末制御装置が動作し
て、データの多重伝送を行う。
Embodiments of the present invention will now be described with reference to the drawings.
Will be described in detail. FIG. 3 shows a time division multiplexed data according to the present invention.
1 is an overall block diagram illustrating an example of a data transmission system.
1, the same reference numerals as those in FIG.1~ 56Is
Communication line, 6 1~ 66Is a numerically controlled machine tool. Same figure
Is a time-division signal transmission device to the central device 1 via the transmission line 3.
4 and terminal control device 21~ 26Connect to the multipoint
Each terminal control device 21~ 26Point to poi
Numerical control machine tool 6 having a communication interface
1~ 66And communication line 51~ 56Are connected by
Network, and a central device 1 and a terminal control device 21~
Two6Asynchronous time division multiplexing transmission between
1 and numerical control machine tool 61~ 66Data to and from each other
This is a system configuration that allows double transmission.
FIG. 4 shows an example of the configuration of the central device 1 and the time division signal transmission device 4.
In the block diagram shown, 101 is a CPU and 102 is an
Storage for operating system (OS), 103 for communication
Interface (communication IF), 104 is a multiplex transmission device
Chair driver, 105 stores multiplex transmission main program
Part, 106 is a keyboard, 107 is a monitor (CR
T), 108 is a storage medium, and 401 is a break signal generation time.
Reference numeral 402 is a transmission driver. First, time-division signaling
The output device 4 is one character called a break signal.
Set a low-level pulse signal with the above pulse width
Break signal generation times that occur periodically at specified time intervals
The route 401 and the in-transmission signal F indicate that the command of the central unit 1 is transmitted.
Break signal by opening the gate only when not showing the signal
And a transmission driver 402 for transmitting the
The break line, which is a divided signal, causes the transmission line 3 to move
To divide. The central device 1 includes a CPU 101 and an OS storage unit 1.
02, communication IF circuit 103, multiplex transmission device driver
104, multiplex transmission main program storage unit 105, key
Consists of board 106, CRT 107, and storage medium 108
Be done. The communication IF 103 receives the break signal and the character
Send and receive data and generate an interrupt signal BS.
The function to interrupt the CPU 101, the central unit 1
Whether the signal is transmitting or not being transmitted
It has a function of notifying the signal transmission device 4. Multiplex transmission control
The vice driver 104 is an interrupt signal of the communication IF 103.
Stores interrupt program started by BS
The interrupt program storage unit 1041 of each terminal control device
Address table 1042 where addresses are stored, end
Transmission data buffer 1043 for each end control device, terminal control
It is composed of a reception data buffer 1044 for each device. Communication
The signal IF 103 receives a break signal and sends a character.
The interrupt signal BS is generated by the reception and the CPU 101
Is interrupted, and the CPU 101 controls multiplex transmission.
Interrupt program storage unit 1 of device driver 104
Communication of transmission sequence with 041 interrupt program
Performed through IF103. Transmission data is for each terminal controller
From the transmission data buffer 1043 for
Received data from the terminal control device is received for each terminal control device.
It is stored in the data buffer 1044. Multiplex transmission main
The multiplex transmission main program stored in the program storage unit 105.
The program is transmitted / received by the multiplex transmission control device driver 104.
Received data buffers 1043, 1044 and storage medium 108
Data transfer to and from O stored in the OS storage unit 102.
Carry out through S. Also, the keyboard 106 is a transmission system.
Set the conditions and enter the data, and the CRT 107
Displays the transfer status of data and data. Figure 5 shows terminal control
1 is a block diagram illustrating an embodiment of an apparatus,
Is a CPU, 202 is a communication IF, and 203 is an interrupt transmission system.
A program storage unit, 204 is a main program storage
Part, 205 is an address setting part, and 206 is a transmission data buffer.
FA, 207 is a reception data buffer, 208 is a display unit,
209 is an output unit and 210 is an input unit. Terminal control device
2 is a CPU 201, a communication IF 202, a multiplex transmission control program.
Program storage unit 203, main program storage unit 20
4, address setting unit 205, transmission data buffer 20
6, reception data buffer 207, display unit 208, input unit
209 and an output unit 210. Communication IF circuit 20
2 receives a break signal and sends and receives characters
At the same time, an interrupt signal BS is generated and the CPU 201 is interrupted.
It has a function to apply a leak. Interrupt transmission control program
RAM is activated by the interrupt of communication IF202.
It is a built-in program. Communication IF 202 is a break message
Signal by receiving the signal and sending and receiving characters
BS is generated to interrupt the CPU 201.
The CPU 201 is the interrupt transmission control program storage unit 20.
With the interrupt transmission control program of 3, the transmission sequence
This is done through the communication IF 202. By multiplex transmission to the central device 1
The data to be transmitted is fetched from the transmission data buffer 206
Data received from the central unit 1 by multiplex transmission is received.
Stored in the reception data buffer 207. Main program
The main program stored in the system storage unit 204 is input
And a numerical control machine tool through the unit 210 and the output unit 209.
Input and output data between and send the input data
Receives data output to the data buffer 206 and output
It is taken out from the data buffer 207. In this example
Is the terminal control device 2 (21~ 26) And numerical control machine tool
6 (61~ 66) Communication line 5 (51~ 56) Through
Since this is an example of performing one-to-one data transmission, input / output
The parts (209, 210) become communication interfaces
However, the input / output section of the terminal control device 2 is connected to the contact input / output or A /
By using a D, D / A converter, multiple numerical values
Centralized control of machine tool status measurement and operation control from a central device
It can also be used for other purposes. FIG. 6 shows this embodiment.
It is an explanatory diagram of the format of the command in
“Command format 1” with no transmission data and transmission data
There are two types of "command format 2". Command type
Equation 1 ”consists of address, control byte and checksum.
“Command format 2” is for address, control byte, data
Data, transmission data, and checksum. Control
Send to notify that data can be received in the control byte
Notify the destination that the requested bit and data have been received.
There are known reception completion bits and the like. Dividing time of this example
(Corresponding to DT in FIG. 2) is the transmission rate of multiplex transmission.
20 msec at 150 kbps, central terminal
Device 1 and 6 terminal control devices 21~ 26One way to and from
Assuming that there is always data transmission, central device 1 and terminal control
The actual transmission speed between the devices 2 is about 19200 bps.
Communication with the outside often used for numerical control machine tools
Maximum interface transmission rate of 9600 bps
There is no decrease in transmission rate due to multiplex transmission. Then on
Detailed operation of the embodiment Function and operation of each component
This will be described with reference to the flow. FIG. 7 shows the central device of this embodiment.
Fig. 3 is a functional block diagram of the storage and time-division signal transmitter.
The central unit 1 includes the signal receiving means 15 and the signal discriminating means 1
6, address setting means 17, terminal response command receiving means
18, request command creating means 19, terminal response command
Command analysis means 20, central response command creation means 21,
And reception data buffer 22 for each terminal device and each terminal device
It comprises a transmission data buffer 23. Also, time-division signal transmission
The output device 4 is provided with the time-division signal transmission means 25 and a fixed time interval
The split signal generating means 26 is provided. Each of the above means is as shown in FIG.
It is a more specific embodiment of the general function of the present invention described in the above.
By combining the constituent parts in the description of the embodiment of FIG.
Is generated. 8 is executed by the function block shown in FIG.
5 is an operation flowchart of the central device. Below, figure
The operation of No. 7 will be described with reference to the flowchart of FIG.
The data transmission operation starts, and the signal receiving means 15 transmits.
The signal from the path 3 is received, and the received signal is time-division transmitted.
The signal discriminating means 16 determines that the signal is a time division signal from the output device 4.
When the determination is made (S-1), the address setting means 17 at this time
Sequential transmission / reception rights to the terminal control device based on the reception of divided signals
An address for giving is set (S-2). This ad
The request command creating means 19 is set according to the reply setting.
Create a request command containing the specified address
(S-3), connection from the command transmission means 24 to the transmission line 3
It transmits to the terminal control device which did (S-4). Signal receiving means
A signal is received from the transmission line 3 via S15 (S-5), and
It is discriminated as a character by the signal discriminating means 16.
(S-6), terminal response command from the terminal control device
Is completed (S-7), and is received normally (S-
8), the terminal response command analysis means 20 sends this command
After analysis (S-9), the central response command corresponding to this command
The central response command creating means 21 creates a command (S
-10), sending from the command sending means 24 to the transmission path 3
(S-11). Request command and response command
Command is being transmitted during transmission of
F is given to the time division signal transmission means 25. Also, to S-6
The received signal was determined to be a time division signal
If so, go back to S-2 and select S-6 and S-8 respectively.
If there is an error in receiving a command, an error in receiving a command, or above
When the command transmission is completed, the process returns to S-1. In addition,
FIG. 9 shows a time-division communication executed by the function block shown in FIG.
3 is an operation flowchart of the signal transmission device,
When the work starts, the timer turns on (S-21).
A time division signal is generated from the time division signal generation means 26 at a constant time interval.
To live. The time division signal transmission means 25 is the command of the central unit 1.
The presence or absence of the command transmitting signal F from the command transmitting means 24 is determined.
Disconnected (S-22), when there is no signal F during command transmission
Then, the time division signal is sent to the transmission line (S-23). Figure 10
Is a functional block diagram of the terminal control device of the present embodiment,
27 is a command transmitting means, 28 is a terminal response command creation
Means, 29 is a transmission data buffer, 30 is a signal receiver
Steps, 31 is signal discrimination means, 32 is character reception permission,
Prohibition means, 33 is address verification means, 34 is a request
Command receiving means, 35 is a central response command receiving means,
36 is a request command analysis means, and 37 is a central response command.
The command analysis means 38 is a reception data buffer. Up
Each means has the general functions of the present invention described in FIG.
In the description of the embodiment of FIG.
It is generated by combining each component. 11 and 12
Central unit operation performed by the function block shown in FIG.
It is a production flow chart. Hereinafter, the operation of FIG.
It will be described with reference to the flowchart of FIG. data
When the transmission operation starts and the signal receiving means 30 is the transmission line 3
And the received signal is a time-division signal transmission device.
The signal discriminating means 31 discriminates that the signal is a time division signal from 4
Then, the character reception is permitted (S-31) (S-
32), signal reception is executed (S-33). Received message
No. is determined to be a character signal (S-3
4) determine whether or not it is the first character (S
-35) Address collating means 3 for the first character
The address is collated in step 3 (S-36) and the match is confirmed.
Reception of quest command completed (S-37), command
If normal reception (S-38), request command analysis
The means 36 analyzes the reception request command (S-
39) A terminal response command is generated by the terminal response command creating means 28.
A code is created (S-40). Created terminal response command
Is sent to the transmission line 3 via the command sending means 27.
(S-41). Then, from the transmission line 3 in response to the above response
Receives the transmitted signal (S-42), which is the character
(S-43) reception of the central response command
Judgment (S-44) → Judgment of normal command reception (S-4
After processing 5) and the command is received normally,
The central response command is analyzed by the central response command analysis means 37.
Analyze (S-46). In S-34, the character
If a communication error occurs, the address verification fails in S-36.
If the command is not received normally in S-38, S
When a character reception error occurs at -43, and
If the command is not received normally in S-45,
Performs character reception prohibition processing (S-47), and proceeds to S-31.
Return. Furthermore, in S-34 and S-43, it is received.
If it is determined that the signal is a time division signal, return to S-32.
It By executing each sequence above,
Device, time-division signal transmitter and terminal controller
Data is multiplexed and transmitted.

【発明の効果】以上説明したように、本発明によれば、
周期的に伝送線に送出される時分割信号が伝送線を時間
的に分割し、中央装置及び複数の端末制御装置に対して
同時に分割時間の開始と終了を通知し、中央装置及び複
数の端末制御装置は伝送線に周期的に送出される時分割
信号を受信する度に伝送シーケンスを実施するだけの簡
単な伝送制御方式としたことによって、中央装置と複数
の端末制御装置の間で効果的な時分割多重データ伝送が
実現できる。また、従来方法の欠点である中央装置およ
び端末制御装置でのタイマの設定・調整の繁雑さと難し
さ、伝送不能状態からの復旧手順の複雑さ、伝送制御キ
ャラクタによる伝送データ内に存在できるキャラクタの
制限、あるいは端末制御装置での伝送制御キャラクタの
常時監視の必要性、等の従来技術における諸問題を解消
し、優れた機能を有する時分割多重データ伝送方式を提
供することができる。
As described above, according to the present invention,
A time-division signal periodically sent to the transmission line temporally divides the transmission line, and simultaneously notifies the central unit and a plurality of terminal control units of the start and end of the divided time, and the central unit and the plurality of terminals. Since the control device has a simple transmission control system that executes a transmission sequence each time it receives a time division signal that is periodically sent to a transmission line, it is effective between the central device and multiple terminal control devices. Time-division multiplex data transmission can be realized. In addition, the drawbacks of the conventional method are the complexity and difficulty of setting and adjusting the timers in the central unit and the terminal control unit, the complexity of the procedure for recovering from the untransmittable state, and the character that can be present in the transmission data by the transmission control character It is possible to solve the problems in the prior art such as the limitation or the need to constantly monitor the transmission control character in the terminal control device, and to provide a time division multiplex data transmission system having excellent functions.

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

【図1】本発明による時分割多重データ伝送方式の基本
構成を説明する概略構成図である。
FIG. 1 is a schematic configuration diagram illustrating a basic configuration of a time division multiplex data transmission system according to the present invention.

【図2】本発明による時分割多重データ伝送方式の基本
構成の動作を説明するタイミング図である。
FIG. 2 is a timing diagram illustrating the operation of the basic configuration of the time division multiplex data transmission system according to the present invention.

【図3】本発明による時分割多重データ伝送方式の1実
施例を説明する全体ブロック図である。
FIG. 3 is an overall block diagram illustrating an embodiment of a time division multiplex data transmission system according to the present invention.

【図4】本発明による時分割多重データ伝送方式の1実
施例を説明する中央装置及び時分割信号送出装置の構成
例を示すブロック図である。
FIG. 4 is a block diagram showing a configuration example of a central device and a time division signal transmission device for explaining an embodiment of a time division multiplexing data transmission system according to the present invention.

【図5】本発明による時分割多重データ伝送方式の1実
施例を説明する端末制御装置の1実施例を説明するブロ
ック図である。
FIG. 5 is a block diagram illustrating an embodiment of a terminal control device for explaining an embodiment of a time division multiplex data transmission system according to the present invention.

【図6】本発明による時分割多重データ伝送方式の1実
施例におけるコマンドの形式の説明図である。
FIG. 6 is an explanatory diagram of a command format in one embodiment of the time division multiplex data transmission system according to the present invention.

【図7】本発明による時分割多重データ伝送方式の1実
施例における中央装置および時分割信号送出装置の機能
ブロツク図である。
FIG. 7 is a functional block diagram of a central apparatus and a time division signal transmission apparatus in an embodiment of the time division multiplex data transmission system according to the present invention.

【図8】本発明による時分割多重データ伝送方式の1実
施例における図7に示した機能ブロツクで実行される中
央装置の動作フローチャートである。
8 is an operation flowchart of a central unit executed by the function block shown in FIG. 7 in one embodiment of the time division multiplex data transmission system according to the present invention.

【図9】本発明による時分割多重データ伝送方式の1実
施例における図7に示した機能ブロツクで実行される時
分割信号送出装置の動作フローチャートである。
9 is an operation flowchart of the time division signal transmission apparatus executed by the function block shown in FIG. 7 in one embodiment of the time division multiplex data transmission system according to the present invention.

【図10】本発明による時分割多重データ伝送方式の1
実施例における端末制御装置の機能ブロツク図である。
FIG. 10 is one of time division multiplex data transmission systems according to the present invention.
It is a functional block diagram of the terminal control device in an Example.

【図11】本発明による時分割多重データ伝送方式の1
実施例における図10に示した機能ブロツクで実行され
る中央装置の動作フローチャートの部分図である。
FIG. 11 is one of time division multiplex data transmission systems according to the present invention.
FIG. 11 is a partial view of an operation flowchart of a central device executed by the function block shown in FIG. 10 in the embodiment.

【図12】本発明による時分割多重データ伝送方式の1
実施例における図10に示した機能ブロツクで実行され
る中央装置の動作フローチャートの他の部分図である。
FIG. 12 is a time division multiplex data transmission system 1 according to the present invention.
FIG. 11 is another partial view of the operation flowchart of the central apparatus executed by the functional block shown in FIG. 10 in the embodiment.

【符号の説明】図1 1 中央装置 21 〜26 , ・・2n ・・ 端末制御装置 3 伝送路 4 時分割信号送出装置 11 時分割信号受信手段 12 リクエストコマンド送信手段 13 端末応答コマンド受信手段 14 中央応答コマンド送信手段 21 時分割信号受信手段 22 リクエストコマンド受信手段 23 端末応答コマンド送信手段 24 中央応答コマンド受信手段図2 TDP 時分割信号 AD 端末制御装置のアドレス RC リクエストコマンド TACA 伝送制御情報と1ブロックのデータで構成さ
れる端末応答コマンド TACB 伝送制御情報だけで構成される端末応答コマ
ンド CACA 伝送制御情報と1ブロックのデータで構成さ
れる中央応答コマンド CACB 伝送制御情報だけで構成される中央応答コマ
ンド ST 送出停止パルス DT 分割時間図3 51 〜56 通信線 61 〜66 数値制御生産機械図4 101 CPU 102 オペレーティングシステム(OS)格納部 103 通信インターフェース(通信IF) 104 多重伝送デバイスドライバ 105 多重伝送メインプログラム格納部 106 キーボード 107 モニター(CRT) 108 記憶媒体 401 ブレイク信号発生回路 402 送信ドライバ図5 201 CPU 202 通信IF 203 割り込み伝送制御プログラム格納部 204 メインプログラム格納部 205 アドレス設定部 206 送信データバッファ 207 受信データバッファ 208 表示部 209 出力部 210 入力部図7 15 信号受信手段 16 信号判別手段 17 アドレス設定手段 18 端末応答コマンド受信手段 19 リクエストコマンド作成手段 20 端末応答コマンド解析手段 21 中央応答コマンド作成手段 22 端末装置別受信データバッファ 23 端末装置別送信データバッファ 25 時分割信号送出手段 26 一定時間間隔時分割信号発生手段図10 27 コマンド送信手段 28 端末応答コマンド作成手段 29 送信データバッファ 30 信号受信手段 31 信号判別手段 32 キャラクタ受信許可・禁止手段 33 アドレス照合手段 34 リクエストコマンド受信手段 35 中央応答コマンド受信手段 36 リクエストコマンド解析手段 37 中央応答コマンド解析手段 38 受信データバッファ
[Explanation of Codes] FIG. 1 1 Central device 2 1 to 2 6, ..., 2 n ... Terminal control device 3 Transmission line 4 Time division signal transmission device 11 Time division signal reception means 12 Request command transmission means 13 Terminal response command reception Means 14 Central response command transmission means 21 Time division signal reception means 22 Request command reception means 23 Terminal response command transmission means 24 Central response command reception means Fig. 2 TDP time division signal AD terminal control unit address RC request command TACA Transmission control information and Terminal response command consisting of 1 block of data TACB Terminal response command consisting of only transmission control information CACA Central response command consisting of transmission control information and 1 block of data CACB Central response consisting of transmission control information Command ST Transmission stop pulse DT minutes Time Figure 3 5 1 to 5 6 communication line 61 through 6 numerically controlled production machine diagram 4 101 CPU 102 operating system (OS) storage unit 103 communication interface (communication IF) 104 multiplex transmission device driver 105 multiplex main program storage unit 106 keyboard 107 monitor (CRT) 108 storage medium 401 break signal generation circuit 402 transmission driver FIG. 5 201 CPU 202 communication IF 203 interrupt transmission control program storage unit 204 main program storage unit 205 address setting unit 206 transmission data buffer 207 reception data buffer 208 input section diagram display unit 209 output unit 210 7 15 signal receiving means 16 signal determination unit 17 address setting means 18 terminal response command receiving unit 19 requests the command preparation unit 20 End response command analyzing means 21 central response command generating means 22 terminal by the received data buffer 23 the terminal device by transmitting data in buffer 25 time division signal transmitting unit 26 a predetermined time interval divided signal generating means 10. FIG 27 command transmitting unit 28 terminal response command Creating means 29 Transmission data buffer 30 Signal receiving means 31 Signal determining means 32 Character reception permission / inhibition means 33 Address collating means 34 Request command receiving means 35 Central response command receiving means 36 Request command analyzing means 37 Central response command analyzing means 38 Received data buffer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】中央装置と複数の端末制御装置を伝送線を
介してマルチポイントに接続したデータ伝送ネットワー
クを構成し、上記中央装置と上記各端末制御装置との間
でデータの伝送を行う時分割多重データ伝送方式におい
て、 前記ネットワークに、1パルス信号である時分割信号を
周期的に伝送線に送出する時分割信号送出装置を設置
し、 前記中央装置に、時分割信号受信手段とリクエストコマ
ンド送信手段,端末応答コマンド受信手段および中央応
答コマンド送信手段とを備え、 前記端末制御装置に、時分割信号受信手段とリクエスト
コマンド受信手段と端末応答コマンド送信手段と中央応
答コマンド受信手段とを備えてなり、 前記中央装置は、上記時分割信号受信手段により上記時
分割信号送出装置からの時分割信号を受信して上記リク
エストコマンド送信手段が時分割信号を受信する毎に送
受信権を与える端末制御装置のアドレスを含むリクエス
トコマンドを前記伝送線に送出すると共に、上記端末応
答コマンド受信手段で上記端末制御装置の応答コマンド
を受信して上記中央応答コマンド送信手段により上記端
末制御装置の応答コマンドの受信に応じて当該端末制御
装置に対して応答コマンドを送信する伝送シーケンスを
実行する一方、 前記端末制御装置は、上記時分割信号受信手段で上記時
分割信号送出装置からの時分割信号を受信し、上記リク
エストコマンド受信手段が上記時分割信号を受信した直
後の受信キャラクタ列をリクエストコマンドと認識する
と共に、上記端末応答コマンド送信手段により送受信権
を与えられた応答として伝送制御情報を付加した1ブロ
ックのデータ又は伝送制御情報を中央装置に送信し、上
記中央応答コマンド受信手段で前記中央装置の中央応答
コマンド送信手段から送信された応答コマンドを受信す
る伝送シーケンスを実行すると共に、 前記中央装置1は送受信権を与えた端末制御装置からの
応答を受信した後、伝送制御情報を付加した1ブロック
のデータ又は伝送制御情報を上記送受信権を与えた端末
制御装置に送信して、時分割信号で区切られた分割時間
内に上記中央装置と上記端末制御装置間の伝送シーケン
スを完了することを特徴とする時分割多重データ伝送方
式。
1. A data transmission network in which a central unit and a plurality of terminal control units are connected to one another via transmission lines in a multipoint manner to transmit data between the central unit and each of the terminal control units. In the division multiplexing data transmission system, a time division signal transmission device for periodically transmitting a time division signal which is one pulse signal to a transmission line is installed in the network, and the central device is provided with a time division signal receiving means and a request command. A transmission unit, a terminal response command receiving unit, and a central response command transmitting unit, and the terminal control device includes a time division signal receiving unit, a request command receiving unit, a terminal response command transmitting unit, and a central response command receiving unit. The central device receives the time division signal from the time division signal transmission device by the time division signal reception means, Each time the request command transmitting means receives a time division signal, the request command including the address of the terminal control device to which the transmission / reception right is given is transmitted to the transmission line, and the terminal response command receiving means transmits the response command of the terminal control device. While executing the transmission sequence of receiving and transmitting the response command to the terminal control device in response to the reception of the response command of the terminal control device by the central response command transmitting means, the terminal control device is The signal receiving means receives the time division signal from the time division signal transmitting device, recognizes the received character string immediately after the request command receiving means receives the time division signal as a request command, and transmits the terminal response command. One block with transmission control information added as a response to which the transmission / reception right is given by the means. The central device 1 transmits lock data or transmission control information to the central unit, and the central response command receiving unit executes a transmission sequence for receiving the response command transmitted from the central response command transmitting unit of the central unit. After receiving the response from the terminal control device to which the transmission / reception right is given, transmits one block of data to which the transmission control information is added or the transmission control information to the terminal control device to which the transmission / reception right is given, and transmits the time division signal. A time division multiplex data transmission system characterized in that a transmission sequence between the central unit and the terminal control unit is completed within a divided division time.
【請求項2】請求項1において、調歩同期式で伝送を行
う場合には、時分割信号を1伝送キャラクタ以上の幅を
持つローレベルのパルス信号であるブレイク信号とする
ことを特徴とする時分割多重データ伝送方式。
2. The time division signal according to claim 1, wherein the time division signal is a break signal which is a low level pulse signal having a width of one transmission character or more. Division multiplexing data transmission system.
【請求項3】請求項1において、前記時分割信号送出装
置は、前記中央装置がデータを送信している最中に時分
割信号を送出する時間になった場合、中央装置のデータ
送信終了まで時分割信号の送出を停止することを特徴と
する時分割多重データ伝送方式。
3. The time division signal transmission device according to claim 1, wherein when the time to transmit the time division signal is reached while the central device is transmitting data, the time division signal transmission device until the end of data transmission of the central device. A time division multiplex data transmission method characterized in that the transmission of time division signals is stopped.
【請求項4】請求項1において、前記中央装置が前記時
分割信号送出装置を備えることを特徴とする時分割多重
データ伝送方式。
4. The time division multiplex data transmission system according to claim 1, wherein the central unit includes the time division signal transmission unit.
JP4346517A 1992-12-25 1992-12-25 Time division multiplex data transmission method Expired - Lifetime JP2847151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4346517A JP2847151B2 (en) 1992-12-25 1992-12-25 Time division multiplex data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4346517A JP2847151B2 (en) 1992-12-25 1992-12-25 Time division multiplex data transmission method

Publications (2)

Publication Number Publication Date
JPH06205471A true JPH06205471A (en) 1994-07-22
JP2847151B2 JP2847151B2 (en) 1999-01-13

Family

ID=18383963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4346517A Expired - Lifetime JP2847151B2 (en) 1992-12-25 1992-12-25 Time division multiplex data transmission method

Country Status (1)

Country Link
JP (1) JP2847151B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04336604A (en) * 1991-05-14 1992-11-24 Mori Seiki Co Ltd Nc device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04336604A (en) * 1991-05-14 1992-11-24 Mori Seiki Co Ltd Nc device

Also Published As

Publication number Publication date
JP2847151B2 (en) 1999-01-13

Similar Documents

Publication Publication Date Title
EP0035789B1 (en) Method and arrangement for loop initialization in a peer-to-peer serial loop communication system
EP0183273A2 (en) Serial interface system flexibly applicable to a one-to-plurality connection
JPH05219005A (en) Variable data rate channels for digital networks
US4512026A (en) Data format for asynchronous data transmission
JP2566106B2 (en) Switchable hardware device and its switching method
JP2847151B2 (en) Time division multiplex data transmission method
US4095045A (en) Method and apparatus for signaling in a communication system
EP1129570B1 (en) Circuit and method for detecting an escape sequence in a modem
JPS636183B2 (en)
JP2821162B2 (en) Data line termination equipment
JPS6392135A (en) Digital subscriber line transmission system
JPH0630506B2 (en) Serial communication device
JPH0352350A (en) Data communication controller
JPS61118032A (en) Data transmission circuit
JPS6336587B2 (en)
JPH0573092B2 (en)
JP2941266B1 (en) Encoder data output method for bus communication type encoder device
JPH0654052A (en) Isdn line start system
JPH0677946A (en) Digital communication system
JPH08172426A (en) Asynchronous data transmission system
JPS6145654A (en) Multiplex line concentrator
JPH0418738B2 (en)
JPH1198214A (en) Communication control device
JPH0637738A (en) Data transmission error control method
JPH01231448A (en) Start-stop data mutliplexing system