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

JPH0332938B2 - - Google Patents

Info

Publication number
JPH0332938B2
JPH0332938B2 JP25116284A JP25116284A JPH0332938B2 JP H0332938 B2 JPH0332938 B2 JP H0332938B2 JP 25116284 A JP25116284 A JP 25116284A JP 25116284 A JP25116284 A JP 25116284A JP H0332938 B2 JPH0332938 B2 JP H0332938B2
Authority
JP
Japan
Prior art keywords
data
input
sequence controller
channel
multiplex transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP25116284A
Other languages
Japanese (ja)
Other versions
JPS61129937A (en
Inventor
Toshihiko Yomogida
Takeshi Yamashita
Shuhei Noro
Shigeki Komeichi
Yoshizumi Futamura
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.)
Toyota Motor Corp
Toyoda Koki KK
Original Assignee
Toyota Motor Corp
Toyoda Koki KK
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 Toyota Motor Corp, Toyoda Koki KK filed Critical Toyota Motor Corp
Priority to JP25116284A priority Critical patent/JPS61129937A/en
Publication of JPS61129937A publication Critical patent/JPS61129937A/en
Publication of JPH0332938B2 publication Critical patent/JPH0332938B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数のマシンユニツトのそれぞれに
設けられたリミツトスイツチ、リレー等の入出力
要素とシーケンスコントローラとの間を多重伝送
線路を介して接続するようにした多重伝送装置に
関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention connects input/output elements such as limit switches and relays provided in each of a plurality of machine units and a sequence controller via multiple transmission lines. The present invention relates to a multiplex transmission device configured to do so.

特に、シーケンスコントローラの、多重伝送線
路に対する非同期動作を円滑に行ない、受信テー
タの誤りを除去し、信頼性を向上させた多重伝送
装置に関する。
In particular, the present invention relates to a multiplex transmission device in which a sequence controller smoothly performs asynchronous operations on multiple transmission lines, eliminates errors in received data, and improves reliability.

[従来の技術] 従来、数多くのマシンユニツトを、同期制御す
るシステムとしてシリアル伝送路を介してシーケ
ンスコントローラで時分割制御する制御システム
が知られている。
[Prior Art] Conventionally, as a system for synchronously controlling a large number of machine units, there has been known a control system that performs time-division control using a sequence controller via a serial transmission path.

この制御システムは、第2図に示す様に、チヤ
ンネルを制御するマスタコントロールユニツト3
と、多重伝送線路4と、各マシンユニツトンを制
御するシーケンスコントローラ1と、シーケンス
コントローラ1と多重伝送線路4とのインタフエ
ースである多重伝送インタフエース2と、多重伝
送線路4に接続され、各マシンユニツトに配設さ
れている送信ユニツト52,53、受信ユニツト
51,54等から成る。
This control system consists of a master control unit 3 that controls the channels, as shown in Figure 2.
, a multiplex transmission line 4, a sequence controller 1 that controls each machine unit, a multiplex transmission interface 2 that is an interface between the sequence controller 1 and the multiplex transmission line 4, and a multiplex transmission line 4 connected to each machine unit. It consists of transmitting units 52, 53, receiving units 51, 54, etc. arranged in the machine unit.

マスタコントロールユニツト3は、第3図に示
す様に、リセツトパルスP1、チヤンネルカウン
トパルスP6を順次出力する。各送受信ユニツト
51〜54は、デイツプスイツチ531,511
等で特定のチヤンネル番号が設定されており、そ
れの有するチヤンネルカウンタ532,512の
値が、設定されたチヤンネル番号と等しくなつた
とき、そのチヤンネル番号によつて特定された送
受信ユニツトは、多重伝送線路4にデータ信号P
2,P4を出力したり、多重伝送線路4からデー
タ信号P2,P4を入力する。
The master control unit 3 sequentially outputs a reset pulse P1 and a channel count pulse P6, as shown in FIG. Each transmitting/receiving unit 51 to 54 has a deep switch 531, 511.
etc., and when the value of its channel counter 532, 512 becomes equal to the set channel number, the transmitting/receiving unit specified by that channel number performs multiplex transmission. Data signal P on line 4
2 and P4, and input data signals P2 and P4 from the multiplex transmission line 4.

マスタコントロールユニツト3の出力するリセ
ツトパルスP1は、各送受信ユニツトが有するチ
ヤンネルカウンタ532,512及び多重伝送イ
ンタフエース2が有するチヤンネルカウンタの内
容をリセツトし、チヤンネル番号を零とする。ま
たチヤンネルカウントパルスP6は、一定周期で
マスタコントロールユニツト3から出力されてお
り、各チヤンネルカウンタの値を1だけ更新し、
伝送線路の使用されているチヤンネルを順次更新
する。設定された最大チヤンネルまで更新される
と、次にリセツトパルスP1が出力され、伝送線
路は、再度零チヤンネルから順次時分割多重化さ
れる。
The reset pulse P1 outputted by the master control unit 3 resets the contents of the channel counters 532, 512 of each transmitting/receiving unit and the channel counter of the multiplex transmission interface 2, and sets the channel number to zero. In addition, the channel count pulse P6 is outputted from the master control unit 3 at a constant cycle, and updates the value of each channel counter by 1.
The used channels of the transmission line are sequentially updated. When the set maximum channel is reached, a reset pulse P1 is outputted, and the transmission line is again time-division multiplexed sequentially starting from the zero channel.

すなわち第3図において、リセツトパルスP1
とチヤンネルカウントパルスP6の間の期間が時
分割のチヤンネルとなつている。同様に、チヤン
ネルカウントパルスP6とそれに一定期間遅れて
後続する次のチヤンネルカウントパルス(図示せ
ず)の間が、次のチヤンネルとなつている。ま
た、リセツトパルスP1と次のリセツトパルス
(図示せず)の間が一多重化周期となつている。
例えば、第3図図示のチヤンネル上のデータ信号
P2,P4は送信ユニツト53から送信される。
P3は、一チヤンネル内において時間的に隣接す
るデータ信号2とP4とを分離するためのチエツ
クパルスであり、P5はチヤンネルカウントパル
スP6とその直前のデータ信号P4とを分離する
ためのチエツクパルスである。
That is, in FIG. 3, the reset pulse P1
The period between the channel count pulse P6 and the channel count pulse P6 constitutes a time-division channel. Similarly, the next channel is between the channel count pulse P6 and the next channel count pulse (not shown) that follows after a certain period of time. Further, there is one multiplexing period between the reset pulse P1 and the next reset pulse (not shown).
For example, data signals P2 and P4 on the channels shown in FIG.
P3 is a check pulse for separating temporally adjacent data signals 2 and P4 within one channel, and P5 is a check pulse for separating channel count pulse P6 and the immediately preceding data signal P4. be.

この様に、マスタコントロールユニツト3は、
多重伝送線路4のチヤンネルを時分割制御してお
り、各送受信ユニツト51〜54は、それの有す
るチヤンネルに、伝送線路が設定されたとき、多
重伝送インタフエース2を介してシーケンスコン
トローラ1との間でデータの送受信を行なうこと
ができる。以上の様にして、送信ユニツト52,
53は、それぞれのチヤンネルを利用して、リミ
ツトスイツチ、操作スイツチ、リレー接点等の入
力要素の状態をシーケンスコントローラ1に出力
することができ、又シーケンスコントローラ1
は、受信ユニツト51,54へ、それぞれのチヤ
ンネルを利用して、ランプ、リレーコイル等の出
力要素の作動状態を示す信号を出力することがで
きる。
In this way, the master control unit 3
The channels of the multiplex transmission line 4 are controlled in a time-division manner, and each transmitting/receiving unit 51 to 54 connects the transmission line to the sequence controller 1 via the multiplex transmission interface 2 when a transmission line is set for the channel it has. You can send and receive data. In the above manner, the transmitting unit 52,
53 can output the states of input elements such as limit switches, operation switches, relay contacts, etc. to the sequence controller 1 using the respective channels, and the sequence controller 1
can output signals indicating the operating states of output elements such as lamps and relay coils to the receiving units 51 and 54 using their respective channels.

従来の多重伝送装置は、上記の構成、作用によ
り複数のマシンユニツトをシーケンスコントロー
ラによつて制御するものである。
A conventional multiplex transmission device has the above-described configuration and operation and controls a plurality of machine units by a sequence controller.

[発明の解決しようとする問題点] 上記多重伝送装置には、シーケンスコントロー
ラ1と多重伝送線路4との間のインタフエースで
ある多重伝送インタフエース(以下、単にインタ
フエースともいう)2が設けられている。シーケ
ンスコントローラ1は、入出力アドレスを指定し
て入出力要素を制御するものであり、多重伝送線
路4は、送受信ユニツト51〜54の複数の入出
力要素の状態を示すデータを一括して、各ユニツ
ト毎に1チヤンネルにおいて一度に伝送するもの
である。通常、多重伝送線路4とシーケンスコン
トローラ1との間にインタフエースが必要とな
る。
[Problems to be Solved by the Invention] The multiplex transmission device is provided with a multiplex transmission interface (hereinafter also simply referred to as an interface) 2, which is an interface between the sequence controller 1 and the multiplex transmission line 4. ing. The sequence controller 1 controls input/output elements by specifying input/output addresses, and the multiplex transmission line 4 collectively transmits data indicating the status of a plurality of input/output elements of the transmitting/receiving units 51 to 54. Each unit transmits on one channel at a time. Normally, an interface is required between the multiplex transmission line 4 and the sequence controller 1.

従来のインタフエース2は、チヤンネルデータ
の受信時にシーケンスコントローラ1に割込みを
かけ、シーケンスコントローラ1は、順次チヤン
ネルデータを対応する入力アドレスのデータに変
換して入力するものであり、出力時には同様に、
割込みによつて順次対応する出力アドレスのデー
タを多重伝送線路4に出力するものであつた。こ
のため、シーケンスコントローラ1のデータのス
キヤンに時間を多く必要とし、チヤンネルの切換
周期を短くすることができなかつた。又、送受信
データは、パリテイビツトを有しておらず、雑音
に弱いという欠点があつた。
The conventional interface 2 interrupts the sequence controller 1 when receiving channel data, and the sequence controller 1 sequentially converts the channel data into data at the corresponding input address and inputs it.
Data at corresponding output addresses were sequentially output to the multiplex transmission line 4 in response to an interrupt. Therefore, it took a long time to scan the data of the sequence controller 1, and it was not possible to shorten the channel switching period. Furthermore, the transmitted and received data has no parity bit and is susceptible to noise.

そこで、本発明は、シーケンスコントローラを
伝送線路に対し、非同期に動作させ、チヤンネル
データの送受信タイミングに無関係に、高速に、
入出力アドレスを常時アクセス可能とすることに
より、データの送受の高速円滑化を図り、受信デ
ータの誤りを除去し装置の信頼性を向上させるこ
とを目的とする。
Therefore, the present invention operates the sequence controller asynchronously with respect to the transmission line, and enables high-speed,
By making input/output addresses accessible at all times, the purpose is to facilitate high-speed data transmission and reception, eliminate errors in received data, and improve reliability of the device.

[問題点を解決するための手段及び作用] 本発明は、複数の送受信ユニツトが接続された
時分割の多重伝送線路と、シーケンスコントロー
ラとの間を接続するインタフエースに、 前記シーケンスコントローラと前記多重伝送線
路の間に配設されたバツフアであつて、前記シー
ケンスコントローラのアドレスバス及び、信号の
送受信を制御する送受信制御装置のアドレスバス
に接続され、前記シーケンスコントローラ及び前
記送受信制御装置から入出力アドレスの指定によ
りアクセス可能な並列に接続された4以上の記憶
ユニツトから成るデータ記憶装置と、 前記多重伝送線路からチヤンネルを決定するパ
ルスを入力し、前記多重伝送線路上の時分割のチ
ヤンネルに対応した前記入出力アドレスを前記デ
ータ記憶装置に入力して、当該チヤンネルを順次
アクセスすることにより、チヤンネルデータを前
記多重伝送線路と前記データ記憶装置との間で送
受信する前記送受信制御装置と、 前記データ記憶装置を構成する1の記憶ユニツ
トを前記送受信制御装置からのみアクセス可能に
制御し、残りの3個以上奇数個の記憶ユニツトを
前記シーケンスコントローラからのみアクセス可
能に制御し、時分割多重化された前記チヤンネル
の多重化周期を示すリセツトパルスを前記多重伝
送線路から入力し、該リセツトパルスを入力する
毎に前記1の記憶ユニツトを変化させる記憶ユニ
ツト選択装置と、 前記シーケンスコントローラからリードされる
時には、アクセスされる前記3個以上奇数個の記
憶ユニツトに記憶されたデータの多数決値を求
め、該多数決値を前記シーケンスコントローラの
入力データとする多数決値演算装置と、を設けた
ことを特徴とするシーケンスコントローラの多重
伝送装置である。
[Means and effects for solving the problems] The present invention provides an interface connecting between the sequence controller and a time-division multiplex transmission line to which a plurality of transmitting and receiving units are connected, and the sequence controller and the multiplex transmission line. A buffer disposed between transmission lines, connected to an address bus of the sequence controller and an address bus of a transmission/reception control device that controls transmission and reception of signals, and configured to receive input/output addresses from the sequence controller and the transmission/reception control device. a data storage device consisting of four or more memory units connected in parallel that can be accessed according to the specifications of The transmission/reception control device transmits and receives channel data between the multiple transmission line and the data storage device by inputting the input/output address to the data storage device and sequentially accessing the channels; and the data storage device. One storage unit constituting the device is controlled so that it can be accessed only by the transmission/reception control device, and the remaining three or more odd number storage units are controlled so that it can be accessed only from the sequence controller, and the time-division multiplexed a memory unit selection device that inputs a reset pulse indicating a channel multiplexing period from the multiplex transmission line and changes the one storage unit each time the reset pulse is input; a majority value calculation device for determining a majority value of the data stored in the three or more odd number of storage units and using the majority value as input data to the sequence controller. This is a multiplex transmission device.

本発明装置は、シーケンスコントローラの全て
の入出力アドレスの入出力要素のデータを記憶
し、伝送路に対しバツフアの機能を有するデータ
記憶装置を有している。このデータ記憶装置は、
並列に接続された4以上の記憶ユニツトから成
る。このうち1の記憶ユニツトは、多重伝送線路
に対し、データの送受を行う。他の記憶ユニツト
の内、3個以上奇数個の記憶ユニツトは、多重伝
送線路とは切離されており、シーケンスコントロ
ーラからリード/ライトされる。
The device of the present invention has a data storage device that stores data of input/output elements of all input/output addresses of a sequence controller and has a buffer function for a transmission path. This data storage device is
It consists of four or more storage units connected in parallel. One of the storage units sends and receives data to and from multiplex transmission lines. Among the other memory units, three or more odd number memory units are separated from the multiplex transmission line and read/written by the sequence controller.

シーケンスコントローラからリードする時に、
アクセスする3個以上奇数個の記憶ユニツトのそ
れぞれの入力アドレスに記憶されたデータの多数
決値を、リード・データとする多数決値演算装置
が設けられている。上記の記憶ユニツトの選択
は、チヤンネルの多重化周期に同期して切替る様
に構成されており、この機能を有するのが記憶ユ
ニツト選択装置である。シーケンスコントローラ
がライトする場合には、データはシーケンスコン
トローラに接続された複数の記憶ユニツトに同時
に出力される。送受信制御装置は、多重伝送線路
上のチヤンネルに応じた一つの記憶ユニツトの入
出力アドレスをアクセスすることにより、多重伝
送線路へデータを出力し、又多重伝送線路からデ
ータを入力する。シーケンスコントローラと多重
伝送線路間には、データ記憶装置があつて、しか
も、記憶ユニツト選択装置によつてシーケンスコ
ントローラに接続される記憶ユニツトと、多重伝
送線路に接続される記憶ユニツトとが異なつてい
るため、両者は完全に分離されている。従つてシ
ーケンスコントローラと伝送線路側とは独自に制
御できる。記憶ユニツトに多重伝送線路から入力
されたデータは、次の多重化周期に、その記憶ユ
ニツトがシーケンスコントローラに接続される時
に、アクセスされることができる。多重伝送線路
に接続される記憶ユニツトは、多重化周期毎に切
替えられるので、各記憶ユニツトにはそれぞれ異
なる多重化周期において多重伝送線路から入力さ
れたデータが順番に記憶される。従つて、シーケ
ンスコントローラがリードするデータは、過去の
複数多重周期の間にそれぞれ受信したデータの多
数決値となる。したがつて、1多重周期の間のみ
異なる様な小数データは採用されず、雑音等によ
つて信号が一時的に反転した場合に、誤りが除去
される。シーケンスコントローラからの出力は、
残部の複数の記憶ユニツトに対して行われるの
で、伝送路には、1多重周期分だけ遅れて出力さ
れる。以上の様にして、高信頼性のある高速かつ
高滑なデータの送受信を行うことができる。
When reading from the sequence controller,
A majority value arithmetic device is provided which uses, as read data, the majority value of the data stored at the input address of each of the three or more odd number storage units to be accessed. The above storage unit selection is configured to be switched in synchronization with the channel multiplexing cycle, and the storage unit selection device has this function. When a sequence controller writes, data is simultaneously output to multiple storage units connected to the sequence controller. The transmission/reception control device outputs data to the multiplex transmission line and inputs data from the multiplex transmission line by accessing the input/output address of one storage unit corresponding to the channel on the multiplex transmission line. A data storage device is provided between the sequence controller and the multiplex transmission line, and the storage unit connected to the sequence controller by the storage unit selection device and the storage unit connected to the multiplex transmission line are different. Therefore, the two are completely separated. Therefore, the sequence controller and the transmission line side can be independently controlled. Data input to a storage unit from multiple transmission lines can be accessed during the next multiplexing cycle when the storage unit is connected to a sequence controller. Since the storage units connected to the multiplex transmission line are switched at each multiplexing cycle, data input from the multiplex transmission line in each different multiplexing cycle is sequentially stored in each storage unit. Therefore, the data read by the sequence controller is the majority value of the data received during a plurality of past multiplex cycles. Therefore, decimal data that differs only during one multiplex cycle is not employed, and errors are removed when the signal is temporarily inverted due to noise or the like. The output from the sequence controller is
Since this is carried out for the remaining plurality of storage units, it is output to the transmission line with a delay of one multiple cycle. In the manner described above, highly reliable, high-speed, and smooth data transmission and reception can be performed.

[実施例] 以下、本発明を具体的な実施例に基いて詳述す
る。
[Examples] Hereinafter, the present invention will be described in detail based on specific examples.

第1図は、本発明の具体的な一実施例に係る多
重伝送インタフエースの構成を示したブロツクダ
イアグラムである。
FIG. 1 is a block diagram showing the configuration of a multiplex transmission interface according to a specific embodiment of the present invention.

又第2図は、多重伝送インタフエース2を有す
る多重伝送装置全体の構成を示したブロツクダイ
アグラムである。
FIG. 2 is a block diagram showing the overall configuration of a multiplex transmission device having a multiplex transmission interface 2. As shown in FIG.

多重伝送線路4(シリアル伝送線路)は、イン
タフエース2のラインドライバ/レシーバ200
に接続されており、ラインドライバ/レシーバ
200は、データ信号を多重伝送線路4へ出力し、
多重伝送線路4から、チヤンネルカウントパル
ス、及びデータ信号を受信する。ラインドライ
バ/レシーバ200には、チヤンネルカウントパル
スを入力するチヤンネルカウンタ21と、受信デ
ータをシリアルデータからパラレルデータに変換
するシリアル/パラレル変換器22が接続されて
いる。シリアル/パラレル変換器22は、アドレ
ツサブルゲート201を介して、データ記憶装置
28に接続され、受信データは、データ記憶装置
28の1ビツトずつ異なる物理アドレス(番地)
に記憶される。データ記憶装置28は、それぞれ
記憶ユニツトを構成するRAM281、RAM2
82、RAM283、RAM284から成り、そ
れらは、同一物理アドレスでアクセスされて1ビ
ツトのデータを入出力するRAMである。各
RAMは、さらに、マルチプレクサ285,28
6,287,288を有しており、シーケンスコ
ントローラ1のアドレスバス11、チヤンネル/
アドレス変換装置29側のアドレスバス291の
双方からアクセスされる。すなわち、マルチプレ
クサ285〜288はアドレスバス11及びアド
レスバス291の一方を選択する。
The multiplex transmission line 4 (serial transmission line) is connected to the line driver/receiver 200 of the interface 2.
connected to the line driver/receiver
200 outputs the data signal to the multiplex transmission line 4,
Channel count pulses and data signals are received from the multiplex transmission line 4. Connected to the line driver/receiver 200 are a channel counter 21 that inputs channel count pulses, and a serial/parallel converter 22 that converts received data from serial data to parallel data. The serial/parallel converter 22 is connected to the data storage device 28 via the addressable gate 201, and the received data is sent to a physical address (address) of the data storage device 28 that differs by one bit.
is memorized. The data storage device 28 includes a RAM 281 and a RAM 2, which respectively constitute a storage unit.
82, RAM 283, and RAM 284, these RAMs are accessed by the same physical address and input/output 1-bit data. each
The RAM further includes multiplexers 285, 28
6,287,288, address bus 11 of sequence controller 1, channel/
It is accessed from both address buses 291 on the address conversion device 29 side. That is, multiplexers 285 to 288 select one of address bus 11 and address bus 291.

記憶ユニツト選択装置であるRAM選択回路2
06は、多重伝送線路4からリセツトパルスを入
力する毎に、RAM281,282,283,2
84を順次選択する。なお、リセツトパルスは、
前述したように、多重化周期の最初にマスタコン
トロールユニツト3から定期的に出力される。
RAM selection circuit 2 which is a storage unit selection device
06, each time a reset pulse is input from the multiplex transmission line 4, the RAMs 281, 282, 283, 2
84 are selected in sequence. In addition, the reset pulse is
As mentioned above, it is periodically output from the master control unit 3 at the beginning of the multiplexing cycle.

即ち、共通の入出力アドレスでアクセス可能な
RAM(記憶ユニツト)が4個設けられており、
更にチヤンネルの多重化周期毎に、多重伝送線路
4に接続されるべきRAMが切換えられる(切換
の詳細は後述)。
That is, accessable through a common input/output address.
There are four RAM (memory units),
Further, the RAM to be connected to the multiplex transmission line 4 is switched every channel multiplexing period (details of switching will be described later).

2連照合回路(本発明でいう多数決値演算装
置)207は、多重伝送線路4側からアクセスさ
れていない3つのRAMの内容の多数決の値をと
る機能を有しており、シーケンスコントローラ1
は、データ記憶装置28に記憶されているデータ
を多数決値として読取る。
The double matching circuit (majority value calculation device in the present invention) 207 has a function of taking the majority value of the contents of the three RAMs that are not accessed from the multiplex transmission line 4 side, and the sequence controller 1
reads the data stored in the data storage device 28 as the majority value.

チヤンネル/アドレス変換装置(本発明でいう
送受信制御装置)29は、チヤンネル/アドレス
設定RAM291、マルチプレクサ292、ラツチ回路
293、ゲート回路294から成り、多重伝送線路
4のチヤンネルのアドレス(すなわち、チヤンネ
ルカウントパルスP6(第3図参照)の累積値)
と、シーケンスコントローラ1の入出力アドレス
との変換を行なう機能を有する。シーケンスコン
トローラ1の入出力アドレスは、11ビツトで構成
されており、211=2048個の送受信ユニツトを指
定することができる。一方、多重線路4上の各チ
ヤンネルは、それぞれ8ビツトのデータを専有し
ている。従つて、各チヤンネルは、それぞれ、8
個の入出力アドレスを専有している。なお、1チ
ヤンネル内の8ビツトのデータが専有する8個の
入出力アドレスの上位8ビツトは共通とされてお
り、これらは下位3ビツトにより区別される。ち
なみに、第3図は従来装置の1チヤンネルを表す
もので1チヤンネル当り2ビツトのデータを有す
るものである。また、チヤンネル/アドレス設定
RAM291は、チヤンネルカウントパルスの累
積値により指定されるチヤンネル番号と、入出力
アドレス上位8ビツトとの対応表を記憶してお
り、チヤンネルカウンタ21に設定されているチ
ヤンネルが専有する8個の入出力アドレスを一括
指定するために入出力アドレスの上位8ビツトが
ラツチ回路293に設定される。又、チヤンネ
ル/アドレス設定RAM291は、そのチヤンネ
ルが入力アドレス群及び出力アドレス群のいずれ
かに対応するか、即ち、入力チヤンネルか、出力
チヤンネルであるかを記憶したリード/ライト指
定用のRAMを有している。従つてこの信号も、
ラツチ回路293に出力され、送信、受信のモー
ド切換の制御信号R/Wとして利用されている。
結局、ラツチ回路293からマルチプレクサ28
5〜288に入出力アドレスの上位8ビツトが出
力される。即ち本実施例では、最大入出力チヤン
ネル数は11ビツトの入出力アドレスの上位8ビツ
トにより指定されるので28=256となる。この対
応表は、コンピユータ26、コンソールパネル2
7を用いて、作成することができる。又、上記説
明した入出力アドレスの下位3ビツトは、クロツ
ク回路205によつてシーケンスシヤルに設定さ
れる。
The channel/address conversion device (transmission/reception control device in the present invention) 29 includes a channel/address setting RAM 291, a multiplexer 292, and a latch circuit.
293, consists of a gate circuit 294, and the address of the channel of the multiplex transmission line 4 (i.e., the cumulative value of the channel count pulse P6 (see Fig. 3))
and the input/output address of the sequence controller 1. The input/output address of the sequence controller 1 consists of 11 bits, and can specify 2 11 =2048 transmitting/receiving units. On the other hand, each channel on the multiplex line 4 exclusively holds 8 bits of data. Therefore, each channel has 8
It has exclusive input/output addresses. Note that the upper 8 bits of the 8 input/output addresses occupied by the 8-bit data in one channel are common, and these are distinguished by the lower 3 bits. Incidentally, FIG. 3 shows one channel of a conventional device, and each channel has 2 bits of data. Also, channel/address settings
The RAM 291 stores a correspondence table between the channel number specified by the cumulative value of the channel count pulse and the upper 8 bits of the input/output address, and stores the 8 input/outputs exclusively occupied by the channel set in the channel counter 21. The upper 8 bits of the input/output address are set in the latch circuit 293 in order to specify addresses all at once. The channel/address setting RAM 291 also has a read/write designation RAM that stores whether the channel corresponds to either the input address group or the output address group, that is, whether it is an input channel or an output channel. are doing. Therefore, this signal also
The signal is output to the latch circuit 293 and used as a control signal R/W for switching modes between transmission and reception.
Eventually, from the latch circuit 293 to the multiplexer 28
The upper 8 bits of the input/output address are output from 5 to 288. That is, in this embodiment, the maximum number of input/output channels is specified by the upper 8 bits of the 11-bit input/output address, so 2 8 =256. This correspondence table shows the computer 26, console panel 2
It can be created using 7. Further, the lower three bits of the input/output address described above are set serially by the clock circuit 205.

一方、シーケンスコントローラ1からの出力デ
ータは、データ線Dを介して、アドレスバス11
によつてアクセスされ得る(多重伝送線路4側か
らアクセスされていない)3つのRAMに記憶さ
れる。
On the other hand, the output data from the sequence controller 1 is transmitted via the data line D to the address bus 11.
The data is stored in three RAMs that can be accessed by (not accessed from the multiple transmission line 4 side).

データの多重伝送線路4への出力は、次の様
に、行なわれる。まず、チヤンネルカウンタ21
により設定されたチヤンネルに対応する入出力ア
ドレス群が選択されている一つの記憶ユニツトの
データがゲート回路289を介して出力用シフト
レジスタ202にクロツク回路205に従つてシ
ーケンシヤルに出力される。次に、このデータは
出入力用シフトレジスタ202からパラレル/シ
リアル変換器203にパラレル出力され、パラレ
ル/シリアル変換器203によつてシリアルデー
タに変換されてラインドライバ/レシーバ200
を介して多重伝送線路4に送出される。
Data is output to the multiplex transmission line 4 as follows. First, channel counter 21
The data of one storage unit in which the input/output address group corresponding to the channel set by is selected is sequentially output to the output shift register 202 via the gate circuit 289 in accordance with the clock circuit 205. Next, this data is output in parallel from the input/output shift register 202 to the parallel/serial converter 203, where it is converted into serial data and sent to the line driver/receiver 203.
The signal is sent out to the multiplex transmission line 4 via.

以上の様にして、チヤンネルカウンタ21は、
零チヤンネルから最大チヤンネルまで、サイクリ
ツクに変化し、チヤンネル/アドレス変換器29
は、その時点のチヤンネルに対応する8個の入出
力アドレスの共通上位8ビツトを設定する。
In the above manner, the channel counter 21
The channel/address converter 29 changes cyclically from the zero channel to the maximum channel.
sets the common upper 8 bits of the 8 input/output addresses corresponding to the channel at that time.

多重伝送線路4からの入力データはシリアル/
パラレル変換器22に入力され、アドレツサブル
ゲート201を介して、1ビツトずつ、RAM選
択回路206で選択された1つのRAMに入力さ
れる。
The input data from the multiplex transmission line 4 is serial/
The data is input to the parallel converter 22, and is input to one RAM selected by the RAM selection circuit 206 one bit at a time via the addressable gate 201.

第4図a,bは、チヤンネル/アドレス設定
RAM291のデータ構成を示した図である。チ
ヤンネル#0〜#nに対応する入出力アドレスが
順次記憶されている。入出力アドレスが記憶され
ているテーブルの相対(仮想)アドレスがチヤン
ネル番号と一致している。従つて、チヤンネル番
号を相対アドレス信号とし、それをテーブルの先
頭アドレス(SRM)に加えることにより、その
チヤンネルに対応した入出力アドレスを記憶した
絶対(セルの物理)アドレスを求めることができ
る。この絶対アドレス(SRA+#)によつて
チヤンネル#の入出力アドレスをデータバスに
出力することができる。又、第4図bに示すテー
ブルの参照して、チヤンネル#1の入出力モード
をアクセスし、データバスに、入出力モード制御
信号を出力することができる。入出力アドレス設
定装置は、コンピユータ26とコンソールパネル
27とで構成されている。第5図はコンソールパ
ネル27を示す平面図である。入出力アドレスを
入力するために、キーボード270が設けられて
おり、入出力アドレスを表示するためにアドレス
表示部273、チヤンネルを表示するためにチヤ
ンネル表示部271が設けられている。
Figure 4 a and b are channel/address settings
3 is a diagram showing a data structure of RAM 291. FIG. Input/output addresses corresponding to channels #0 to #n are sequentially stored. The relative (virtual) address of the table in which input/output addresses are stored matches the channel number. Therefore, by using the channel number as a relative address signal and adding it to the top address (SRM) of the table, it is possible to obtain the absolute (physical cell) address that stores the input/output address corresponding to that channel. This absolute address (SRA+#) allows the input/output address of channel # to be output to the data bus. Also, by referring to the table shown in FIG. 4B, the input/output mode of channel #1 can be accessed and an input/output mode control signal can be output to the data bus. The input/output address setting device is composed of a computer 26 and a console panel 27. FIG. 5 is a plan view showing the console panel 27. FIG. A keyboard 270 is provided for inputting input/output addresses, an address display section 273 for displaying input/output addresses, and a channel display section 271 for displaying channels.

多数決値演算装置として2連照合回路207が
設けられている。2連照合回路207は、RAM
281,282,283,284から選択された
3個の出力信号を入力し、シーケンスコントロー
ラ1によつてアクセスされたデータを入力してい
る。
A double matching circuit 207 is provided as a majority value calculation device. The double verification circuit 207 is a RAM
Three output signals selected from 281, 282, 283, and 284 are input, and data accessed by the sequence controller 1 is input.

第6図は、2連照合回路207の具体的な構成
を示したものである。208はゲートIC(LS151)
である。A、B、CとD1(D2及びD4)端子には、
ANDゲート209a,209b,209c,2
09dの出力信号が入力している。それらの
ANDゲートは、それぞれRAM281のデータ
DATA1、RAM282のデータDATA2、RAM
283のデータDATA3、RAM284のデータ
DATA4と、RAM選択回路206から出力され
る記憶ユニツト選択信号(正論理)の反転信号が
入力している。従つて、RAM選択回路206に
よつて選択されていないRAM、即ちシーケンス
コントローラ1によつてアクセス可能なRAMの
データ信号のみがゲートIC208のA、B、C、
D1端子のいずれか3つの端子に入力し、残りの
1端子は1多重化周期の間、常に低レベルとな
る。データ端子DOは低レベルに、D3、D5、D6、
D7は高レベル信号が入力している。
FIG. 6 shows a specific configuration of the double matching circuit 207. 208 is gate IC (LS151)
It is. A, B, C and D1 (D2 and D4) terminals are
AND gates 209a, 209b, 209c, 2
The output signal of 09d is input. Them
Each AND gate is data of RAM281.
DATA1, RAM282 data DATA2, RAM
283 data DATA3, RAM284 data
DATA4 and an inverted signal of the storage unit selection signal (positive logic) output from the RAM selection circuit 206 are input. Therefore, only the data signals of the RAMs not selected by the RAM selection circuit 206, that is, the RAMs that can be accessed by the sequence controller 1, are sent to the gate ICs 208, A, B, C, etc.
It is input to any three of the D1 terminals, and the remaining one terminal is always at a low level during one multiplexing period. Data terminal DO is at low level, D3, D5, D6,
A high level signal is input to D7.

このゲート回路LS151では、A、B、Cの
うち2以上の端子が高レベル“1”のとき、Y端
子の出力は高レベル“1”となる。又、A、B、
Cのうち1の端子だけが高レベル“1”、他が低
レベル“0”のときは、DATA4信号がY端子か
ら出力される。即ち、DATA4信号が高レベル
“1”のときは高レベル”1”信号がDATA信号
が低レベル“0”のときは低レベル“0”信号が
Y端子から出力される。又、A、B、Cの全ての
端子が低レベル“0”のときアドレスは0となり
Y端子からはDATA4信号の状態にかかわらず低
レベル“0”信号が出力される。結局、DATA1
〜DATA4の信号のうち、2以上が高レベルにな
ると高レベルの信号が、3以上が低レベルとなる
と低レベル信号が出力される。いずれか1の端子
には、アクセスされていない低レベル信号が入力
されていることを考えれば、アクセスされた3つ
のデータ信号の多数決値がY端子から出力される
ことになる。このY端子からの出力信号は、シー
ケンスコントローラ1の入力データとなる。当
然、このような多数決回路は他のハードウエアま
たはソフトウエアで代替できる。
In this gate circuit LS151, when two or more terminals among A, B, and C are at high level "1", the output of the Y terminal becomes high level "1". Also, A, B,
When only one of the C terminals is at high level "1" and the others are at low level "0", the DATA4 signal is output from the Y terminal. That is, when the DATA4 signal is at a high level "1", a high level "1" signal is output from the Y terminal, and when the DATA signal is at a low level "0", a low level "0" signal is output from the Y terminal. Further, when all terminals A, B, and C are at low level "0", the address becomes 0, and a low level "0" signal is output from the Y terminal regardless of the state of the DATA4 signal. After all, DATA1
When two or more of the ~DATA4 signals become high level, a high level signal is output, and when three or more become low level, a low level signal is output. Considering that a low level signal that has not been accessed is input to any one terminal, the majority value of the three accessed data signals will be output from the Y terminal. The output signal from this Y terminal becomes input data to the sequence controller 1. Naturally, such majority voting circuit can be replaced by other hardware or software.

第7図は、以上の論理を求めた論理表である。 FIG. 7 is a logic table showing the above logic.

以上のようにして、シーケンスコントローラ1
は、多重伝送線路4とは独立分離して、データの
スキヤンニングを行なうことができ、従つて、多
重伝送線路4は、従来の多重化方式のタイミング
で伝送を行なうことができる。
As described above, sequence controller 1
The multiplex transmission line 4 can perform data scanning independently and separately from the multiplex transmission line 4, and therefore the multiplex transmission line 4 can perform transmission at the timing of the conventional multiplex system.

[発明の効果] 本発明は、シーケンスコントローラと多重伝送
線路との間でバツフア作用を行ない、上記両者に
よりそれぞれ独立してアクセス可能なデータ記憶
装置を有している。従つて、シーケンスコントロ
ーラは、伝送路とは独立してデータをアクセスで
きるため、シーケンスコントローラからみて高速
処理が行なえると共に、多重伝送線路は、シーケ
ンスコントローラに対し同期させていないので伝
送速度を低下させることがない。さらに、データ
記憶装置は、複数の記憶ユニツトを有し、各記憶
ユニツトの出力データの多数決値をシーケンスコ
ントローラに与えている。従つて、雑音による誤
りを排除でき、システムを高信頼化させることが
できる。
[Effects of the Invention] The present invention has a data storage device that performs a buffering action between a sequence controller and a multiplex transmission line and can be accessed independently by both. Therefore, since the sequence controller can access data independently of the transmission line, high-speed processing can be performed from the perspective of the sequence controller, and since the multiple transmission lines are not synchronized with the sequence controller, it reduces the transmission speed. Never. Furthermore, the data storage device has a plurality of storage units, and provides the sequence controller with a majority value of the output data of each storage unit. Therefore, errors caused by noise can be eliminated and the system can be made highly reliable.

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

第1図は、本発明の具体的な一実施例に係る多
重伝送インタフエースの構成を示したブロツクダ
イヤグラムである。第2図は、従来及び本発明の
インタフエースに係る制御システム全体の構成を
示したブロツクダイヤグラムである。第3図は、
従来の制御システムにおいて多重伝送線路に表わ
れる信号の波形を示した波形図である。第4図
は、実施例装置のチヤンネル/アドレス設定
RAMのデータ構造を示した構造図である。第5
図は、同実施例装置のコンソールパネルを示した
平面図である。第6図は、同実施例装置の多数決
値演算装置の構成を示したブロツク図である。第
7図は、その論理を説明した論理図である。
FIG. 1 is a block diagram showing the configuration of a multiplex transmission interface according to a specific embodiment of the present invention. FIG. 2 is a block diagram showing the overall configuration of a control system related to the conventional interface and the present invention. Figure 3 shows
FIG. 2 is a waveform diagram showing waveforms of signals appearing on multiple transmission lines in a conventional control system. Figure 4 shows the channel/address settings of the example device.
FIG. 3 is a structural diagram showing the data structure of RAM. Fifth
The figure is a plan view showing the console panel of the device of the same embodiment. FIG. 6 is a block diagram showing the configuration of the majority value calculation device of the same embodiment. FIG. 7 is a logic diagram explaining the logic.

Claims (1)

【特許請求の範囲】 1 複数の送受信ユニツトが接続された時分割の
多重伝送線路と、シーケンスコントローラとの間
を接続するインタフエースを備えたシーケンスコ
ントローラの多重伝送装置であつて、 前記インタフエースは、 前記シーケンスコントローラと前記多重伝送線
路の間に配設されたバツフアであつて、 前記シーケンスコントローラのアドレスバス及
び、信号の送受信を制御する送受信制御装置のア
ドレスバスに接続され、前記シーケンスコントロ
ーラ及び前記送受信制御装置からの入出力アドレ
スの指定によりアクセク可能な並列に接続された
4以上の記憶ユニツトから成るデータ記憶装置
と、 前記多重伝送線路からチヤンネルを決定するパ
ルスを入力し、前記多重伝送線路上の時分割のチ
ヤンネルに対応した前記入出力アドレスを前記デ
ータ記憶装置に入力して、当該チヤンネルを順次
アクセスすることにより、チヤンネルデータを前
記多重伝送線路と前記データ記憶装置との間で送
受信する前記送受信制御装置と、 前記データ記憶装置を構成する1の記憶ユニツ
トを前記送受信制御装置からのみアクセス可能に
制御し、残りの3個以上奇数個の記憶ユニツトを
前記シーケンスコントローラからのみアクセス可
能に制御し、時分割多重化された前記チヤンネル
の多重化周期を示すリセツトパルスを前記多重伝
送線路から入力し、該リセツトパルスを入力する
毎に前記1の記憶ユニツトを変化させる記憶ユニ
ツト選択装置と、 前記シーケンスコントローラからリードされる
時には、アクセスされる前記3個以上奇数個の記
憶ユニツトに記憶されたデータの多数決値を求
め、該多数決値を前記シーケンスコントローラの
入力データとする多数決値演算装置と、 から成ることを特徴とするシーケンスコントロー
ラの多重伝送装置。
[Scope of Claims] 1. A multiplex transmission device for a sequence controller, comprising an interface for connecting a time-division multiplex transmission line to which a plurality of transmitter/receiver units are connected and a sequence controller, the interface comprising: , a buffer disposed between the sequence controller and the multiplex transmission line, the buffer being connected to an address bus of the sequence controller and an address bus of a transmission/reception control device that controls transmission and reception of signals; A data storage device consisting of four or more storage units connected in parallel that can be accessed by specifying input/output addresses from a transmission/reception control device, and a pulse for determining a channel is input from the multiplex transmission line, The input/output address corresponding to the time-division channel is input to the data storage device and the channels are sequentially accessed, thereby transmitting and receiving channel data between the multiplex transmission line and the data storage device. A transmission/reception control device and one storage unit constituting the data storage device are controlled to be accessible only from the transmission/reception control device, and the remaining three or more odd numbered storage units are controlled to be accessible only from the sequence controller. , a storage unit selection device that inputs a reset pulse indicating the multiplexing period of the time-division multiplexed channel from the multiplex transmission line and changes the one storage unit each time the reset pulse is input; and the sequence. a majority value arithmetic device which calculates a majority value of the data stored in the three or more odd number of storage units to be accessed when read from the controller, and uses the majority value as input data to the sequence controller; A multiplex transmission device for a sequence controller, characterized in that:
JP25116284A 1984-11-28 1984-11-28 Multiplex transmitter of sequence controller Granted JPS61129937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25116284A JPS61129937A (en) 1984-11-28 1984-11-28 Multiplex transmitter of sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25116284A JPS61129937A (en) 1984-11-28 1984-11-28 Multiplex transmitter of sequence controller

Publications (2)

Publication Number Publication Date
JPS61129937A JPS61129937A (en) 1986-06-17
JPH0332938B2 true JPH0332938B2 (en) 1991-05-15

Family

ID=17218594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25116284A Granted JPS61129937A (en) 1984-11-28 1984-11-28 Multiplex transmitter of sequence controller

Country Status (1)

Country Link
JP (1) JPS61129937A (en)

Also Published As

Publication number Publication date
JPS61129937A (en) 1986-06-17

Similar Documents

Publication Publication Date Title
EP0232091B1 (en) Time switch with a dual memory structure-type control memory
US4345325A (en) Message-interchange circuitry for microprocessors linked by synchronous communication network
EP0908827B1 (en) Memory interface device and memory address generation device
US5319596A (en) Semiconductor memory device employing multi-port RAMs
JPH0332938B2 (en)
US3920920A (en) Data insertion in the speech memory of a time division switching system
US4942573A (en) Loosely coupled parallel network simulator
EP0420281B1 (en) Luminance interpolation type waveform display apparatus
EP0122684B1 (en) Electronic switching system
JPH0339420B2 (en)
JPH0143322B2 (en)
SU1501135A1 (en) Device for displaying information
JPS62182857A (en) Input and output controller
SU1401469A1 (en) Device for interfacing a computer with controlled objects
SU1716622A2 (en) Commutator
KR900002634B1 (en) Time division multiplex communications i/o device
KR0180668B1 (en) Data receiving apparatus
JPH054041Y2 (en)
SU1288709A1 (en) Interface for linking electric computer with peripheral units
KR0168224B1 (en) Control method of information processor for integrated test and performance measurement of main computer
SU734656A1 (en) Device for intercomplex interfacing
KR0154486B1 (en) The circuit for interfacing between the device and the peripheral-processor using high-speed parallel synchronous bus structure
JPS6384399A (en) Key telephone system
JPH0287793A (en) Channel continuity test system
JPH08241157A (en) Display and key input/output circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees