JPH09107391A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPH09107391A
JPH09107391A JP7265130A JP26513095A JPH09107391A JP H09107391 A JPH09107391 A JP H09107391A JP 7265130 A JP7265130 A JP 7265130A JP 26513095 A JP26513095 A JP 26513095A JP H09107391 A JPH09107391 A JP H09107391A
Authority
JP
Japan
Prior art keywords
data
transmission
communication control
timing
reception
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.)
Withdrawn
Application number
JP7265130A
Other languages
Japanese (ja)
Inventor
Takeshi Yamamoto
剛士 山本
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP7265130A priority Critical patent/JPH09107391A/en
Publication of JPH09107391A publication Critical patent/JPH09107391A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To communicate status information surely at a high speed without the need for a huge hardware scale. SOLUTION: Timing control circuits 13, 23 set timing signals 118, 128 to communication controllers 2, 1 as transmission timing signals from the transmission of data till the reception of data of an opposite party in the case of making data transmission earlier than the opposite party. The timing control circuits 13, 23 set timing signals 118, 128 to the communication controllers 2, 1 as reception reply and transmission timing signals from the transmission of data till the timing signals from the opposite party are reset in the case of making data reception earlier than the opposite party.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は通信制御装置に関
し、特に機械系に対して駆動制御を行う機械制御装置間
の通信制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device, and more particularly to communication control between machine control devices that drive and control a mechanical system.

【0002】[0002]

【従来の技術】従来、この種の機械制御装置において
は、互いに状態情報、つまり作業の進展具合をやり取り
することで、接続されている機械系に対する駆動制御を
行うよう構成されている。
2. Description of the Related Art Conventionally, in this type of machine control device, drive control is performed on a connected mechanical system by exchanging state information, that is, the progress of work.

【0003】すなわち、図4に示すように、機械制御装
置3,4は夫々制御装置31,41と、駆動装置32−
1〜32−m,42−1〜42−n(m,nは正の整
数)と、出力ユニット33,43,45と、入力ユニッ
ト34,44,46とから構成されており、出力ユニッ
ト33,43及び入力ユニット34,44で相互に接続
されている。尚、機械制御装置4の出力ユニット45及
び入力ユニット46は図示せぬ他の機械制御装置に接続
されている。
That is, as shown in FIG. 4, the machine control devices 3 and 4 are respectively control devices 31 and 41 and a drive device 32-.
1 to 32-m, 42-1 to 42-n (m and n are positive integers), output units 33, 43 and 45, and input units 34, 44 and 46. , 43 and input units 34, 44 are connected to each other. The output unit 45 and the input unit 46 of the machine control device 4 are connected to another machine control device (not shown).

【0004】機械制御装置3,4の制御装置31,41
は駆動装置32−1〜32−m,42−1〜42−nを
制御して図示せぬ機械系(駆動装置32−1〜32−
m,42−1〜42−n各々に接続されている機械系)
を駆動し、機械系各々に対して異なる作業を行わせてい
る。
Control devices 31, 41 of the machine control devices 3, 4
Controls the drive units 32-1 to 32-m and 42-1 to 42-n to control a mechanical system (drive units 32-1 to 32-32).
m, 42-1 to 42-n mechanical system connected to each)
To drive different operations for each mechanical system.

【0005】制御装置31,41は出力ユニット33,
43及び入力ユニット34,44を用いて、それら機械
系の作業の進展具合を状態情報としてやり取りし、他装
置の進展具合に応じて自装置の機械系を制御している。
The control devices 31, 41 are output units 33,
Using 43 and the input units 34 and 44, the progress of the work of the mechanical system is exchanged as state information, and the mechanical system of the own device is controlled according to the progress of the other device.

【0006】そのため、一方の装置から他方の装置にデ
ータが送信されないと、他方の装置における機械系の制
御に異常が発生してしまうので、出力ユニット33と入
力ユニット44との間及び出力ユニット43と入力ユニ
ット34との間で夫々パラレル信号を送受信すること
で、夫々の状態情報を確実にかつ高速にやり取りしてい
る。
Therefore, unless data is transmitted from one device to the other device, an abnormality occurs in the control of the mechanical system in the other device. Therefore, between the output unit 33 and the input unit 44 and the output unit 43. By transmitting and receiving parallel signals between the input unit 34 and the input unit 34, the respective state information is reliably and rapidly exchanged.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の機械制
御装置では、状態情報の授受をパラレル信号で行ってい
るので、例えば出力/入力に必要な信号がN点(Nは正
の整数)とすると、出力ユニット及び入力ユニット各々
の点数がN点ずつ必要となり、多大なハードウェア量が
必要となる。
In the above-described conventional machine control device, since the status information is transmitted and received by parallel signals, for example, the signals required for output / input are N points (N is a positive integer). Then, N points are required for each of the output unit and the input unit, and a large amount of hardware is required.

【0008】情報処理装置間のデータ通信においてはシ
リアル信号でデータのやり取りを行う方法があり、その
ような方法の一例として受信側がデータを受信可能な時
にタイミング信号を出力することによってシリアル信号
を高速に送受信する方法が特開昭60−33759号公
報に開示されている。
In data communication between information processing devices, there is a method of exchanging data with a serial signal. As an example of such a method, a high-speed serial signal can be obtained by outputting a timing signal when the receiving side can receive the data. A method of transmitting and receiving data is disclosed in JP-A-60-33759.

【0009】すなわち、図5に示すように、通信制御装
置5,6は夫々制御回路51,54と、並直列変換回路
52,62と、インタフェース回路53,58,63,
68と、直並列変換回路55,65と、保持回路56,
66と、タイミング発生回路57,67とから構成され
ている。
That is, as shown in FIG. 5, the communication control devices 5 and 6 have control circuits 51 and 54, parallel-serial conversion circuits 52 and 62, interface circuits 53, 58 and 63, respectively.
68, serial-parallel conversion circuits 55 and 65, holding circuit 56,
66 and timing generation circuits 57 and 67.

【0010】これらの通信制御装置5,6間では互いに
相手からの送信データSDを受信データRDとして受信
し、受信側からのタイミング信号ST1 を送信データS
Dの送信タイミング信号ST2 としている。
The communication control devices 5 and 6 receive the transmission data SD from the other party as the reception data RD, and receive the timing signal ST1 from the reception side as the transmission data S.
The transmission timing signal ST2 of D is used.

【0011】通信制御装置6から通信制御装置5にデー
タ転送を行う場合、タイミング発生回路57は受信タイ
ミング及び通信制御装置6がデータを送信するためのタ
イミングを発生し、制御回路54の指示によって規定の
クロックを出力する。また、保持回路56はタイミング
発生回路57に接続され、タイミング発生回路57の出
力信号を出力するか否かの指示を制御回路54の指示に
従って行うようになっている。
When data is transferred from the communication control device 6 to the communication control device 5, the timing generation circuit 57 generates a reception timing and a timing for the communication control device 6 to transmit data, and the timing is specified by an instruction from the control circuit 54. Output the clock. Further, the holding circuit 56 is connected to the timing generating circuit 57, and instructs whether to output the output signal of the timing generating circuit 57 according to the instruction of the control circuit 54.

【0012】インタフェース回路58はタイミング発生
回路57からのクロックをタイミング信号ST1 として
出力する。このタイミング信号ST1 は通信制御装置6
に送信タイミング信号ST2 として供給される。
The interface circuit 58 outputs the clock from the timing generation circuit 57 as the timing signal ST1. This timing signal ST1 is used for the communication control device 6
To the transmission timing signal ST2.

【0013】通信制御装置6のインタフェース回路63
は送信タイミング信号ST2 を並直列変換回路62に送
る。並直列変換回路62は制御回路61から送られてく
る並列の信号データをインタフェース回路63から送ら
れてくるタイミングで並直列変換し、インタフェース回
路63から送信データSDとして出力する。
Interface circuit 63 of communication control unit 6
Sends the transmission timing signal ST2 to the parallel-serial conversion circuit 62. The parallel-serial conversion circuit 62 performs parallel-serial conversion of the parallel signal data sent from the control circuit 61 at the timing sent from the interface circuit 63, and outputs from the interface circuit 63 as transmission data SD.

【0014】通信制御装置6からの送信データSDは通
信制御装置5に受信データRDとして入力され、インタ
フェース回路58から直並列変換回路55に送られる。
直並列変換回路55はタイミング発生回路57からのク
ロックによって直並列変換を行い、制御回路54に受信
データを送る。
The transmission data SD from the communication control device 6 is input to the communication control device 5 as reception data RD and sent from the interface circuit 58 to the serial / parallel conversion circuit 55.
The serial-parallel conversion circuit 55 performs serial-parallel conversion by the clock from the timing generation circuit 57 and sends the received data to the control circuit 54.

【0015】上述した動作を繰返し行うことで、通信制
御装置5,6間でデータの送受信が行われる。尚、通信
制御装置5から通信制御装置6へのデータ転送も、上記
の通信制御装置5,6の動作を逆に行うことで実行され
る。
By repeating the above-mentioned operation, data is transmitted and received between the communication control devices 5 and 6. Data transfer from the communication control device 5 to the communication control device 6 is also performed by performing the operations of the communication control devices 5 and 6 in reverse.

