JPH11275126A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH11275126A
JPH11275126A JP10078838A JP7883898A JPH11275126A JP H11275126 A JPH11275126 A JP H11275126A JP 10078838 A JP10078838 A JP 10078838A JP 7883898 A JP7883898 A JP 7883898A JP H11275126 A JPH11275126 A JP H11275126A
Authority
JP
Japan
Prior art keywords
communication
timer
time data
unit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10078838A
Other languages
Japanese (ja)
Inventor
Koichi Sawaki
晃一 澤木
Hironori Eguchi
浩徳 江口
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.)
Okuma Corp
Original Assignee
Okuma Corp
Okuma Machinery Works 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 Okuma Corp, Okuma Machinery Works Ltd filed Critical Okuma Corp
Priority to JP10078838A priority Critical patent/JPH11275126A/en
Publication of JPH11275126A publication Critical patent/JPH11275126A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable to execute synchronization control in the ring of plural communication master stations and plural communication slave stations which are connected only by means of a synchronizing signal line by correcting a communication timer part in accordance with the timing of a synchronizing signal of a fixed period only when a set value is changed, permitting time data of the plural communication master stations to coincide and permitting the whole slave stations to communicate the same time data. SOLUTION: CPU 7 respectively sets correction data in timer setting parts 16 and 26 in order to permit the count value of the communication timer part 15a to coincide with that of the communication timer part 25. Set correction data are transmitted to the timer parts in accordance with the synchronizing signal of the fixed period and the count values of the parts 15a and 25 become coincident. Thus, the communication of the same time data is executed to the slave stations 3-6 connected to the master stations 1 and 2 without requiring multiple time data lines so that synchronization control is executed.

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 comprising a plurality of communication master stations and a plurality of communication slave stations connected by communication lines, and more particularly to a communication control device having a synchronization control function between respective stations. .

【0002】[0002]

【従来の技術】従来、通信線によって接続された複数の
通信親局及び複数の通信子局で構成される通信制御装置
では、一つの親局に設けられた通信タイマ部で生成され
る同期信号及び時間データにより全ての通信親局が制御
されていた。図3は従来装置の一例を示すブロック構成
図である。以下、図3に基づいて従来技術の説明を行
う。通信親局1は、送受信データを格納する通信バッフ
ァ部12と、受信したデータを通信バッファ部12内の
予め決められたエリアに受信する受信制御部13と、時
間を計数した時間データTM1及び一定周期の同期信号
を生成する通信タイマ部15bと、前記一定周期の同期
信号に従って予め決められた手順で通信バッファ部12
内のデータ及び時間データを送信する送信制御部14と
で構成されている。そして、通信親局1には、通信子局
3及び通信子局4が通信線7(データSD11、SD1
2、SD13)を介してリング接続されている。また、
通信親局1からは、通信親局2で使用するための時間デ
ータで必要となるビット数分の信号線及び同期信号線が
出力されている。通信親局2は、送受信データを格納す
る通信バッファ部22と、受信したデータを通信バッフ
ァ部22内の予め決められたエリアに受信する受信制御
部23と、通信親局1内の通信タイマ部15bで生成さ
れた一定周期の同期信号に従って予め決められた手順で
通信バッファ部22内のデータを送信すると共に、通信
親局1内の通信タイマ部15bで生成された時間データ
を送信する送信制御部24とで構成されている。そし
て、通信親局2には、通信子局5及び通信子局6が通信
線8(データSD21、SD22、SD23)を介して
リング接続されている。CPU7は各通信親局とデータ
の授受を行い、システム全体を制御している。
2. Description of the Related Art Conventionally, in a communication control device composed of a plurality of communication master stations and a plurality of communication slave stations connected by a communication line, a synchronization signal generated by a communication timer unit provided in one master station is provided. In addition, all communication master stations were controlled by the time data. FIG. 3 is a block diagram showing an example of a conventional apparatus. Hereinafter, the related art will be described with reference to FIG. The communication master station 1 includes: a communication buffer unit 12 for storing transmission / reception data; a reception control unit 13 for receiving received data in a predetermined area in the communication buffer unit 12; A communication timer unit 15b for generating a periodic synchronization signal; and a communication buffer unit 12 according to a predetermined procedure according to the constant periodic synchronization signal.
And a transmission control unit 14 for transmitting the time data and the data inside. The communication master station 1 is connected to the communication slave stations 3 and 4 by the communication lines 7 (data SD11, SD1).
2, SD13). Also,
The communication master station 1 outputs signal lines and synchronization signal lines for the number of bits required for the time data used in the communication master station 2. The communication master station 2 includes a communication buffer unit 22 for storing transmission / reception data, a reception control unit 23 for receiving received data in a predetermined area in the communication buffer unit 22, and a communication timer unit in the communication master station 1. Transmission control for transmitting data in the communication buffer unit 22 according to a predetermined procedure according to a synchronization signal of a fixed period generated in the communication base station 15b and transmitting time data generated in the communication timer unit 15b in the communication master station 1. And a unit 24. The communication slave station 5 and the communication slave station 6 are ring-connected to the communication master station 2 via communication lines 8 (data SD21, SD22, and SD23). The CPU 7 exchanges data with each communication master station and controls the entire system.

【0003】[0003]

【発明が解決しようとする課題】上記従来装置の構成で
は、多数の時間データ信号線を全ての通信親局に接続し
なければならず、配線がしにくいといった問題がある。
また、通信親局数が増加した場合、時間データ信号を送
信している素子のドライブ能力によって、接続できる通
信親局数が制限されてしまう問題点があった。本発明は
上述のような事情に鑑みてなされたものであり、本発明
の目的は、同期信号線のみで接続された複数の通信親局
及び複数の通信子局間で同期制御機能を行う通信制御装
置を提供することにある。
The configuration of the above-mentioned conventional apparatus has a problem that many time data signal lines must be connected to all communication master stations, and wiring is difficult.
Further, when the number of communication master stations increases, there is a problem that the number of communication master stations that can be connected is limited by the drive capability of the element transmitting the time data signal. The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a communication system that performs a synchronization control function between a plurality of communication master stations and a plurality of communication slave stations connected only by a synchronization signal line. It is to provide a control device.

【0004】[0004]

【課題を解決するための手段】本発明は、複数の通信子
局が通信線によりリング接続された通信親局を複数備
え、データを親子局間で送受信する通信制御装置に関
し、本発明の上記目的は、前記通信親局が、一定周期の
同期信号に従い通信データ及び時間データを前記通信子
局へ送信する送信制御部と、前記通信子局からの通信デ
ータを受信する受信制御部と、前記時間データを生成す
る通信タイマ設定部と、前記通信タイマ部の補正値を設
定するタイマ設定部とを具備し、前記タイマ設定部は設
定値が更新された場合のみ、一定周期の同期信号のタイ
ミングに従い前記通信タイマ部を補正し、前記複数の通
信親局の時間データを一致させ、前記全ての通信子局に
同一の時間データを通信するようにすることによって達
成される。
SUMMARY OF THE INVENTION The present invention relates to a communication control apparatus which includes a plurality of communication master stations in which a plurality of communication slave stations are ring-connected by communication lines and transmits and receives data between the master and slave stations. The object is that the communication master station transmits a communication data and time data to the communication slave station in accordance with a synchronization signal of a fixed period to the communication slave station, a reception control unit that receives communication data from the communication slave station, A communication timer setting unit for generating time data, and a timer setting unit for setting a correction value of the communication timer unit, wherein the timer setting unit is configured to update the timing of the synchronization signal at a constant period only when the setting value is updated. And the time data of the plurality of communication master stations are made to match, and the same time data is communicated to all of the communication slave stations.

【0005】[0005]

【発明の実施の形態】本発明では、通信タイマ部の補正
値を設定するタイマ設定部を各通信親局に設け、通信タ
イマ部を一定周期の同期信号に従って補正するようにす
る。これにより、多数の時間データを線を必要とするこ
となく、同期信号線のみで接続された複数の親局で構成
される通信制御装置で、同期制御を行なうことができ
る。以下、本発明の一実施形態を図面に基づいて説明す
る。図1は、本発明の通信線のみによって接続された2
つの通信親局1,2と4つの通信子局3〜6で構成され
る同期制御機能を有する通信制御装置の概略構成図であ
る。通信親局1は、送受信データを格納する通信バッフ
ァ部12と、受信したデータを通信バッファ部12内の
予め決められたエリアに受信する受信制御部13と、予
め決められた手順で通信バッファ部12内のデータを送
信する送信制御部14と、時間を計数した時間データT
M1及び一定周期の同期信号を生成する通信タイマ部1
5aと、一定周期の同期信号に従い通信タイマ部を補正
する補正データを設定するタイマ設定部16とで構成さ
れている。通信親局1には、通信子局3及び通信子局4
が通信線7を介してリング接続されている。また、通信
親局2は、送受信データを格納する通信バッファ部22
と、受信したデータを通信バッファ部22内の予め決め
られたエリアに受信する受信制御部23と、予め決めら
れた手順で通信バッファ部22内のデータを送信する送
信制御部24と、時間を計数した時間データTM2を生
成する通信タイマ部25と、一定周期の同期信号に従い
通信タイマ部を補正する補正データを設定するタイマ設
定部26とで構成されている。通信親局2には、通信子
局5及び通信子局6が通信線8を介してリング接続され
ている。また、通信親局1、通信親局2を制御するCP
U7が接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the present invention, a timer setting section for setting a correction value of a communication timer section is provided in each communication master station, and the communication timer section is corrected according to a synchronization signal of a fixed cycle. Thereby, the synchronization control can be performed by the communication control device composed of a plurality of master stations connected only by the synchronization signal line without requiring a large number of time data lines. Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a circuit diagram of a second embodiment connected only by the communication line of the present invention.
1 is a schematic configuration diagram of a communication control device having a synchronization control function including one communication master station 1 and two communication slave stations 3 to 6; FIG. The communication master station 1 includes a communication buffer unit 12 for storing transmission / reception data, a reception control unit 13 for receiving received data in a predetermined area in the communication buffer unit 12, a communication buffer unit in a predetermined procedure. 12, a transmission control unit 14 for transmitting the data in the memory 12, and time data T obtained by counting time.
M1 and a communication timer unit 1 for generating a synchronization signal with a constant period
5a, and a timer setting unit 16 for setting correction data for correcting the communication timer unit in accordance with a synchronization signal having a constant period. The communication master station 1 includes communication slave stations 3 and 4
Are connected via a communication line 7 in a ring. The communication master station 2 has a communication buffer unit 22 for storing transmission / reception data.
A reception control unit 23 for receiving the received data in a predetermined area in the communication buffer unit 22, a transmission control unit 24 for transmitting the data in the communication buffer unit 22 in a predetermined procedure, The communication timer unit 25 includes a communication timer unit 25 that generates the counted time data TM2 and a timer setting unit 26 that sets correction data for correcting the communication timer unit according to a synchronization signal having a constant period. A communication slave station 5 and a communication slave station 6 are ring-connected to the communication master station 2 via a communication line 8. Also, a CP that controls the communication master station 1 and the communication master station 2
U7 is connected.

【0006】CPU7は、通信タイマ部15aと通信タ
イマ部25との計数値を一致させるために、タイマ設定
部16及びタイマ設定部26にそれぞれ補正データを設
定する。設定された補正データは一定周期の同期信号に
従って通信タイマ部に送られ、送られた補正データによ
って通信タイマ部15a及び通信タイマ部25の計数値
が一致する。従って、通信親局1及び通信親局2に接続
された通信子局3〜6には同一の時間データが通信さ
れ、同期制御が行なわれることになる。また、図2は本
発明の別の一実施形態を図1に対応させて示す概略構成
図であり、図1で通信タイマ部15aより生成している
同期信号を同期信号発生回路9より生成するように構成
し、各通信親局内の通信タイマ部15、25の構成が同
一となるように構成した例である。一方、CPU7は、
図1と同様に通信タイマ部15及び通信タイマ部25の
計数値を一致させるために、タイマ設定部16及びタイ
マ設定部26に補正データをそれぞれ設定する。設定さ
れた補正データは、同期信号発生回路8より生成される
一定周期の同期信号に従って通信タイマ部に送られ、送
られた補正データによって通信タイマ部15及び通信タ
イマ部25の計数値が一致する。従って、通信親局1及
び通信親局2に接続された通信子局3〜6には同一の時
間データが通信され、同期制御が行なわれることにな
る。
The CPU 7 sets correction data in the timer setting unit 16 and the timer setting unit 26, respectively, in order to match the count values of the communication timer unit 15a and the communication timer unit 25. The set correction data is sent to the communication timer unit in accordance with a synchronization signal of a fixed period, and the count values of the communication timer unit 15a and the communication timer unit 25 match with the sent correction data. Therefore, the same time data is communicated to the communication slave stations 3 to 6 connected to the communication master station 1 and the communication master station 2, and synchronization control is performed. FIG. 2 is a schematic configuration diagram showing another embodiment of the present invention in correspondence with FIG. 1. In FIG. 1, the synchronization signal generated by the communication timer unit 15a in FIG. This is an example in which the communication timer units 15 and 25 in each communication master station have the same configuration. On the other hand, the CPU 7
In order to make the count values of the communication timer unit 15 and the communication timer unit 25 coincide with each other as in FIG. 1, the correction data is set in the timer setting unit 16 and the timer setting unit 26, respectively. The set correction data is sent to the communication timer unit according to the synchronization signal of a fixed period generated by the synchronization signal generation circuit 8, and the count values of the communication timer unit 15 and the communication timer unit 25 match with the sent correction data. . Therefore, the same time data is communicated to the communication slave stations 3 to 6 connected to the communication master station 1 and the communication master station 2, and synchronization control is performed.

【0007】[0007]

【発明の効果】以上のように、本発明の通信制御装置に
よれば、多数の時間データ線を必要とすることなく、同
期信号線のみで接続された複数の親局で構成される通信
制御装置で同期制御を行なうことが可能となる。
As described above, according to the communication control apparatus of the present invention, a communication control system composed of a plurality of master stations connected only by synchronization signal lines without requiring a large number of time data lines. Synchronous control can be performed by the device.

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

【図1】本発明の一実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の別の実施例を示すブロック構成図であ
る。
FIG. 2 is a block diagram showing another embodiment of the present invention.

【図3】従来装置の一例を示すブロック構成図である。FIG. 3 is a block diagram showing an example of a conventional device.

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

1、2 通信親局 3、4、5、6 通信子局 7、8 通信線 9 同期信号発生回路 12、22 通信バッファ部 13、23 受信制御部 14、24 送信制御部 15、15a、15b、25 通信タイマ部 1, 2 Communication master station 3, 4, 5, 6 Communication slave station 7, 8 Communication line 9 Synchronous signal generation circuit 12, 22 Communication buffer unit 13, 23 Reception control unit 14, 24 Transmission control unit 15, 15a, 15b, 25 Communication timer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の通信子局が通信線によりリング接
続された通信親局を複数備え、データを親子局間で送受
信する通信制御装置において、前記通信親局は、一定周
期の同期信号に従い通信データ及び時間データを前記通
信子局へ送信する送信制御部と、前記通信子局からの通
信データを受信する受信制御部と、前記時間データを生
成する通信タイマ部と、前記通信タイマ部の補正値を設
定するタイマ設定部とを具備し、前記タイマ設定部は設
定値が更新された場合のみ、一定周期の同期信号のタイ
ミングに従い前記通信タイマ部を補正し、前記複数の通
信親局の時間データを一致させ、前記全ての通信子局に
同一の時間データを通信するようにしたことを特徴とす
る通信制御装置。
1. A communication control device for providing a plurality of communication master stations in which a plurality of communication slave stations are ring-connected by communication lines and for transmitting and receiving data between the master and slave stations, wherein the communication master station is in accordance with a synchronization signal having a constant period. A transmission control unit that transmits communication data and time data to the communication slave station, a reception control unit that receives communication data from the communication slave station, a communication timer unit that generates the time data, and a communication timer unit. A timer setting unit for setting a correction value, wherein the timer setting unit corrects the communication timer unit according to the timing of a synchronization signal of a fixed period only when the set value is updated, and A communication control device, wherein time data is made coincident, and the same time data is communicated to all the communication slave stations.
JP10078838A 1998-03-26 1998-03-26 Communication controller Pending JPH11275126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10078838A JPH11275126A (en) 1998-03-26 1998-03-26 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10078838A JPH11275126A (en) 1998-03-26 1998-03-26 Communication controller

Publications (1)

Publication Number Publication Date
JPH11275126A true JPH11275126A (en) 1999-10-08

Family

ID=13672982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10078838A Pending JPH11275126A (en) 1998-03-26 1998-03-26 Communication controller

Country Status (1)

Country Link
JP (1) JPH11275126A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6658580B1 (en) * 2000-05-20 2003-12-02 Equipe Communications Corporation Redundant, synchronous central timing systems with constant master voltage controls and variable slave voltage controls
CN101958785A (en) * 2009-07-17 2011-01-26 中国科学院沈阳计算技术研究所有限公司 Transfer time difference-based numerical control system on-site bus time synchronization method and device
JP2020048152A (en) * 2018-09-21 2020-03-26 東芝デベロップメントエンジニアリング株式会社 Wireless sensor device and wireless sensor system
JP2021175127A (en) * 2020-04-28 2021-11-01 株式会社日立産機システム Master device controlling slave device connected to industrial network and communication module provided in master device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6658580B1 (en) * 2000-05-20 2003-12-02 Equipe Communications Corporation Redundant, synchronous central timing systems with constant master voltage controls and variable slave voltage controls
CN101958785A (en) * 2009-07-17 2011-01-26 中国科学院沈阳计算技术研究所有限公司 Transfer time difference-based numerical control system on-site bus time synchronization method and device
JP2020048152A (en) * 2018-09-21 2020-03-26 東芝デベロップメントエンジニアリング株式会社 Wireless sensor device and wireless sensor system
JP2021175127A (en) * 2020-04-28 2021-11-01 株式会社日立産機システム Master device controlling slave device connected to industrial network and communication module provided in master device

Similar Documents

Publication Publication Date Title
JP2529682B2 (en) Method and apparatus for synchronizing clocks
JPH06125321A (en) Communication apparatus between one-point-pair multipoints
US20030235216A1 (en) Clock synchronizing method over fault-tolerant Ethernet
JPH06169314A (en) Bus system for local operation network
JPH11275126A (en) Communication controller
JPH0575594A (en) Parallel bit synchronizing system
JP2006304011A (en) Interface circuit
JP2001265716A (en) Device and method for transmitting information
JP2839832B2 (en) Digital data communication system
JP2000224205A (en) Hdlc transmission system
JPH10210108A (en) Communication controlling method and device
WO2023242938A1 (en) Control/monitor signal transmission system
WO2008044486A1 (en) Multistation communication apparatus
JPS6367929A (en) Communication controller
JPS62171349A (en) Communication control equipment
JPS6358498B2 (en)
JPH09298506A (en) Radio base station equipment and synchronization method between radio base stations
JPH0715419A (en) Controller for device
JPS5923502B2 (en) loop transmission system
JPH0984114A (en) Intermittent communication system
JPH03154539A (en) Supervisor communication system
JPH09121198A (en) Controller for radio communication equipment
JPH0472837A (en) Data transmission delay adjustment system
KR20010019146A (en) Synchronization control apparatus of the DECT system
JPH02216998A (en) Remote control method for plural slave sets

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040309