JPH02125304A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH02125304A
JPH02125304A JP27740788A JP27740788A JPH02125304A JP H02125304 A JPH02125304 A JP H02125304A JP 27740788 A JP27740788 A JP 27740788A JP 27740788 A JP27740788 A JP 27740788A JP H02125304 A JPH02125304 A JP H02125304A
Authority
JP
Japan
Prior art keywords
signal
signal transmission
signals
identification means
incoming order
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
JP27740788A
Other languages
Japanese (ja)
Inventor
Tetsuo Tsunoda
角田 哲男
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP27740788A priority Critical patent/JPH02125304A/en
Publication of JPH02125304A publication Critical patent/JPH02125304A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To reduce the labor of system operation by detecting the incoming order of signals sent from signal lines, whose signal transmission systems are known, by an incoming order detecting means and automatically selecting identification means of reception signals in accordance with detection results by a control means. CONSTITUTION:Plural signal identification means 100 corresponding to respective signal transmission systems which individually receive signals transmitted through plural signal transmission lines different in signal transmission system and can identify contents of received signals, an incoming order detecting means 200 which detects the incoming order of respective signals, and a control means 300 which instructs the operation start to only the identification means 100 corresponding to the signal transmission system of the first incoming signal out of plural identification means 100 in accordance with detection results are provided. The incoming order of signals sent from signal lines whose signal transmission systems are known is detected by an incoming order detecting means 200, and the control means 300 automatically selects identification means 100 of reception signals in accordance with detection results. Thus, the labor of the system operation of a programmable controller is reduced.

Description

【発明の詳細な説明】 【産業上の利用分野】 本発明は、プログラマブルコントローラに関し、特に伝
送方式の異なる複数の信号線を信号の着信順に自動選択
するプログラマブルコントローラに関する。 [従来の技術1 従来のプログラマブルコントローラは制御対象機器とシ
リアル信号伝送方式で信号授受を行い、受信した信号に
ついてはパラレル信号に変換した後、演算処理を行って
いる。このようなプログラマブルコントローラに用いら
れているシリアル信号伝送方式については国際規格やメ
ーカーにより定めた通信規格などが複数知られている。 ところが信号伝送方式が異なる複数の制御対象機器をプ
ログラマブルコントローラとを信号線で接続する場合、
プログラマブルコントローラ側では中央演算処理装置(
CPU )がその伝送方式に応じて各識別プログラムを
実行してパラレル変換された信号の数値データ、制御命
令を判別している。 [発明が解決しようとする課題] しかしながら、従来のプログラマブルコントローラのC
PIJ自体は受信した信号がどの信号伝送方式で送られ
てきたかは判別できないので、オペレータが切り換えス
イッチ等で信号伝送方式を指示入力しなければならなか
った。 その結果、オペレータが信号伝送方式を誤入力すると、
システムが誤動作したり制御対象機器との間の信号線が
破壊され、システムを停止しなければならないという解
決すべき課題が従来のプログラマブルコントローラには
あった。 そこで、本発明の目的はこのような不具合を解消し、信
号伝送方式の異なる制御対象機器からの送信信号を自動
受信することができるプログラマブルコントローラをt
是イ共することにある。 [課題を解決するためあ手段] このような目的を達成するために、本発明は、信号伝送
方式が異なる複数の信号伝送路を通じて伝送された各信
号を個別に受信し、受信した信号の内容を識別可能な各
信号伝送方式に対応の複数の信号識別手段と、各信号の
着信順を検出する着信順検出手段と、着信順検出手段に
より検出された検出結果に応じて、複数の識別手段の中
の最先着の信号と対応する信号伝送方式の識別手段に対
してのみ、動作開始指示を行う制御手段とを具えたこと
を特徴とする。 [作 用] 本発明は、信号伝送方式が判明している信号線から送ら
れてきた信号の着信順を着信順検出手段により検出し、
その検出結果によって受信信号の識別手段を制御手段が
自動選択するようにしたので、オペレータは従来のよう
にオペレータによる信号伝送方式を指示入力する必要が
なくなり、その結果、プログラマブルコントローラのシ
ステム操作の労力が低減される。 [実施例1 以下、図面を参照して、本発明実施例を詳細に説明する
。 第1図は本発明実施例の基本構成を示す。 第1図において、100は信号伝送方式が異なる複数の
信号伝送路を通じて伝送された各信号を個別に受信し、
受信した信号の内容を識別可能な各前記信号伝送方式に
対応の複数の信号識別手段である。 200は前記各信号の着信順を検出する着信順検出手段
である。 300は該着信順検出手段により検出された検出結果に
応じて、前記複数の識別手段の中の最先着の前記信号と
対応する信号伝送方式の前記識別手段に対してのみ、動
作開始指示を行う制御手段である。 第2図は本発明実施例の本発明に関わる具体的な回路構
成を示す。 第2図において、1は各信号伝送方式で送られてきた信
号の数値や制御命令を判別するCPUである。CPIJ
 1はリードオンリメモリ(ROM)  4に格納され
た、各信号伝送方式毎の判別プログラムを実行すること
によフて上記信号内容の識別処理を行う。 これら各信号方式の識別処理プログラムは公知であるの
で、詳細な説明を省略する。 2は制御対象機器から第1〜第3の信号線A1〜A3を
介して送られてきた信号の着信順を判別する割り込みコ
ントローラである。割り込みコントローラ2はCPu1
に対して一番早く着信した信号線の種類を知らせる。本
例ではCPU 1の第1〜第3の割り込み入力端子と割
り込みコントローラ2とを接続し、また、第1〜第3割
り込み入力端子をそれぞれ第1の信号線21〜第3の信
号線fL3に対応づけしている。 3はシリアルパラレル(S/P)変換器3−1およびオ
ア回路3−2からなる人力インターフェイス(Ilo)
である。l103は第1〜第3の信号線をオア回路3−
2に接続し、オア回路を介して第1〜第3の信号線から
伝送されたシリアル信号をS/P変換器3−1によりパ
ラレル信号に変換する。l103の出力信号は、データ
バス15を介して、CPu1に出力され、cpu tに
より判別される。 4はリードオンリメモリ(ROM)であり、CPII 
1が実行する複数制御手順、すなわち第3図に示す制御
手順および各信号方式毎の判別プログラムを予め記憶し
ている。 5はランダムアクセスメモリ(RAM)であり、l10
3から入力した信号の識別内容結果を一時記憶する。R
OM 4およびRAM 5はデータバス15゜アドレス
バス互4を共有し、cpu tの制御の基にデータの読
み書きが行なわれる。 次に本実施例の動作を第3図示のフローチャートを参照
して説明する。 第3図において、例゛えば、第1の信号線J11に信号
が伝送されると、割り込みコントローラ2が(:PU 
1の第1の割り込み入力端子INT 1に割り込み信号
を出力する。cpu iはこの割り込み入力を検出する
と、ROM 4から第1の(8分線λ1の信号伝送方式
と対応する信号識別プログラムを実行する。すなわち、
CPU 1はl103から順次入力される伝送信号から
制御命令等、その内容を識別した後、その識別結果をR
AM 5に一時記憶する。(ステップS1→5ll)。 また、第2または第3の(X分線12.ρ3からの信号
をプログラマブルコントローラが受信したときは、割り
込みコントローラ2がcpu iの対応する割り込み入
力端子に割り込み信号を出力するので、同様にCPU 
1は信号伝送方式と対応する制御プログラムを実行する
ことができる。また伝送信号の受信終了後CPt11は
割り込みコントローラ2をリセットし、初期状態に戻し
て、次の受信を待つ。 本実施例では信号方式が予め判明している信号線の着信
順を割り込みコントローラ2により検出するようにした
ので、CPU 1は割り込みコントローラ2からの判別
結果により受信した信号がどの信号方式であるかを自動
検出することができる。 本実施例の応用形態としては次のことが考えられる。 l)本実施例では、信号伝送方式の異なる複数のシリア
ル信号の着信順を集積化された割り込みコントローラと
呼ばれる公知の回路により判別するようにしているが、
フリップフロップおよび論理回路により着信順判別回路
を構成してもよい。 2)本実施例では、CPt11が各信号伝送方式におけ
る伝送信号の内容を識別する例を示したが、それぞれ専
用の識別回路で信号内容を識別してもよく、この場合は
、割り込みコントローラ2の判別結果に応じて上記識別
回路を選択するように構成する。 [発明の効果] 以上、説明したように、本発明では、信号伝送方式が判
明している信号線から送られてきた信号の着信順を着信
順検出手段により検出し、その検出結果によフて受信信
号の識別手段を制御手段が自動選択するようにしたので
、オペレータは従来のようにオペレータによる信号伝送
方式を指示入力する必要がなくなり、その結果、プログ
ラマブルコントローラのシステム操作の労力が低減され
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a programmable controller, and more particularly to a programmable controller that automatically selects a plurality of signal lines with different transmission methods in the order in which signals arrive. [Prior Art 1] A conventional programmable controller exchanges signals with a device to be controlled using a serial signal transmission method, and performs arithmetic processing on the received signals after converting them into parallel signals. Regarding serial signal transmission methods used in such programmable controllers, there are several known international standards and communication standards established by manufacturers. However, when connecting multiple controlled devices with different signal transmission methods to a programmable controller using signal lines,
On the programmable controller side, the central processing unit (
The CPU (CPU) executes each identification program according to the transmission method to determine the numerical data and control commands of the parallel-converted signal. [Problem to be solved by the invention] However, the conventional programmable controller C
Since the PIJ itself cannot determine which signal transmission method the received signal was sent using, the operator had to input an instruction for the signal transmission method using a changeover switch or the like. As a result, if the operator incorrectly enters the signal transmission method,
Conventional programmable controllers have had issues that need to be resolved, such as system malfunctions or signal lines between the control target equipment being destroyed and the system having to be stopped. Therefore, the purpose of the present invention is to eliminate such problems and provide a programmable controller that can automatically receive transmission signals from controlled devices using different signal transmission methods.
It's all about working together. [Means for Solving the Problem] In order to achieve such an object, the present invention individually receives each signal transmitted through a plurality of signal transmission paths using different signal transmission methods, and analyzes the contents of the received signal. a plurality of signal identification means corresponding to each signal transmission method capable of identifying the signals, an arrival order detection means for detecting the arrival order of each signal, and a plurality of identification means according to the detection result detected by the arrival order detection means. The present invention is characterized by comprising a control means for issuing an operation start instruction only to the identification means of the signal transmission method corresponding to the earliest arriving signal among the signals. [Function] The present invention detects the arrival order of signals sent from a signal line whose signal transmission method is known by an arrival order detection means,
Since the control means automatically selects the means of identifying the received signal based on the detection result, the operator no longer needs to input instructions for the signal transmission method as in the past, and as a result, the effort required to operate the programmable controller system is reduced. is reduced. [Embodiment 1] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows the basic configuration of an embodiment of the present invention. In FIG. 1, 100 individually receives each signal transmitted through a plurality of signal transmission paths with different signal transmission methods,
A plurality of signal identification means corresponding to each of the signal transmission methods are capable of identifying contents of received signals. Reference numeral 200 denotes an arrival order detection means for detecting the arrival order of each of the signals. 300 instructs only the identification means of the signal transmission system corresponding to the signal that arrives first among the plurality of identification means to start operation according to the detection result detected by the arrival order detection means. It is a control means. FIG. 2 shows a specific circuit configuration related to the present invention in an embodiment of the present invention. In FIG. 2, reference numeral 1 denotes a CPU that determines the numerical values and control commands of signals sent by each signal transmission method. CPIJ
Reference numeral 1 denotes a read-only memory (ROM) 4. By executing a discrimination program for each signal transmission method stored in a read-only memory (ROM) 4, the above-mentioned signal content discrimination processing is performed. Since the identification processing programs for each of these signaling systems are well known, detailed explanations will be omitted. Reference numeral 2 denotes an interrupt controller that determines the order of arrival of signals sent from the controlled equipment via the first to third signal lines A1 to A3. Interrupt controller 2 is CPU1
Informs the type of signal line that received the first call. In this example, the first to third interrupt input terminals of the CPU 1 are connected to the interrupt controller 2, and the first to third interrupt input terminals are connected to the first signal line 21 to the third signal line fL3, respectively. It is matched. 3 is a human interface (Ilo) consisting of a serial-parallel (S/P) converter 3-1 and an OR circuit 3-2.
It is. l103 connects the first to third signal lines to the OR circuit 3-
2, and the serial signals transmitted from the first to third signal lines via the OR circuit are converted into parallel signals by the S/P converter 3-1. The output signal of l103 is output to CPU1 via data bus 15, and determined by CPU t. 4 is read-only memory (ROM), CPII
1, the control procedure shown in FIG. 3 and a discrimination program for each signal system are stored in advance. 5 is random access memory (RAM), l10
The identification content results of the signals input from 3 are temporarily stored. R
The OM 4 and the RAM 5 share a data bus 15° and an address bus 4, and read and write data under the control of the CPU. Next, the operation of this embodiment will be explained with reference to the flowchart shown in the third figure. In FIG. 3, for example, when a signal is transmitted to the first signal line J11, the interrupt controller 2 (:PU
INT1 outputs an interrupt signal to the first interrupt input terminal INT1. When the CPU i detects this interrupt input, it executes the signal identification program corresponding to the signal transmission method of the first (8-segment line λ1) from the ROM 4. In other words,
CPU 1 identifies the contents such as control commands from the transmission signals sequentially input from l103, and then sends the identification results to R.
Temporarily stored at 5 AM. (Step S1→5ll). Also, when the programmable controller receives a signal from the second or third (X-segment line 12.ρ3), the interrupt controller 2 outputs an interrupt signal to the corresponding interrupt input terminal of CPU i,
1 can execute a control program corresponding to the signal transmission method. Further, after receiving the transmission signal, the CPt11 resets the interrupt controller 2, returns it to the initial state, and waits for the next reception. In this embodiment, the interrupt controller 2 detects the arrival order of signal lines whose signal formats are known in advance, so the CPU 1 determines which signal format the received signal is based on the determination result from the interrupt controller 2. can be automatically detected. Possible applications of this embodiment are as follows. l) In this embodiment, the arrival order of a plurality of serial signals of different signal transmission methods is determined by a known circuit called an integrated interrupt controller.
The arrival order determination circuit may be configured with a flip-flop and a logic circuit. 2) In this embodiment, an example was shown in which the CPt 11 identifies the content of the transmission signal in each signal transmission method, but the signal content may be identified by a dedicated identification circuit for each, and in this case, the interrupt controller 2 The configuration is such that the identification circuit is selected according to the determination result. [Effects of the Invention] As explained above, in the present invention, the arrival order of signals sent from a signal line whose signal transmission method is known is detected by the arrival order detection means, and the reception order is detected based on the detection result. Since the control means automatically selects the identification means for the received signal, the operator does not have to input instructions for the signal transmission method as in the past, and as a result, the effort required to operate the programmable controller system is reduced. Ru.

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

第1図は本発明実施例の基本構成を示すブロック図、 第2図は本発明実施例の具体的な回路構成を示す回路図
、 第3図は第2図に示すCPt11が実行する制御手順を
示すフローチャートである。 1・・・CPt1  。 2・・・割り込みコントローラ、 3・・・Ilo、 4・・・ROM 。 5 ・・・RAIA  。
FIG. 1 is a block diagram showing the basic configuration of an embodiment of the present invention, FIG. 2 is a circuit diagram showing a specific circuit configuration of an embodiment of the present invention, and FIG. 3 is a control procedure executed by the CPt11 shown in FIG. 2. It is a flowchart which shows. 1...CPt1. 2...Interrupt controller, 3...Ilo, 4...ROM. 5...RAIA.

Claims (1)

【特許請求の範囲】 1)信号伝送方式が異なる複数の信号伝送路を通じて伝
送された各信号を個別に受信し、受信した信号の内容を
識別可能な各前記信号伝送方式に対応の複数の信号識別
手段と、 前記各信号の着信順を検出する着信順検出手段と、 該着信順検出手段により検出された検出結果に応じて、
前記複数の識別手段の中の最先着の前記信号と対応する
信号伝送方式の前記識別手段に対してのみ、動作開始指
示を行う制御手段と を具えたことを特徴とするプログラマブルコントローラ
[Claims] 1) A plurality of signals corresponding to each of the signal transmission methods that individually receive each signal transmitted through a plurality of signal transmission paths with different signal transmission methods, and can identify the contents of the received signals. an identification means; an arrival order detection means for detecting the arrival order of each of the signals; and according to a detection result detected by the arrival order detection means,
A programmable controller characterized in that the programmable controller comprises a control means for issuing an operation start instruction only to the identification means of a signal transmission system corresponding to the signal that arrives first among the plurality of identification means.
JP27740788A 1988-11-04 1988-11-04 Programmable controller Pending JPH02125304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27740788A JPH02125304A (en) 1988-11-04 1988-11-04 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27740788A JPH02125304A (en) 1988-11-04 1988-11-04 Programmable controller

Publications (1)

Publication Number Publication Date
JPH02125304A true JPH02125304A (en) 1990-05-14

Family

ID=17583116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27740788A Pending JPH02125304A (en) 1988-11-04 1988-11-04 Programmable controller

Country Status (1)

Country Link
JP (1) JPH02125304A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55150635A (en) * 1979-05-12 1980-11-22 Meidensha Electric Mfg Co Ltd Data transmitting unit
JPS62118655A (en) * 1985-11-19 1987-05-30 Fujitsu Ltd Protocol conversion and integration processing equipment
JPS62131355A (en) * 1985-12-04 1987-06-13 Hitachi Ltd Logic multiplex transmission equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55150635A (en) * 1979-05-12 1980-11-22 Meidensha Electric Mfg Co Ltd Data transmitting unit
JPS62118655A (en) * 1985-11-19 1987-05-30 Fujitsu Ltd Protocol conversion and integration processing equipment
JPS62131355A (en) * 1985-12-04 1987-06-13 Hitachi Ltd Logic multiplex transmission equipment

Similar Documents

Publication Publication Date Title
JPH0141075B2 (en)
JPH02125304A (en) Programmable controller
US5077684A (en) System for accurately informing each of adapters of its packaged location
JPS61127251A (en) Subscriber protocol processing system
JP2957354B2 (en) Signal transfer method
JP2642489B2 (en) Multi-port switching control method
JP2687548B2 (en) Signal repeater
JPS61242142A (en) Communication control system
JPS60245001A (en) Multiplexing controller
JP2500006Y2 (en) Programmable controller system
JPS63273102A (en) Remote input and output controller
JPH04291430A (en) Program tracing system
JPS63248255A (en) On-line data transmission system
JPS6046639A (en) Switching network communication control system
JPH03288205A (en) Programmable controller system
JPS62182960A (en) Detecting device for connection of input/output control device
JPH03232397A (en) Backup switching system
JPH033054A (en) Method for preventing communication data from being missed
JPS621396A (en) Key telephone equipment
JPH06290128A (en) Communication switching system of controller
JPS61169045A (en) Line terminal device
JPS62160848A (en) Data transmission control equipment
JPH08263400A (en) Communication control system
JPS60233957A (en) Data transmission control system
JPS61127252A (en) Subscriber protocol processing system