【0016】受信したデータが制御キャラクタ等で一時
的に受信側の処理が規定時間内(1キャラクタタイム)
に終了しない場合には制御回路54が保持回路56をセ
ットすれば、保持回路56がリセットされるまでタイミ
ング発生回路57の出力が抑止される。これによって、
送信タイミング及び受信タイミングの発生が停止され、
次のキャラクタの送受信が一時中断する。
The received data is a control character or the like, and the processing on the receiving side is temporarily within the specified time (1 character time).
If the control circuit 54 sets the holding circuit 56 when the holding circuit 56 is not reset, the output of the timing generation circuit 57 is suppressed until the holding circuit 56 is reset. by this,
Generation of transmission timing and reception timing is stopped,
Transmission and reception of the next character is suspended.

【0017】上記の技術においては、通信速度を高速に
して通信制御装置の受信側の処理が遅れた場合、相手の
送信側が一方的にデータ送信を行うのを防止するために
相手の送信タイミングを受信側で制御しているので、確
実に受信できるタイミングでデータが送信されてくる。
このため、受信側の処理時間に影響されることなく、通
信速度を速くすることができる。
In the above technique, when the processing on the receiving side of the communication control device is delayed by increasing the communication speed, the transmission timing of the other party is set to prevent the other party's transmitting side from unilaterally transmitting data. Since it is controlled on the receiving side, data is transmitted at a timing at which it can be reliably received.
Therefore, the communication speed can be increased without being affected by the processing time on the receiving side.

【0018】しかしながら、受信側では送信タイミング
を出力した後に送信側から確実にデータが送られてくる
ことを前提とし、規定時間でデータ受信を行うため、送
信側が本当にデータ送信を行っているか否かを知ること
はできない。したがって、状態情報を確実にかつ高速に
やり取りしなければならない機械制御装置にこの技術を
適用することは困難である。
However, on the assumption that the receiving side outputs the transmission timing and then the data is surely sent from the transmitting side, the receiving side receives the data at the specified time. Therefore, whether or not the transmitting side is actually transmitting the data. Can't know. Therefore, it is difficult to apply this technique to a machine control device that must reliably and rapidly exchange state information.

【0019】そこで、本発明の目的は上記の問題点を解
消し、多大なハードウェア量を必要とすることなく、状
態情報を確実にかつ高速にやり取りすることができる通
信制御システムを提供することにある。
Therefore, an object of the present invention is to solve the above problems and to provide a communication control system capable of reliably and rapidly exchanging state information without requiring a large amount of hardware. It is in.

【0020】[0020]

【課題を解決するための手段】本発明による通信制御シ
ステムは、第1及び第2の通信制御装置の一方がデータ
を送信する時に前記第1及び第2の通信制御装置の他方
がデータを受信するとともに前記第1及び第2の通信制
御装置の一方に対してデータを送信する通信制御システ
ムであって、相手装置よりも先にデータ送信を行う時に
前記データを送信してから前記相手装置のデータを受信
するまで前記データの送信を示す送信通知を送信すると
ともに前記相手装置よりも先にデータ受信を行う時に前
記データを送信してから前記相手装置の前記送信通知を
受信しなくなるまで前記データの受信及び送信を示す送
受信通知を送信する手段を前記第1及び第2の通信制御
装置各々に備えている。
In the communication control system according to the present invention, when one of the first and second communication control devices transmits data, the other of the first and second communication control devices receives the data. A communication control system for transmitting data to one of the first and second communication control devices, wherein the data is transmitted before the data is transmitted before the other device The transmission notification indicating the transmission of the data is transmitted until the data is received, and the data is transmitted when the data is received before the other device, and the data is transmitted until the transmission notification of the other device is not received. Each of the first and second communication control devices is provided with a means for transmitting a transmission / reception notification indicating reception and transmission of.

【0021】本発明による他の通信制御システムは、各
々接続された機械系に対して駆動制御を行いかつ相互に
状態情報の授受を行う第1及び第2の制御装置からなる
通信制御システムであって、相手装置よりも先にデータ
送信を行う時に前記データを送信してから前記相手装置
のデータを受信するまで前記データの送信を示す送信通
知を送信するとともに前記相手装置よりも先にデータ受
信を行う時に前記データを送信してから前記相手装置の
前記送信通知を受信しなくなるまで前記データの受信及
び送信を示す送受信通知を送信する手段を前記第1及び
第2の制御装置各々に備えている。
Another communication control system according to the present invention is a communication control system comprising first and second control devices for controlling the driving of each connected mechanical system and for exchanging state information with each other. When the data is transmitted before the partner device, the transmission notification indicating the transmission of the data is transmitted from the transmission of the data until the data of the partner device is received, and the data is received before the partner device. Each of the first and second control devices is provided with means for transmitting a transmission / reception notification indicating reception and transmission of the data until the reception of the transmission notification of the partner device is stopped There is.

【0022】[0022]

【発明の実施の形態】まず、本発明の作用について以下
に述べる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the operation of the present invention will be described below.

【0023】通信制御装置の一方がデータを送信する時
に、通信制御装置の他方がデータを受信するとともに通
信制御装置の一方に対してデータを送信する通信制御シ
ステムにおいて、データ送信時に相手装置からのデータ
を受信するまで送信タイミングとしてのタイミング信号
をオンにするとともに、データ受信時に相手装置からの
タイミング信号がオフになるまで受信応答及び送信タイ
ミングとしてのタイミング信号をオンにするタイミング
制御回路を通信制御装置各々に配設する。
In a communication control system in which when one of the communication control devices transmits data, the other of the communication control devices receives the data and transmits the data to one of the communication control devices, the data from the partner device is transmitted at the time of data transmission. Communication control of the timing control circuit that turns on the timing signal as the transmission timing until data is received, and turns on the timing signal as the reception response and the transmission timing until the timing signal from the partner device turns off when receiving the data Installed in each device.

【0024】これによって、多大なハードウェア量を必
要とすることなく、状態情報を確実にかつ高速にやり取
りすることができる。
As a result, the state information can be exchanged reliably and at high speed without requiring a large amount of hardware.

【0025】次に、本発明の一実施例について図面を参
照して説明する。図1は本発明の一実施例のシステム構
成を示すブロック図である。図において、本発明の一実
施例による通信制御システムは通信制御装置1,2から
なり、通信制御装置1,2は夫々制御回路11,21
と、並直列変換回路12,22と、タイミング制御回路
13,23と、直並列変換回路14,24と、インタフ
ェース回路15,25とから構成されている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention. In the figure, a communication control system according to an embodiment of the present invention includes communication control devices 1 and 2, and the communication control devices 1 and 2 are control circuits 11 and 21, respectively.
, Parallel-serial conversion circuits 12 and 22, timing control circuits 13 and 23, serial-parallel conversion circuits 14 and 24, and interface circuits 15 and 25.

【0026】これら通信制御装置1,2では相手からの
送信データSD2 ,SD1 を受信データRD2 ,RD1
として受信し、送信データSD1 ,SD2 を送信するタ
イミングと受信データRD2 ,RD1 を受信した応答と
を兼ねるタイミング信号ST1 ,ST2 を相手装置のタ
イミング信号RT2 ,RT1 に接続している。
In these communication control devices 1 and 2, the transmission data SD2 and SD1 from the other party are received data RD2 and RD1.
The timing signals ST1 and ST2 having the timing of transmitting the transmission data SD1 and SD2 and the response of receiving the reception data RD2 and RD1 are connected to the timing signals RT2 and RT1 of the partner device.

【0027】図2は本発明の一実施例の動作を示すタイ
ミングチャートであり、図3は図1のタイミング制御回
路13,23の制御動作を示すフローチャートである。
これら図1〜図3を用いて本発明の一実施例の動作につ
いて説明する。尚、通信制御装置1,2は相手装置から
データが送られてくる時に、相手装置に対してデータを
送信するよう構成されているものとする。
FIG. 2 is a timing chart showing the operation of one embodiment of the present invention, and FIG. 3 is a flow chart showing the control operation of the timing control circuits 13 and 23 of FIG.
The operation of the embodiment of the present invention will be described with reference to FIGS. It is assumed that the communication control devices 1 and 2 are configured to transmit data to the partner device when the data is sent from the partner device.

【0028】まず、通信制御装置1から通信制御装置2
にデータを送る場合、制御回路11はタイミング制御回
路13に変換指令112を出力し、並直列変換回路12
に並列信号データ111を送出する。
First, the communication control device 1 to the communication control device 2
When sending data to the control circuit 11, the control circuit 11 outputs a conversion command 112 to the timing control circuit 13, and the parallel-serial conversion circuit 12
The parallel signal data 111 is sent to.

【0029】タイミング制御回路13は常にタイミング
信号119を監視しており、タイミング信号119がオ
ンになるとデータ受信と判断し(図3ステップS1)、
制御回路11から変換指令112が送られてくるとデー
タ送信と判断する(図3ステップS2)。
The timing control circuit 13 constantly monitors the timing signal 119. When the timing signal 119 is turned on, it is judged that the data is received (step S1 in FIG. 3).
When the conversion command 112 is sent from the control circuit 11, it is determined that the data is sent (step S2 in FIG. 3).

【0030】タイミング制御回路13は制御回路11か
ら変換指令112が送られてくると、データ送信と判断
して並直列変換回路12に変換信号115を出力する。
並直列変換回路12はタイミング制御回路13から変換
信号115が送られてくると、制御回路11からの並列
信号データ111を並直列変換し、直列送信データ11
7をインタフェース回路15に出力する。
When the conversion command 112 is sent from the control circuit 11, the timing control circuit 13 determines that the data is transmitted and outputs the conversion signal 115 to the parallel-serial conversion circuit 12.
When the conversion signal 115 is sent from the timing control circuit 13, the parallel-serial conversion circuit 12 performs parallel-serial conversion on the parallel signal data 111 from the control circuit 11, and the serial transmission data 11 is transmitted.
7 is output to the interface circuit 15.

【0031】その後、タイミング制御回路13は送信タ
イミングとして通信制御装置2へのタイミング信号11
8をオンにする(図3ステップS3)。
After that, the timing control circuit 13 outputs the timing signal 11 to the communication control device 2 as the transmission timing.
8 is turned on (step S3 in FIG. 3).

【0032】インタフェース回路15は並直列変換回路
12からの直列送信データ117を送信データ101
(SD1 →RD1 )として通信制御装置2に送出し、タ
イミング制御回路13からのタイミング信号118を受
けて通信制御装置2へのタイミング信号102(ST1
→RT1 )をオンにする。
The interface circuit 15 converts the serial transmission data 117 from the parallel-serial conversion circuit 12 into the transmission data 101.
(SD1 → RD1), which is sent to the communication control device 2, receives the timing signal 118 from the timing control circuit 13, and receives the timing signal 102 (ST1
→ Turn on RT1).

【0033】通信制御装置2のインタフェース回路25
は通信制御装置1からの送信データ101(図2の並列
受信データb1,b2,b3,……)を直列受信データ
130として直並列変換回路24に送出し、通信制御装
置1からのタイミング信号102がオンになると、タイ
ミング制御回路23へのタイミング信号129をオンに
する。
Interface circuit 25 of communication controller 2
Sends the transmission data 101 (parallel reception data b1, b2, b3, ... In FIG. 2) from the communication control device 1 to the serial-parallel conversion circuit 24 as serial reception data 130, and the timing signal 102 from the communication control device 1 is transmitted. Is turned on, the timing signal 129 to the timing control circuit 23 is turned on.

【0034】タイミング制御回路23も、通信制御装置
1のタイミング制御回路13と同様に、常にタイミング
信号129を監視しており、タイミング信号129がオ
ンになるとデータ受信と判断し(図3ステップS1)、
制御回路21から変換指令122が送られてくるとデー
タ送信と判断する(図3ステップS2)。
The timing control circuit 23, like the timing control circuit 13 of the communication control device 1, constantly monitors the timing signal 129, and when the timing signal 129 is turned on, it is determined that data has been received (step S1 in FIG. 3). ,
When the conversion command 122 is sent from the control circuit 21, it is judged that the data is sent (step S2 in FIG. 3).

【0035】この場合、タイミング制御回路23はイン
タフェース回路25からのタイミング信号129がオン
になるのでデータ受信と判断し、直並列変換回路24に
変換信号126を出力する。
In this case, the timing control circuit 23 determines that the data is received because the timing signal 129 from the interface circuit 25 is turned on, and outputs the conversion signal 126 to the serial-parallel conversion circuit 24.

【0036】直並列変換回路24はタイミング制御回路
23から変換信号126が送られてくると、インタフェ
ース回路25からの直列受信データ130を直並列変換
し、並列受信データ124を制御回路21に出力する。
このとき、タイミング制御回路23は制御回路21に変
換完了信号123を出力する。
When the conversion signal 126 is sent from the timing control circuit 23, the serial-parallel conversion circuit 24 serial-parallel converts the serial reception data 130 from the interface circuit 25 and outputs the parallel reception data 124 to the control circuit 21. .
At this time, the timing control circuit 23 outputs the conversion completion signal 123 to the control circuit 21.

【0037】上記の受信動作が行われる時、制御回路2
1はタイミング制御回路23に変換指令122を出力
し、並直列変換回路22に並列信号データ121を送出
する。タイミング制御回路23は制御回路21から変換
指令122が送られてくると、データ送信と判断して並
直列変換回路22に変換信号125を出力する。
When the above receiving operation is performed, the control circuit 2
1 outputs a conversion command 122 to the timing control circuit 23 and sends parallel signal data 121 to the parallel-serial conversion circuit 22. When the conversion command 122 is sent from the control circuit 21, the timing control circuit 23 determines that the data is transmitted and outputs the conversion signal 125 to the parallel-serial conversion circuit 22.

【0038】並直列変換回路22はタイミング制御回路
23から変換信号125が送られてくると、制御回路2
1からの並列信号データ121を並直列変換し、直列送
信データ127をインタフェース回路25に出力する。
When the conversion signal 125 is sent from the timing control circuit 23 to the parallel-serial conversion circuit 22, the control circuit 2 receives it.
The parallel signal data 121 from 1 is parallel-serial converted, and serial transmission data 127 is output to the interface circuit 25.

【0039】その後、タイミング制御回路23は受信応
答及び送信タイミングとして通信制御装置1へのタイミ
ング信号128をオンにする(図3ステップS6)。
After that, the timing control circuit 23 turns on the timing signal 128 to the communication control device 1 as the reception response and the transmission timing (step S6 in FIG. 3).

【0040】インタフェース回路25は並直列変換回路
22からの直列送信データ127を送信データ104
(SD2 →RD2 )として通信制御装置1に送出し、タ
イミング制御回路23からのタイミング信号128を受
けて通信制御装置1へのタイミング信号103(ST2
→RT2 )をオンにする。
The interface circuit 25 converts the serial transmission data 127 from the parallel-serial conversion circuit 22 into the transmission data 104.
(SD2 → RD2), the timing signal 128 is sent to the communication control device 1, and the timing signal 103 (ST2
→ Turn on RT2).

【0041】通信制御装置1のインタフェース回路15
は通信制御装置2からの送信データ104(図2の並列
受信データa1,a2,a3,……)を直列受信データ
120として直並列変換回路14に送出し、通信制御装
置2からのタイミング信号103がオンになると、タイ
ミング制御回路13へのタイミング信号119をオンに
する。
Interface circuit 15 of communication controller 1
Transmits the transmission data 104 (parallel reception data a1, a2, a3, ... In FIG. 2) from the communication control device 2 to the serial-parallel conversion circuit 14 as serial reception data 120, and the timing signal 103 from the communication control device 2 is transmitted. When is turned on, the timing signal 119 to the timing control circuit 13 is turned on.

【0042】タイミング制御回路13はインタフェース
回路15からのタイミング信号119がオンになるので
データ受信と判断し(図3ステップS4)、直並列変換
回路14に変換信号116を出力する。
Since the timing signal 119 from the interface circuit 15 is turned on, the timing control circuit 13 judges that the data has been received (step S4 in FIG. 3) and outputs the conversion signal 116 to the serial-parallel conversion circuit 14.

【0043】直並列変換回路14はタイミング制御回路
13から変換信号116が送られてくると、インタフェ
ース回路15からの直列受信データ120を直並列変換
し、並列受信データ114を制御回路11に出力する。
このとき、タイミング制御回路13は制御回路11に変
換完了信号113を出力する。
When the conversion signal 116 is sent from the timing control circuit 13, the serial-parallel conversion circuit 14 serial-parallel converts the serial reception data 120 from the interface circuit 15 and outputs the parallel reception data 114 to the control circuit 11. .
At this time, the timing control circuit 13 outputs the conversion completion signal 113 to the control circuit 11.

【0044】タイミング制御回路13は直列受信データ
120が直並列変換回路14で直並列変換された後、受
信応答として通信制御装置2へのタイミング信号118
をオフにする(図3ステップS5)。
After the serial reception data 120 is serial-parallel converted by the serial-parallel conversion circuit 14, the timing control circuit 13 outputs a timing signal 118 to the communication control device 2 as a reception response.
Is turned off (step S5 in FIG. 3).

【0045】インタフェース回路15はタイミング制御
回路13からのタイミング信号118を受けて通信制御
装置2へのタイミング信号102(ST1 →RT1 )を
オフにする。これによって、通信制御装置1の通信サイ
クルが終了する。
The interface circuit 15 receives the timing signal 118 from the timing control circuit 13 and turns off the timing signal 102 (ST1 → RT1) to the communication control device 2. As a result, the communication cycle of the communication control device 1 ends.

【0046】通信制御装置2のインタフェース回路25
は通信制御装置1からのタイミング信号102がオフに
なると、タイミング制御回路23へのタイミング信号1
29をオフにする。
Interface circuit 25 of communication controller 2
When the timing signal 102 from the communication control device 1 is turned off, the timing signal 1 to the timing control circuit 23
Turn off 29.

【0047】タイミング制御回路23はインタフェース
回路25からのタイミング信号129がオフになると
(図3ステップS7)、通信制御装置1へのタイミング
信号128をオフにする(図3ステップS8)。
When the timing signal 129 from the interface circuit 25 is turned off (step S7 in FIG. 3), the timing control circuit 23 turns off the timing signal 128 to the communication control device 1 (step S8 in FIG. 3).

【0048】インタフェース回路25はタイミング制御
回路23からのタイミング信号128を受けて通信制御
装置1へのタイミング信号103(ST2 →RT2 )を
オフにする。これによって、通信制御装置2の通信サイ
クルが終了する(図2参照)。
The interface circuit 25 receives the timing signal 128 from the timing control circuit 23 and turns off the timing signal 103 (ST2 → RT2) to the communication control device 1. As a result, the communication cycle of the communication control device 2 ends (see FIG. 2).

【0049】本発明の一実施例による通信制御システム
では上述した動作を繰返すことで、通信制御装置1,2
間でデータの送受信を行う。尚、通信制御装置2から通
信制御装置1に先にデータを送信する場合には、上記の
通信制御装置1,2の動作を逆に行うことで実行され
る。
In the communication control system according to the embodiment of the present invention, the communication control devices 1 and 2 are repeated by repeating the above-mentioned operation.
Send and receive data between. When data is transmitted from the communication control device 2 to the communication control device 1 first, the communication control devices 1 and 2 are operated in reverse.

【0050】また、通信制御装置1,2各々の制御回路
11,21が駆動装置及び機械系(図示せず)に接続さ
れる機械制御装置の場合にも、通信制御装置1,2内の
各回路が上述した動作を行うことで、機械制御装置間で
行われる状態情報の授受も確実にかつ高速に行うことが
できる。その場合、機械制御装置に配設される出力ユニ
ット及び入力ユニットは送受信データがシリアル信号な
ので、従来よりもユニット数を減らすことができ、多大
なハードウェア量を必要としない。
Also, in the case of a machine control device in which the control circuits 11 and 21 of the communication control devices 1 and 2 are connected to a drive device and a mechanical system (not shown), each of the communication control devices 1 and 2 is By the circuit performing the above-described operation, the state information exchange between the machine control devices can be surely performed at high speed. In that case, since the transmission / reception data of the output unit and the input unit arranged in the machine control device are serial signals, the number of units can be reduced as compared with the conventional case, and a large amount of hardware is not required.

【0051】このように、通信制御装置1,2の一方が
データを送信する時に、通信制御装置1,2の他方がデ
ータを受信するとともに通信制御装置1,2の一方に対
してデータを送信する通信制御システムにおいて、相手
装置よりも先にデータ送信を行う時にデータを送信して
から相手装置のデータを受信するまで送信タイミングと
してのタイミング信号102,103をオンにするとと
もに、相手装置よりも先にデータ受信を行う時にデータ
を送信してから相手装置のタイミング信号102,10
3がオフになるまで受信応答及び送信タイミングとして
のタイミング信号102,103をオンにするタイミン
グ制御回路13,23を通信制御装置1,2各々に配設
することによって、多大なハードウェア量を必要とする
ことなく、状態情報を確実にかつ高速にやり取りするこ
とができる。
As described above, when one of the communication control devices 1 and 2 transmits data, the other of the communication control devices 1 and 2 receives the data and transmits the data to one of the communication control devices 1 and 2. In the communication control system, when the data is transmitted before the partner device, the timing signals 102 and 103 as the transmission timing are turned on until the data is transmitted from the partner device until the data is received by the partner device. When the data is first received, the timing signal 102, 10 of the partner device is transmitted after the data is transmitted.
A large amount of hardware is required by arranging the timing control circuits 13 and 23 for turning on the timing signals 102 and 103 as the reception response and the transmission timing until the signal 3 is turned off, in the communication control devices 1 and 2, respectively. State information can be exchanged reliably and at high speed.

【0052】[0052]

【発明の効果】以上説明したように本発明によれば、第
1及び第2の通信制御装置の一方がデータを送信する時
に第1及び第2の通信制御装置の他方がデータを受信す
るとともに第1及び第2の通信制御装置の一方に対して
データを送信する通信制御システムにおいて、相手装置
よりも先にデータ送信を行う時にデータを送信してから
相手装置のデータを受信するまで、データの送信を示す
送信通知を送信するとともに、相手装置よりも先にデー
タ受信を行う時にデータを送信してから相手装置の送信
通知を受信しなくなるまで、データの受信及び送信を示
す送受信通知を送信することによって、多大なハードウ
ェア量を必要とすることなく、状態情報を確実にかつ高
速にやり取りすることができるという効果がある。
As described above, according to the present invention, when one of the first and second communication control devices transmits data, the other of the first and second communication control devices receives the data. In a communication control system that transmits data to one of the first and second communication control devices, when data is transmitted before the other device, data is transmitted until the data of the other device is received. The transmission notification indicating the transmission of the data is transmitted, and the transmission / reception notification indicating the reception and transmission of the data is transmitted until the reception notification of the partner device is not received after the data is transmitted when the data reception is performed before the partner device. By doing so, there is an effect that the status information can be exchanged reliably and at high speed without requiring a large amount of hardware.

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

【図1】本発明の一実施例のシステム構成を示すブロッ
ク図である。
FIG. 1 is a block diagram illustrating a system configuration according to an embodiment of the present invention.

【図2】本発明の一実施例の動作を示すタイミングチャ
ートである。
FIG. 2 is a timing chart showing the operation of one embodiment of the present invention.

【図3】図1のタイミング制御回路の制御動作を示すフ
ローチャートである。
FIG. 3 is a flowchart showing a control operation of the timing control circuit of FIG.

【図4】従来の機械制御装置の一例を示す図である。FIG. 4 is a diagram showing an example of a conventional machine control device.

【図5】従来の通信制御装置の一例を示す図である。FIG. 5 is a diagram showing an example of a conventional communication control device.

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

1,2 通信制御装置 11,21 制御回路 12,22 並直列変換回路 13,23 タイミング制御回路 14,24 直並列変換回路 15,25 インタフェース回路 1, 2 Communication control device 11, 21 Control circuit 12, 22 Parallel-serial conversion circuit 13, 23 Timing control circuit 14, 24 Serial-parallel conversion circuit 15, 25 Interface circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 第1及び第2の通信制御装置の一方がデ
ータを送信する時に前記第1及び第2の通信制御装置の
他方がデータを受信するとともに前記第1及び第2の通
信制御装置の一方に対してデータを送信する通信制御シ
ステムであって、相手装置よりも先にデータ送信を行う
時に前記データを送信してから前記相手装置のデータを
受信するまで前記データの送信を示す送信通知を送信す
るとともに前記相手装置よりも先にデータ受信を行う時
に前記データを送信してから前記相手装置の前記送信通
知を受信しなくなるまで前記データの受信及び送信を示
す送受信通知を送信する手段を前記第1及び第2の通信
制御装置各々に有することを特徴とする通信制御システ
ム。
1. When one of the first and second communication control devices transmits data, the other of the first and second communication control devices receives the data, and at the same time, the first and second communication control devices. A communication control system for transmitting data to one side, the transmission indicating the transmission of the data until the data of the partner device is received when the data is transmitted before the partner device is transmitted. A means for transmitting a notification and transmitting a transmission / reception notification indicating reception and transmission of the data until the reception of the transmission notification of the partner device is stopped until the reception of the transmission notification of the partner device is performed when the data is received before the partner device. A communication control system comprising: a first communication control device and a second communication control device.
【請求項2】 各々接続された機械系に対して駆動制御
を行いかつ相互に状態情報の授受を行う第1及び第2の
制御装置からなる通信制御システムであって、相手装置
よりも先にデータ送信を行う時に前記データを送信して
から前記相手装置のデータを受信するまで前記データの
送信を示す送信通知を送信するとともに前記相手装置よ
りも先にデータ受信を行う時に前記データを送信してか
ら前記相手装置の前記送信通知を受信しなくなるまで前
記データの受信及び送信を示す送受信通知を送信する手
段を前記第1及び第2の制御装置各々に有することを特
徴とする通信制御システム。
2. A communication control system comprising first and second control devices for controlling the drive of each connected mechanical system and mutually exchanging state information, which is prior to the partner device. When data is transmitted, a transmission notification indicating the transmission of the data is transmitted from the transmission of the data until the data of the partner device is received, and the data is transmitted when the data is received before the partner device. The communication control system, wherein each of the first and second control devices has means for transmitting a transmission / reception notification indicating reception and transmission of the data until the reception of the transmission notification of the partner device is stopped.
JP7265130A 1995-10-13 1995-10-13 Communication control system Withdrawn JPH09107391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7265130A JPH09107391A (en) 1995-10-13 1995-10-13 Communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7265130A JPH09107391A (en) 1995-10-13 1995-10-13 Communication control system

Publications (1)

Publication Number Publication Date
JPH09107391A true JPH09107391A (en) 1997-04-22

Family

ID=17413041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7265130A Withdrawn JPH09107391A (en) 1995-10-13 1995-10-13 Communication control system

Country Status (1)

Country Link
JP (1) JPH09107391A (en)

Similar Documents

Publication Publication Date Title
JPH09107391A (en) Communication control system
JP2006304011A (en) Interface circuit
JPH11284609A (en) Time compression transmission device and time compression transmission method
JPS63285605A (en) Serial data link system for numerical controller
JPH10145433A (en) Data transfer rate converter and communication network system
MXPA05001183A (en) Packet processing architecture.
JP3239371B2 (en) Device connection processing method
JPS62171349A (en) Communication control equipment
JPH0993274A (en) Serial transmitter
JPH065831B2 (en) Signal frame transmission method
JP2000295114A (en) Data transfer circuit
JPS6410146B2 (en)
JP2949118B1 (en) Encoder data output method for bus communication type encoder device
JPH04175032A (en) Computer communication network
JPH03129939A (en) Polling circuit
JPH04117507A (en) Communication control circuit and data transmission equipment
JPH02305247A (en) Communication control equipment
JPH0374559B2 (en)
JP2000316295A (en) Serial communication system and image forming device
JPH04236537A (en) Data communication system
JPS63284953A (en) Data communication system
JPS63110838A (en) Synchronizing signal transfer system
JPH0879225A (en) Data communication system and data communication method
JPS61196353A (en) Multiplexing bus control system
JPH01270430A (en) Communication system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030107