JPH0339420B2 - - Google Patents
Info
- Publication number
- JPH0339420B2 JPH0339420B2 JP25004884A JP25004884A JPH0339420B2 JP H0339420 B2 JPH0339420 B2 JP H0339420B2 JP 25004884 A JP25004884 A JP 25004884A JP 25004884 A JP25004884 A JP 25004884A JP H0339420 B2 JPH0339420 B2 JP H0339420B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- input
- address
- output
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims description 50
- 238000006243 chemical reaction Methods 0.000 claims description 19
- 238000013500 data storage Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
Landscapes
- Programmable Controllers (AREA)
- Small-Scale Networks (AREA)
- Selective Calling Equipment (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 having a function of easily and variably converting input/output addresses of input/output elements to be controlled by a sequence controller and a channel of a multiplex transmission line.
従来、数多くのマシンユニツトを、同期制御す
るシステムとしてシリアル伝送路を介してシーケ
ンスコントローラで時分割制御する制御システム
が知られている。
BACKGROUND ART Conventionally, a control system is known in which a large number of machine units are time-divisionally controlled by a sequence controller via a serial transmission line as a system for synchronously controlling a large number of machine units.
この制御システムは、第2図に示す様に、チヤ
ンネルを制御するマスタコントロールユニツト3
と、多重伝送線路4と、各マシンユニツトを制御
するシーケンスコントローラ1と、シーケンスコ
ントローラ1と多重伝送線路4とのインタフエー
スである多重伝送インタフエイス2と、多重伝送
線路4に接続され、各マシンユニツトに配設され
ている送信ユニツト52,53、受信ユニツト5
1,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. Transmitting units 52, 53 and receiving unit 5 arranged in the unit
It consists of 1,54 mag.
マスタコントロールユニツト3は、第3図に示
す様に、リセツトパルスP1、チヤンネルカウン
トパルスP6を順次出力する。各送受信ユニツト
は、デイツプスイツチ531,511等で特定の
チヤンネル番号が設定されており、それの有する
チヤンネルカウンタ532,512の値が、設定
されたチヤンネル番号と等しくなつたとき、その
チヤンネル番号によつて特定された送受信ユニツ
トは、多重伝送線路にデータ信号P2,P4を出
力したり、多重伝送線路からデータ信号P2,P
4を入力する。 The master control unit 3 sequentially outputs a reset pulse P1 and a channel count pulse P6, as shown in FIG. Each transmitter/receiver unit has a specific channel number set by a deep switch 531, 511, etc., and when the value of its channel counter 532, 512 becomes equal to the set channel number, The identified transmitter/receiver unit outputs the data signals P2, P4 to the multiplex transmission line, or outputs the data signals P2, P4 from the multiplex transmission line.
Enter 4.
マスタコントローラユニツト3の出力するリセ
ツトパルスP1は、各送受信ユニツトの有するチ
ヤンネルカウンタ532,512及び多重伝送イ
ンタフエイス2の有するチヤンネルカウンタの内
容をリセツトし、チヤンネル番号を零とする。ま
たチヤンネルカウントパルスP6は、一定周期で
マスタコントロールユニツト3から出力されてお
り、各チヤンネルカウンタの値を1だけ更新し、
伝送線路の使用されているチヤンネルを順次更新
する。設定された最大チヤンネルまで更新される
と、次にリセツトパルスP1が出力され、伝送線
路は、再度零チヤンネルから順次時分割多重化さ
れる。 The reset pulse P1 outputted by the master controller 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は、
伝送線路のチヤンネルを時分割制御しており、各
送受信ユニツトは、それの有するチヤンネルに、
伝送線路が設定されたとき、シーケンスコントロ
ーラ1との間でデータの送受信を行なうことがで
きる。以上の様にして、送信ユニツト52,53
は、それぞれのチヤンネルを利用して、リミツト
スイツチ、操作スイツチ、リレー接点等の入力要
素の状態をシーケンスコントローラ1に出力する
ことができ、又シーケンスコントローラ1は、受
信ユニツト51,54へ、それぞれのチヤンネル
を利用して、ランプ、リレーコイル等の出力要素
の作動状態を示す信号を出力することができる。 In this way, the master control unit 3
The channels of the transmission line are controlled in a time-division manner, and each transmitter/receiver unit
When the transmission line is set, data can be sent and received to and from the sequence controller 1. In the above manner, the transmitting units 52, 53
can output the states of input elements such as limit switches, operation switches, and relay contacts to the sequence controller 1 using their respective channels, and the sequence controller 1 can output the states of input elements such as limit switches, operation switches, and relay contacts to the receiving units 51 and 54 through their respective channels. can be used to output a signal indicating the operating state of an output element such as a lamp or relay coil.
従来の多重伝送装置は、上記の構成、作用によ
り複数のマシンユニツトをシーケンスコントロー
ラによつて制御するものである。 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が設けられて
いる。この多重伝送インタフエイス2は、独立に
シーケンスコントローラが入出力アドレス単位で
制御するデータと、チヤンネル単位の時分割多重
化されたデータとの相互変換を行う装置である。
従つて、本多重伝送インタフエイス2において、
チヤンネルと、シーケンスコントローラの制御単
位の入出力アドレスとの相互変換を行う装置が必
要であり、この対応関係は、容易に変更できるの
がシステムの設計及び運用上望ましい。しかしな
がら、従来装置は、各チヤンネル毎にデイプスイ
ツチを設け、対応する入出力アドレスを設定する
もにであつた。このため、装置の容積が大きく、
1多重伝送装置当りのチヤンネル数を大きくとる
ことができなかつた。又チヤンネルから入出力ア
ドレスへの変換には、デコーダ及びデイプスイツ
チの動作状態に対応したコード発生器を使用して
いたため、回路構成が複雑であつた。
The multiplex transmission system is provided with a multiplex transmission interface 2 which is an interface between the sequence controller 1 and the multiplex transmission line 4. This multiplex transmission interface 2 is a device that performs mutual conversion between data controlled independently by a sequence controller in units of input/output addresses and data time-division multiplexed in units of channels.
Therefore, in this multiplex transmission interface 2,
A device is required to perform mutual conversion between the channel and the input/output address of the control unit of the sequence controller, and it is desirable in terms of system design and operation that this correspondence relationship can be easily changed. However, in the conventional device, a depth switch is provided for each channel, and corresponding input/output addresses are set. For this reason, the volume of the device is large;
It was not possible to increase the number of channels per multiplex transmission device. Furthermore, since a code generator corresponding to the operating state of the decoder and depth switch is used to convert the channel to the input/output address, the circuit configuration is complicated.
そこで、本発明は、上記欠点を改良するために
成されたものであり、チヤンネル/入出力アドレ
スの変換及びそれらの設定、変更を容易に行うと
共に、集積度を向上させて変換チヤンネル数を多
くすることを目的とする。 Therefore, the present invention has been made to improve the above-mentioned drawbacks, and it facilitates conversion of channels/input/output addresses and their settings and changes, and also increases the number of conversion channels by improving the degree of integration. The purpose is to
本発明は、複数の送受信ユニツトが接続された
時分割の多重伝送線路と、シーケンスコントロー
ラとの間を接続するインタフエースに、
前記多重伝送線路に接続され、該多重伝送線路
のチヤンネルを決定するカウントパルスを入力す
るチヤンネルカウンタと、
前記シーケンスコントローラと前記多重伝送線
路の間に配設された、バツフアであつて、前記シ
ーケンスコントローラのアドレスバスに接続さ
れ、入出力アドレスの指定によつてアクセスされ
るデータ記憶装置と、
前記チヤンネルに対応した前記入出力アドレス
を記憶し、アドレスバスを前記チヤンネルカウン
タに接続し、データバスを前記データ記憶装置を
アクセスするそのアドレスバスに接続した記憶装
置から成る前記チヤンネルと入出力アドレスを相
互変換するチヤンネル/アドレス変換装置と、
前記チヤンネル/アドレス変換装置に対し、該
装置へのアクセスが可能に接続され、前記チヤン
ネルに対応した前記入出力アドレスを前記チヤン
ネル/アドレス変換装置に設定する入出力アドレ
ス設定装置と、を設けたことを特徴とするもので
ある。
The present invention provides an interface that connects a time-division multiplex transmission line to which a plurality of transmitter/receiver units are connected and a sequence controller, and a count that is connected to the multiplex transmission line and that determines the channel of the multiplex transmission line. a channel counter for inputting pulses; a buffer disposed between the sequence controller and the multiplex transmission line, connected to the address bus of the sequence controller, and accessed by input/output address designation; said channel comprising a data storage device; and a storage device for storing said input/output addresses corresponding to said channel, having an address bus connected to said channel counter, and a data bus connected to said address bus for accessing said data storage device; a channel/address conversion device that mutually converts input and output addresses; and a channel/address conversion device that is connected to the channel/address conversion device so that the device can be accessed, and that converts the input/output address corresponding to the channel to the channel/address conversion device. The present invention is characterized in that it includes an input/output address setting device for setting in the device.
本発明装置は、チヤンネルと入出力アドレスと
を変換する変換装置に、チヤンネルによつて特定
されるアドレスに、そのチヤンネルに対応する入
出力アドレスをデータとして記憶した記憶装置を
用いていることを特徴としている。従つて、チヤ
ンネル信号をアドレス信号として、その記憶装置
をアクセスすれば、そのデータ線上に入出力アド
レス信号を取出すことができ、チヤンネル/入出
力アドレスの変換が容易に行われる。又、変換装
置には、各チヤンネルに対応した入出力アドレス
を設定する入出力アドレス設定装置が設けられて
おり、該装置によつて、前記記憶装置に入出力ア
ドレスを設定できる。 The apparatus of the present invention is characterized in that the conversion device for converting a channel and an input/output address uses a storage device that stores, as data, an input/output address corresponding to the channel at an address specified by the channel. It is said that Therefore, by accessing the storage device using the channel signal as an address signal, the input/output address signal can be taken out on the data line, and channel/input/output address conversion is easily performed. Further, the conversion device is provided with an input/output address setting device for setting an input/output address corresponding to each channel, and the input/output address can be set in the storage device by this device.
前記チヤンネルカウンタの値は、シーケンシヤ
ルに変化する番号を示し、伝送線路が現在その番
号のチヤンネルに使用されていることを示してい
る。各チヤンネルは、シーケンスコントローラか
ら見て、入力要素、出力要素のための入力用チヤ
ンネルと出力用チヤンネルに分けられている。入
力用チヤンネルは、送信ユニツトから、データを
シーケンスコントローラ側に伝送するチヤンネル
であり、出力用チヤンネルはシーケンスコントロ
ーラから受信ユニツトへデータを出力するための
チヤンネルである。従つて、入力用チヤンネルは
入力アドレスに、出力用チヤンネルは出力アドレ
スに対応する。 The value of the channel counter indicates a number that changes sequentially, indicating that the transmission line is currently being used for the channel of that number. Seen from the sequence controller, each channel is divided into an input channel and an output channel for input elements and output elements. The input channel is a channel for transmitting data from the transmitting unit to the sequence controller side, and the output channel is a channel for outputting data from the sequence controller to the receiving unit. Therefore, input channels correspond to input addresses, and output channels correspond to output addresses.
前記データ記憶装置は、シーケンスコントロー
ラから入出力アドレスを指定して、アクセスされ
ると同時に、チヤンネル/アドレス変換装置から
もアクセスされる。通常、1のチヤンネルは、複
数の入力又は出力要素を制御するデータを伝送す
るので、1のチヤンネルが、入力又は出力アドレ
ス群と対応する。従つてチヤンネルに対応する入
出力アドレスは、前記入出力アドレス群の代表値
で表される。 The data storage device is accessed by the sequence controller by specifying an input/output address, and at the same time, it is also accessed by the channel/address conversion device. Typically, one channel carries data that controls multiple input or output elements, so one channel corresponds to a group of input or output addresses. Therefore, the input/output address corresponding to the channel is represented by a representative value of the input/output address group.
前記チヤンネル/アドレス変換装置は、チヤン
ネルカウンタ及び入出力アドレス設定装置の双方
からアクセス可能に接続されている。 The channel/address translation device is connected so as to be accessible from both the channel counter and the input/output address setting device.
まず、入出力アドレス設定装置によつて、各チ
ヤンネルに対応した入出力アドレスを設定してお
く。この状態でシステムは稼動状態となり、時分
割的に、順次チヤンネルが切変り、各チヤンネル
のデータの送受信が行われる。今、チヤンネルカ
ウンタが第0チヤンネルを示していたとすれば、
チヤンネル/アドレス変換装置のデータバスに
は、対応する第0チヤンネルの入出力アドレス信
号が発生している。この入出力アドレス信号をデ
ータ記憶装置のアドレス信号(たとえば上位アド
レス信号)とすることにより、そのチヤンネルの
専有する入出力アドレス群をアクセスすることが
でき、そのチヤンネルの受信データを順次対応ア
ドレスに記憶したり、反対に、そのチヤンネルの
対応する入出力アドレス群を順次アクセスするこ
とにより、シリアルデータをそのチヤンネルに出
力することができる。
First, an input/output address corresponding to each channel is set using an input/output address setting device. In this state, the system is in operation, and channels are sequentially switched in a time-division manner, and data on each channel is transmitted and received. Now, if the channel counter indicates the 0th channel,
A corresponding input/output address signal of the 0th channel is generated on the data bus of the channel/address conversion device. By using this input/output address signal as the address signal of the data storage device (for example, an upper address signal), the input/output address group exclusive to that channel can be accessed, and the received data of that channel can be sequentially stored in the corresponding address. Or, conversely, by sequentially accessing the corresponding input/output address group of that channel, serial data can be output to that channel.
以下、本発明を具体的な実施例に基いて詳述す
る。
Hereinafter, the present invention will be explained in detail based on specific examples.
第1図は、本発明の具体的な一実施例に係る多
重伝送装置の構成を示したブロツクダイアグラム
である。 FIG. 1 is a block diagram showing the configuration of a multiplex transmission apparatus 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(シリアル伝送線路)は、ライ
ンドライバ/レシーバ200に接続されており、
ラインドライバ/レシーバ200は、データ信号
を多重伝送線路4へ出力し、多重伝送線路4か
ら、チヤンネルカウントパルス、及びデータ信号
を受信する。ラインドライバ/レシーバ200に
は、チヤンネルカウントパルスを入力するチヤン
ネルカウンタ21と、受信データをシリアルデー
タからパラレルデータに変換するシリアル/パラ
レル変換器22が接続されている。シリアル/パ
ラレル変換器22は、アドレサブルゲート201
を介し、データ記憶装置28に接続され、受信デ
ータは、1ビツトずつ異なるアドレスに記憶され
る。データ記憶装置28は、記憶ユニツトの
RAM281、RAM282、RAM283、
RAM284から成り、それらは、同一アドレス
でアクセスされる1ビツトRAMである。各
RAMは、さらに、マルチプレクサ285,28
6,287,288を有しており、シーケンスコ
ントローラ1のアドレスバス11、チヤンネル/
アドレス変換装置29側のアドレスバス291の
双方からアクセスされる。RAM選択回路206
は、多重伝送線路から入力されるリセツトパルス
を入力する毎に、RAM281,282,28
3,284を順次選択する。即ち、全ての入出力
アドレスに対して、データを記憶するRAMが4
個設けられており、チヤンネルの多重化周期毎
に、多重伝送線路から入力され、記憶される
RAMが切換られる。2連照合回路207は、多
重伝送線路側からアクセスされていない3つの
RAMの内容の多数決の値をとる機能を有してお
り、シーケンスコントローラ1は、データ記憶装
置28に記憶されている入力要素のデータを多数
決値として、読取ることができる。 The multiplex transmission line 4 (serial transmission line) is connected to the line driver/receiver 200,
Line driver/receiver 200 outputs data signals to multiplex transmission line 4 and receives channel count pulses and data signals from 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 an addressable gate 201
is connected to the data storage device 28 via the data storage device 28, and the received data is stored in addresses that differ one bit at a time. Data storage device 28 is a storage unit.
RAM281, RAM282, RAM283,
It consists of RAM 284, which are 1-bit RAMs that are accessed at the same address. 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. RAM selection circuit 206
The RAM 281, 282, 28
3,284 are selected in sequence. In other words, there are 4 RAMs for storing data for all input/output addresses.
It is input from the multiplex transmission line and stored for each channel multiplexing period.
RAM is switched. The double matching circuit 207 has three
It has a function of taking the majority value of the contents of the RAM, and the sequence controller 1 can read the input element data stored in the data storage device 28 as the majority value.
チヤンネル/アドレス変換装置29は、チヤン
ネル/アドレス設定RAM291、マルチプレク
サ292、ラツチ回路293、ゲート回路294
から成り、伝送線路のチヤンネルと、シーケンス
コントローラの入出力アドレスとの変換を行なう
機能を有する。シーケンスコントローラの入出力
アドレスは、11ビツトで構成されており、1ビツ
トデータ毎に1アドレスが割当てられている。チ
ヤンネルは、1チヤンネル当り8ビツトのデータ
を専有している。従つて、各チヤンネルは、1チ
ヤンネルにつき、8つの入出力アドレスを専用し
ている。従つて、チヤンネル/アドレス設定
RAM291は、チヤンネル番号と、上位8ビツ
トの入出力アドレスとの対応表を記憶しており、
チヤンネルカウンタ21に設定されているチヤン
ネルの専有する入出力アドレス群の上位8ビツト
のアドレスがラツチ回路293に設定される。
又、チヤンネル/アドレス設定RAM291は、
そのチヤンネルが入力アドレス群、か出力アドレ
ス群のいずれに対応するか、即ち、入力チヤンネ
ルか、出力チヤンネルであるかを記憶したRAM
を有している。従つてこの信号も、ラツチ回路2
93に出力され、送信、受信のモード切換の制御
信号として利用されている。結局、入出力アドレ
スの上位8ビツトのアドレス信号が出力される。
即ち本実施例では、最大入出力チヤンネル数は
256である。この対応表は、コンピユータ26、
コンソールパネル27を用いて、作成することが
できる。又、入出力アドレスの下位3ビツトは、
クロツク205によつてシーケンシヤルに設定さ
れる。 The channel/address conversion device 29 includes a channel/address setting RAM 291, a multiplexer 292, a latch circuit 293, and a gate circuit 294.
It has the function of converting the transmission line channel and the input/output address of the sequence controller. The input/output address of the sequence controller consists of 11 bits, and one address is assigned to each bit of data. Each channel occupies 8 bits of data. Therefore, each channel has eight dedicated input/output addresses per channel. Therefore, channel/address settings
The RAM 291 stores a correspondence table between channel numbers and upper 8-bit input/output addresses.
The upper 8-bit address of the input/output address group exclusive to the channel set in the channel counter 21 is set in the latch circuit 293.
In addition, the channel/address setting RAM 291 is
A RAM that stores whether the channel corresponds to an input address group or an output address group, that is, whether it is an input channel or an output channel.
have. Therefore, this signal is also connected to the latch circuit 2.
93 and is used as a control signal for switching modes between transmission and reception. Eventually, the address signal of the upper 8 bits of the input/output address is output.
That is, in this embodiment, the maximum number of input/output channels is
It is 256. This correspondence table shows the computer 26,
It can be created using the console panel 27. Also, the lower 3 bits of the input/output address are
Sequentially set by clock 205.
一方、シーケンスコントローラ1からの出力デ
ータは、データ線Dを介して、アドレスバス11
によつて設定されたアドレスの多重伝送線路側か
らアクセスされていない3つのRAMに記憶され
る。データの多重伝送線路への出力は、次の様
に、行なわれる。まず、チヤンネルカウンタ21
に設定されたチヤンネルに対応するアドレスの選
択されている1の記憶ユニツトの内容が、ゲート
回路289を介して出力用シフトレジスタ202
にクロツク205によつてシーケンシヤルに出力
される。次に、パラレル/シリアル変換器203
によつてシリアルデータがラインドライバ/レシ
ーバ200を介して多重伝送線路に送出される。 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 are not accessed from the multiplex transmission line side at addresses set by . Data is output to the multiplex transmission line as follows. First, channel counter 21
The contents of the memory unit 1 selected at the address corresponding to the channel set to
The signals are sequentially outputted by the clock 205. Next, parallel/serial converter 203
serial data is sent out to multiple transmission lines via line driver/receiver 200.
以上の様にして、チヤンネルカウンタ21は、
零チヤンネルから設定された最大チヤンネルま
で、サイクリツクに変化し、チヤンネル/アドレ
ス変換器29は、その時の設定されたチヤンネル
に対応した入出力アドレスの上位アドレスを設定
する。入力データはシリアル/パラレル変換器2
2に入力され、アドレツサブルゲート201を介
して、1ビツトずつ、RAM選択回路206で選
択された1つのRAMに入力される。 In the above manner, the channel counter 21
The channel changes cyclically from the zero channel to the set maximum channel, and the channel/address converter 29 sets the upper address of the input/output address corresponding to the set channel at that time. Input data is serial/parallel converter 2
2, 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)
に加えることにより、そのチヤンネルに対応した
入出力アドレスを記憶した絶対アドレスを求める
ことができる。この絶対アドレス(SRM+#I)
によつてチヤンネル#Iの入出力アドレスをデー
タバスに出力することができる。又、第4図bに
示す様に同様な処理によつて、チヤンネル#Iの
入出力モードをアクセスし、データバスに、入出
力モード制御信号を出力することができる。 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 address where the input/output address is stored matches the channel number. Therefore, the channel signal is used as a relative address signal, and it is used as the start address of the table (SRM).
By adding , it is possible to obtain the absolute address that stores the input/output address corresponding to that channel. This absolute address (SRM+#I)
The input/output address of channel #I can be output to the data bus. Further, as shown in FIG. 4b, the input/output mode of channel #I can be accessed by similar processing, and the input/output mode control signal can be output to the data bus.
入出力アドレス設定装置は、コンピユータ26
とコンソールパネル27とで構成されている。第
5図はコンソールパネル27を示す平面図であ
る。入出力アドレスを入力するために、キーボー
ド270が設けられており、入出力アドレスを表
示するためにアドレス表示部273、チヤンネル
を表示するためにチヤンネル表示部271が設け
られている。 The input/output address setting device is the 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.
第6図は、コンピユータ26の処理を示したフ
ローチヤートである。ステツプ100では、選択
キー275が操作されたかを判別し、操作された
場合には、ステツプ102で入力モードの変換を
行う。入力モードとは、キーボード270から入
力できる値が入出力アドレスであるか、チヤンネ
ルであるかを決めるモードであり、そのモードの
選択状態はモード表示部274において点灯表示
される。ステツプ104では、テンキー270a
が操作されたかを判別し、操作された場合には、
ステツプ106に移行し、現在の入力モードを判
別し、そのモード側の表示部に入力された値を表
示する。即ち、入出力アドレスモードである場合
には、ステツプ108で入出力アドレス表示部2
73に入力値を表示する。又チヤンネルモードで
ある場合には、ステツプ110でチヤンネル表示
部271に入力値を表示する。以下、説明を簡単
にするため、チヤンネルを基準として入出力アド
レスを設定するものとする。ステツプ110で、
最初のチヤンネル番号が入力され表示される。コ
ンピユータはステツプ100,112,116,
120をサイクリツクに実行し、キーの入力があ
るまでループしている。次に選択キー275が操
作されると、ステツプ100、ステツプ102で
入力モードが入出力アドレス側に切替り、チヤン
ネル表示部271に表示されたチヤンネルに対応
した入出力アドレスを入力できる状態となる。テ
ンキー270aを操作して、入出力アドレス表示
部273に表示する。次にチヤンネルが入力チヤ
ンネルか出力チヤンネルかを示すため、入出力モ
ードキー270b,270cを操作して、ステツ
プ114で、入出力モードを設定する。これはモ
ード表示部276に表示される。次に書込キー2
70dを操作すると、ステツプ116で判別さ
れ、ステツプ118で、チヤンネル番号から記憶
すべきアドレスを計算し、そのアドレスのRAM
291に入出力アドレスを設定する。又同様に、
入出力モードも設定する。この様にして最初のチ
ヤンネルに対応する入出力アドレスが設定され
る。次に更新キー270e,270fが操作され
るとステツプ122で選択されていない入力モー
ド側即ち、チヤンネルの表示値を+1又は−1更
新し、次のチヤンネルの入出力アドレスが設定し
得る状態とする。次に入出力アドレスを入力して
上記と同様の操作をすれば入出力アドレスが設定
される。この様に順次すべてのチヤンネルは番号
を変化させて入出力アドレスを設定することがで
きる。 FIG. 6 is a flowchart showing the processing of the computer 26. In step 100, it is determined whether the selection key 275 has been operated, and if it has been operated, the input mode is converted in step 102. The input mode is a mode that determines whether the value that can be input from the keyboard 270 is an input/output address or a channel, and the selected state of the mode is displayed by lighting on the mode display section 274. In step 104, the numeric keypad 270a
Determine whether the has been manipulated, and if so,
The process moves to step 106, where the current input mode is determined, and the input value is displayed on the display section on the mode side. That is, if it is the input/output address mode, the input/output address display section 2 is displayed in step 108.
The input value is displayed at 73. If the channel mode is selected, the input value is displayed on the channel display section 271 in step 110. Hereinafter, to simplify the explanation, it is assumed that input/output addresses are set based on channels. At step 110,
The first channel number is entered and displayed. The computer steps 100, 112, 116,
120 is executed cyclically and loops until a key is input. Next, when the selection key 275 is operated, the input mode is switched to the input/output address side in steps 100 and 102, and the input/output address corresponding to the channel displayed on the channel display section 271 can be input. The address is displayed on the input/output address display section 273 by operating the numeric keypad 270a. Next, in order to indicate whether the channel is an input channel or an output channel, the input/output mode keys 270b and 270c are operated to set the input/output mode in step 114. This is displayed on the mode display section 276. Next, write key 2
When 70d is operated, it is determined in step 116, and in step 118, the address to be stored is calculated from the channel number, and the address is stored in the RAM.
291 to set the input/output address. Similarly,
Also set the input/output mode. In this way, the input/output address corresponding to the first channel is set. Next, when the update keys 270e and 270f are operated, the display value of the unselected input mode side, that is, the channel, is updated by +1 or -1 in step 122, and the input/output address of the next channel can be set. . Next, enter the input/output address and perform the same operation as above to set the input/output address. In this way, input and output addresses can be set by sequentially changing the numbers for all channels.
上例は、チヤンネルを基準とする設定方法につ
いて説明したが、入出力アドレスを基準として、
チヤンネル番号を順次入力設定することもでき
る。 The above example explained the setting method based on the channel, but using the input/output address as the reference,
You can also input and set channel numbers sequentially.
本発明は、チヤンネル/アドレス変換装置に、
チンネル番号によつて特定されるアドレスに入出
力アドレスを記憶した記憶装置を使用している。
従つて、記憶装置のアドレスバスからチヤンネル
信号を入力すれば、そのデータバスには記憶する
入出力アドレス信号が出力され、容易にチヤンネ
ル/アドレスの変換を行うことができる。又、上
記方式であるため、集積度が高く一台の装置での
変換チヤンネル数を向上させることができる。
又、チヤンネル/入出力アドレス変換装置には、
入出力アドレス設定装置が接続されているため、
アドレスの設定、変更、を容易に行うことができ
る。
The present invention provides a channel/address translation device that includes:
A storage device is used that stores input and output addresses at addresses specified by channel numbers.
Therefore, when a channel signal is input from the address bus of the storage device, the input/output address signal to be stored is output to the data bus, and channel/address conversion can be easily performed. Further, because of the above method, the degree of integration is high and the number of conversion channels in one device can be increased.
In addition, the channel/input/output address conversion device includes
Because the input/output address setting device is connected,
You can easily set and change addresses.
第1図は、本発明の具体的な一実施例に係る多
重伝送装置のインターフエイス部の構成を示した
ブロツクダイアグラムである。第2図は制御シス
テム全体の構成を示したブロツクダイアグラムで
ある。第3図は多重伝送線路上に表われる信号波
形を示した波形図である。第4図は、実施例装置
のチヤンネル/アドレス設定RAMのデータ構造
を示した構造図である。第5図は、同実施例装置
のコンソールパネルを示した平面図である。第6
図は同実施例装置の有するコンピユータ処理を示
したフローチヤートである。
P1…リセツトパルス、P2,P4データ信
号、P6…チヤンネルカウントパルス、271…
チヤンネル表示部、272…データ表示部、27
0…キーボード。
FIG. 1 is a block diagram showing the configuration of an interface section of a multiplex transmission apparatus according to a specific embodiment of the present invention. FIG. 2 is a block diagram showing the overall configuration of the control system. FIG. 3 is a waveform diagram showing signal waveforms appearing on multiplex transmission lines. FIG. 4 is a structural diagram showing the data structure of the channel/address setting RAM of the embodiment device. FIG. 5 is a plan view showing the console panel of the same embodiment device. 6th
The figure is a flowchart showing computer processing included in the apparatus of the embodiment. P1...Reset pulse, P2, P4 data signal, P6...Channel count pulse, 271...
Channel display section, 272...Data display section, 27
0...Keyboard.
Claims (1)
多重伝送線路と、シーケンスコントローラとの間
を接続するインタフエースを備えたシーケンスコ
ントローラの多重伝送装置であつて、 前記インタフエースは、 前記多重伝送線路に接続され、該多重伝送線路
によつてデータ伝送を行うチヤンネルを決定する
カウントパルスを入力するチヤンネルカウンタ
と、 前記シーケンスコントローラと前記多重伝送線
路の間に配設された、バツフアであつて、前記シ
ーケンスコントローラのアドレスバスに接続さ
れ、入出力アドレスの指定によつてアクセスされ
るデータ記憶装置と、 前記チヤンネルに対応した前記入出力アドレス
を記憶し、アドレスバスを前記チヤンネルカウン
タに接続し、データバスを前記データ記憶装置を
アクセスするそのアドレスバスに接続した記憶装
置から成る前記チヤンネルと入出力アドレスの変
換を行うチヤンネル/アドレス変換装置と、 前記チヤンネル/アドレス変換装置に対し、該
装置へのアクセスが可能に接続され、前記チヤン
ネルに対応した前記入出力アドレスを前記チヤン
ネル/アドレス変換装置に設定する入出力アドレ
ス設定装置と、から成ることを特徴とするシーケ
ンスコントローラの多重伝送装置。[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 channel counter connected to the multiplex transmission line and inputting a count pulse for determining a channel for data transmission via the multiplex transmission line; and a buffer disposed between the sequence controller and the multiplex transmission line. a data storage device connected to the address bus of the sequence controller and accessed by specifying an input/output address; and a data storage device that stores the input/output address corresponding to the channel, and connects the address bus to the channel counter. a channel/address translation device for translating input/output addresses with said channel comprising a storage device connected to said address bus for accessing said data storage device; A multiplex transmission device for a sequence controller, comprising: an input/output address setting device that is connected to allow access to the device and sets the input/output address corresponding to the channel to the channel/address conversion device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25004884A JPS61128645A (en) | 1984-11-27 | 1984-11-27 | Multiple transmitting device of sequence controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25004884A JPS61128645A (en) | 1984-11-27 | 1984-11-27 | Multiple transmitting device of sequence controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61128645A JPS61128645A (en) | 1986-06-16 |
| JPH0339420B2 true JPH0339420B2 (en) | 1991-06-13 |
Family
ID=17202033
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25004884A Granted JPS61128645A (en) | 1984-11-27 | 1984-11-27 | Multiple transmitting device of sequence controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61128645A (en) |
-
1984
- 1984-11-27 JP JP25004884A patent/JPS61128645A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61128645A (en) | 1986-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0339420B2 (en) | ||
| US4202042A (en) | Digital to analog interface for simultaneous analog outputs | |
| JPH0143322B2 (en) | ||
| JPS6051319B2 (en) | Control signal transmission method in button telephone equipment | |
| JPH0332938B2 (en) | ||
| JPH0472237B2 (en) | ||
| JPH0712233B2 (en) | Remote control signal generator | |
| JPH0137919B2 (en) | ||
| CN214338027U (en) | Matrix switching circuit of computer video line-field synchronizing signal based on CPLD | |
| JPS6188626A (en) | Time-division multiple signal generating circuit | |
| JP3534106B2 (en) | Electronics | |
| JP2626172B2 (en) | Distributed multiplexer for transmitting and receiving video signals | |
| SU618861A1 (en) | Adaptive switching apparatus | |
| JPH074009Y2 (en) | Ultrasonic diagnostic equipment | |
| SU1605279A2 (en) | Device for displaying information on gas-discharge indicator board | |
| JPH028321B2 (en) | ||
| JPH0620195B2 (en) | Speed conversion circuit | |
| JPH0215112B2 (en) | ||
| JPS61280145A (en) | Data exchange and connection system | |
| JPS6154236B2 (en) | ||
| JPH02134099A (en) | Address setting device for terminal equipment for remote monitor control | |
| JPH04367907A (en) | Data input system for numerical controller | |
| SU962859A1 (en) | Apparatus for program control of group of objects | |
| SU809301A1 (en) | Device for shaping and transmitting messages | |
| JP3101840B2 (en) | Data signal switching method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |