JP3022906B2 - Communication method of programmable controller - Google Patents

Communication method of programmable controller

Info

Publication number
JP3022906B2
JP3022906B2 JP4294278A JP29427892A JP3022906B2 JP 3022906 B2 JP3022906 B2 JP 3022906B2 JP 4294278 A JP4294278 A JP 4294278A JP 29427892 A JP29427892 A JP 29427892A JP 3022906 B2 JP3022906 B2 JP 3022906B2
Authority
JP
Japan
Prior art keywords
programmable controller
input
cpu
wait state
wait
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 - Fee Related
Application number
JP4294278A
Other languages
Japanese (ja)
Other versions
JPH06149317A (en
Inventor
冨美夫 池嶋
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 JP4294278A priority Critical patent/JP3022906B2/en
Publication of JPH06149317A publication Critical patent/JPH06149317A/en
Application granted granted Critical
Publication of JP3022906B2 publication Critical patent/JP3022906B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、入出力ユニットを介し
て制御対象機器との間で信号伝送を行なうプログラマブ
ルコントローラの通信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication method of a programmable controller for transmitting a signal to a device to be controlled via an input / output unit.

【0002】[0002]

【従来の技術】入出力ユニットを介して制御対象機器か
ら送られる情報信号をプログラマブルコントローラで受
信する場合、通常、プログラマブルコントローラ内の中
央演算処理装置(CPU)から入出力ユニットに対して
情報信号を指示するアドレス信号および読出し(リード
信号)を送信し、入出力ユニット側ではアドレス信号に
対応の情報信号をプログラマブルコントローラに対して
応答送信する。このとき、プログラマブルコントローラ
側と入出力装置側の同期を取るために、入出力装置側で
は、通信の可否を示すレディ(READY)信号、換言
すると、プログラマブルコントローラ側をウェイト状態
(待機状態,停止状態とも称す)に設定するためのRE
ADY信号をプログラマブルコントローラに送信する。
2. Description of the Related Art When an information signal sent from a device to be controlled via an input / output unit is received by a programmable controller, the information signal is usually sent from a central processing unit (CPU) in the programmable controller to the input / output unit. The designated address signal and read (read signal) are transmitted, and the information signal corresponding to the address signal is transmitted as a response to the programmable controller on the input / output unit side. At this time, in order to synchronize the programmable controller side and the input / output device side, the input / output device side sets a ready (READY) signal indicating whether communication is possible, in other words, sets the programmable controller side to a wait state (standby state, stop state). RE for setting to
Send the ADY signal to the programmable controller.

【0003】図3によって読出(書込)シーケンスとR
EADY信号の関係を説明する。
FIG. 3 shows a read (write) sequence and R
The relationship between the EADY signals will be described.

【0004】ここでは、T1およびT2の2ステートで
1回のリード(ライト)サイクルが完了できるCPUを
使ったとする。この図の中でREADY信号だけが入出
力ユニットからプログラマブルコントローラのCPUへ
入力される信号である。CPUは動作をはじめるとRE
ADY信号をサンプリングする。READY信号がウェ
イト状態になっていると判別した場合、CPUは、ウェ
イトステートを挿入する。さらにこのウェイトステート
の中でもREADY信号のサンプリングを行ない、RE
ADY信号によりウェイト状態が続いていると判別する
と、CPUは次もウェイトステートを挿入する。REA
DY信号がレディー状態になっていると判別した場合
は、CPUは図3のT2ステートに移行して終了シーケ
ンスを行なう。
Here, it is assumed that a CPU capable of completing one read (write) cycle in two states T1 and T2 is used. In this figure, only the READY signal is a signal input from the input / output unit to the CPU of the programmable controller. When the CPU starts operation, RE
The ADY signal is sampled. When determining that the READY signal is in the wait state, the CPU inserts a wait state. Further, the READY signal is sampled even in this wait state,
When the CPU determines that the wait state is continued by the ADY signal, the CPU inserts the wait state again. REA
When it is determined that the DY signal is in the ready state, the CPU shifts to the T2 state in FIG. 3 and performs an end sequence.

【0005】プログラマブルコントローラにおいては、
入出力ユニットを接続する並列バスが数10mになる場
合もあり、入出力ユニットからのREADY信号が伝送
路の遅れによりウェイトステートを入れるかどうかを判
定するサンプリングタイミングまでにウェイト状態にな
らないことがある。このため、従来技術では、プログラ
マブルコントローラのCPUがアクセスを開始してから
入出力ユニットからのREADY信号がウェイト状態に
なるまでの間、強制的にウェイト状態を作り、その後は
READY信号をCPUに接続していた。この状態を図
4に示す。
In a programmable controller,
The parallel bus connecting the I / O units may be several tens of meters long, and the READY signal from the I / O unit may not enter the wait state before the sampling timing for determining whether to enter the wait state due to a delay in the transmission path. . For this reason, in the prior art, a wait state is forcibly created from when the CPU of the programmable controller starts access until the READY signal from the input / output unit enters the wait state, and then the READY signal is connected to the CPU. Was. This state is shown in FIG.

【0006】[0006]

【発明が解決しようとする課題】従来この種、装置で
は、入出力ユニットのREADY信号がプログラマブル
コントローラに到着するまで、プログラマブルコントロ
ーラのCPUは強制的なウェイト(待機)状態を続け、
さらに、入出力ユニット側のウェイトの指示が加わるの
で、プログラマブルコントローラと入出力ユニットの間
の信号伝送路が長い程、上記ウェイト時間も長くなる。
このため、プログラマブルコントローラの全体の処理応
答も遅れてしまうという不具合があった。
Conventionally, in this type of device, the CPU of the programmable controller keeps forcibly waiting until the READY signal of the input / output unit reaches the programmable controller.
Further, since a weight instruction on the input / output unit side is added, the longer the signal transmission path between the programmable controller and the input / output unit, the longer the wait time.
For this reason, there is a problem that the overall processing response of the programmable controller is also delayed.

【0007】そこで、本発明は、上述の点に鑑みて、信
号伝送路の長いプログラマブルコントローラについての
処理応答特性を改善するプログラマブルコントローラの
通信方法を提供することを第1の目的とする。
In view of the above, it is a first object of the present invention to provide a communication method of a programmable controller which improves processing response characteristics of a programmable controller having a long signal transmission path.

【0008】また、一部の入出力ユニット側が故障し、
READY信号が発生したままでいると、プログラマブ
ルコントローラはウェイト状態を続けてしまうので、制
限対象機器全体に対するシーケンス制御が中断し、故障
原因の診断等の処理ができないという不具合も従来装置
にはあった。
Further, some of the input / output units are broken down,
If the READY signal continues to be generated, the programmable controller continues to wait, so that the sequence control for the entire device to be restricted is interrupted, and there is a problem with the conventional device that it is not possible to perform processing such as diagnosis of the cause of a failure. .

【0009】そこで、本発明は、入出力ユニット側の異
常をREADY信号により検知し、プログラマブルコン
トローラのウェイト状態を自動解除することの可能なプ
ログラマブルコントローラの通信方法を提供することを
第2の目的とする。
Accordingly, a second object of the present invention is to provide a communication method of a programmable controller capable of detecting an abnormality on the input / output unit side by a READY signal and automatically canceling the wait state of the programmable controller. I do.

【0010】[0010]

【課題を解決するための手段】このような第1目的を達
成するために、請求項1の発明は、プログラマブルコン
トローラと制御対象機器との間で入出力ユニットを介し
て情報信号の転送を行ない、前記情報信号の転送に関連
して、前記入出力ユニットから前記プログラマブルコン
トローラに対してウェイトの指示が到着するまで前記プ
ログラマブルコントローラ側自身で強制的なウェイト状
態を自動設定するプログラマブルコントローラの通信方
法において、前記プログラマブルコントローラは、前記
強制的なウェイト状態を続ける時間に時間制限を設定
し、前記プログラマブルコントローラの強制的なウェイ
ト状態を計時し、その計時結果が前記時間制限を超えた
場合は、前記プログラマブルコントローラは前記強制的
なウェイト状態を解除することを特徴とする。
In order to achieve the first object, according to the first aspect of the present invention, an information signal is transferred between a programmable controller and a device to be controlled via an input / output unit. In connection with the transfer of the information signal, the programmable controller side automatically sets a forced wait state on the programmable controller side itself until a wait instruction arrives from the input / output unit to the programmable controller. The programmable controller sets a time limit to the time during which the forced wait state is continued, measures the forced wait state of the programmable controller, and, if the timed result exceeds the time limit, sets the programmable limit. The controller releases the forced wait state. Characterized in that it.

【0011】第2目的を達成するために、請求項2の発
明は、プログラマブルコントローラと制御対象機器との
間で入出力ユニットを介して情報信号の転送を行ない、
前記情報信号の転送に関連して、前記入出力ユニットか
ら前記プログラマブルコントローラに対してウェイトの
指示が到着するまで前記プログラマブルコントローラ側
自身で強制的なウェイト状態を自動設定するプログラマ
ブルコントローラの通信方法において、前記プログラマ
ブルコントローラは、前記入出力ユニット側のウェイト
の指示が発生している時間を計時し、その計時時間が予
め定めた時間を超えた場合には、前記入出力側のウェイ
トの指示により設定された当該プログラマブルコントロ
ーラのウェイト状態を解除することを特徴とする。
According to a second aspect of the present invention, an information signal is transferred between a programmable controller and a device to be controlled via an input / output unit.
In connection with the transfer of the information signal, a programmable controller communication method for automatically setting a forced wait state on the programmable controller side itself until a wait instruction arrives from the input / output unit to the programmable controller, The programmable controller measures the time during which the weight instruction on the input / output unit side occurs, and is set by the weight instruction on the input / output side when the counted time exceeds a predetermined time. And releasing the programmable controller from the wait state.

【0012】[0012]

【作用】請求項1の発明では強制ウェイト時間に制限を
設け、プログラマブルコントローラのウェイト状態を解
除する。
According to the first aspect of the present invention, the forced wait time is limited and the wait state of the programmable controller is released.

【0013】請求項2の発明では、入出力ユニット側の
プログラマブルコントローラへのウェイト指示時間に制
限を設け、プログラマブルコントローラのウェイト状態
を解除する。
According to the second aspect of the present invention, the wait instruction time to the programmable controller on the input / output unit side is limited, and the wait state of the programmable controller is released.

【0014】[0014]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0015】本発明の説明に先立って、プログラマブル
コントローラのシステム構成の一例を図2により説明す
る。
Prior to the description of the present invention, an example of a system configuration of a programmable controller will be described with reference to FIG.

【0016】図2において、プログラマブルコントロー
ラ本体6(以下、CPUユニットと称す)は入出力ユニ
ット7,8と並列バス9により接続されている。入出力
ユニット7はシステム設置時に接続された入出力ユニッ
トであり、以下、基本ユニットと称す。入出力ユニット
8はシステム拡張時に増設された入出力ユニットであ
り、増設ユニットと称す。
In FIG. 2, a programmable controller main body 6 (hereinafter referred to as a CPU unit) is connected to input / output units 7 and 8 by a parallel bus 9. The input / output unit 7 is an input / output unit connected when the system is installed, and is hereinafter referred to as a basic unit. The input / output unit 8 is an input / output unit added when the system is expanded, and is referred to as an additional unit.

【0017】基本ユニット7,増設ユニット8共に従来
と同様の機器を用いることができる。すなわち、並列バ
ス9に接続された複数の入出力(I/O)モジュールは
制御対象機器内の各構成部と接続し、構成部とCPUユ
ニット6との間で授受する信号のレベル変換を行なう。
また、I/Oモジュール5側で通信の可否を示すREA
DY信号を発生する。
As the basic unit 7 and the extension unit 8, the same equipment as in the prior art can be used. That is, a plurality of input / output (I / O) modules connected to the parallel bus 9 are connected to each component in the device to be controlled, and perform level conversion of signals transmitted and received between the component and the CPU unit 6. .
REA indicating whether communication is possible on the I / O module 5 side
Generate the DY signal.

【0018】CPUユニット6内では、CPU1、RO
M(リードオンリメモリ)2、RAM(ランダムアクセ
スメモリ)3および、本発明に関わるウェイト調停回路
4が内部バスに接続されている。
In the CPU unit 6, the CPU 1, the RO,
An M (read only memory) 2, a RAM (random access memory) 3, and a wait arbitration circuit 4 according to the present invention are connected to an internal bus.

【0019】CPU1は、ROM2に格納されたシステ
ムプログラムに従って、システム全体の制御を行なう。
RAM3はCPU1の演算に用いるデータを一時格納す
る。ウェイト調停回路4はCPU1のウェイト状態の経
過時間を計時し、予め定めた一定時間を経過した場合は
CPU1のウェイト状態を解除する。
The CPU 1 controls the entire system according to a system program stored in the ROM 2.
The RAM 3 temporarily stores data used for the operation of the CPU 1. The wait arbitration circuit 4 counts the elapsed time of the wait state of the CPU 1 and releases the wait state of the CPU 1 when a predetermined time has elapsed.

【0020】ウェイト調停回路4の回路構成の一例を図
1に示す。図1において、レジスタ50は、強制ウェイ
ト(入出力側からREADY信号が到着するまでの間、
CPU1を強制的にウェイト状態に設定しておくこと)
の時間値を記憶する。
FIG. 1 shows an example of the circuit configuration of the weight arbitration circuit 4. In FIG. 1, a register 50 stores a forced wait (until a READY signal arrives from the input / output side).
CPU1 must be forced to wait state)
Is stored.

【0021】レジスタ50の格納値はCPU1から、デ
ータバスを介して更新、すなわち、可変設定可能であ
る。
The value stored in the register 50 can be updated from the CPU 1 via the data bus, that is, variably set.

【0022】タイマ52はCPU1のアクセス開始から
レジスタ50の格納値の示す時間だけ強制ウェイト用の
READY信号を発生する。ウェイト状態打切り用タイ
マ53は、基本ユニット7から送信されるREADY信
号を監視し、このREADY信号が一定時間通信不可
(CPU1に対してウェイト指示)を示しているときに
その一定時間後、ウェイトの解除を示すREADY信号
を発生する。状態打切用タイマ53の計時する上記一定
時間はCPU1によりラッチ51に書き込まれる。
The timer 52 generates a READY signal for forced wait for the time indicated by the value stored in the register 50 from the start of access by the CPU 1. The wait state termination timer 53 monitors the READY signal transmitted from the basic unit 7, and when the READY signal indicates that communication is not possible for a certain period of time (a wait instruction to the CPU 1), a wait period after a certain period has elapsed. A READY signal indicating release is generated. The above-mentioned fixed time counted by the state termination timer 53 is written into the latch 51 by the CPU 1.

【0023】ゲート54は、基本ユニット7,タイマ5
2のウェイト状態指示のREADY信号およびウェイト
状態打切り用タイマ53のウェイト解除指示のREAD
Y信号を予め定めた優先順に従ってCPU1に転送す
る。
The gate 54 includes the basic unit 7, the timer 5,
READY signal for instructing wait state 2 and READ for instructing wait release of timer 53 for terminating wait state
The Y signal is transferred to the CPU 1 according to a predetermined priority order.

【0024】以上のようなタイマ回路60が基本ユニッ
ト7用および増設ユニット8用にそれぞれ設けられセレ
クタ55に接続されている。
The above-described timer circuits 60 are provided for the basic unit 7 and the extension unit 8, respectively, and are connected to the selector 55.

【0025】セレクタ55は、基本ユニット7又は増設
ユニット8のいずれかのユニットがCPU1に選択され
ているときに、そのユニットもしくは対応のタイマ回路
からのREADY信号をCPU1に転送する。
When one of the basic unit 7 and the extension unit 8 is selected by the CPU 1, the selector 55 transfers a READY signal from the unit or the corresponding timer circuit to the CPU 1.

【0026】このような回路における、ウェイト動作を
図1,図2を参照しながら説明する。
The wait operation in such a circuit will be described with reference to FIGS.

【0027】(1)初期処理 システム起動時に、CPU1は、レジスタ50には基本
ユニット7用のウェイト時間値、ラッチ51には拡張ユ
ニット8用のウェイト時間値を書き込む。
(1) Initial Processing When the system is started, the CPU 1 writes a wait time value for the basic unit 7 into the register 50 and a wait time value for the extension unit 8 into the latch 51.

【0028】(2)システム運転 CPUユニット6のCPU1は基本ユニット7および拡
張ユニット8の各I/Oモジュール5に対してアドレス
指定し、制御信号読出しのためのリード信号を発生する
(図3の(B)のT1に相当する)。このアドレス信号
をウェイト調停回路4内不図示のデコード回路等により
検知すると、アドレス信号の示す入出力モジュールに対
応のタイマ回路が選択され、CPU1のリード信号*R
Dの発生に応じて、図1のタイマ52が強制ウェイト指
示のREADY信号(レベルオフ)を一定時間発生す
る。この信号はゲート54を介してCPU1に転送され
る。
(2) System Operation The CPU 1 of the CPU unit 6 addresses each of the I / O modules 5 of the basic unit 7 and the expansion unit 8 and generates a read signal for reading a control signal (FIG. 3). (Corresponding to T1 in (B)). When this address signal is detected by a decode circuit or the like (not shown) in the wait arbitration circuit 4, a timer circuit corresponding to the input / output module indicated by the address signal is selected, and the read signal * R of the CPU 1 is selected.
In response to the occurrence of D, the timer 52 of FIG. 1 generates a READY signal (level off) for a forced wait instruction for a predetermined time. This signal is transferred to the CPU 1 via the gate 54.

【0029】CPU1はこのREADY信号を入力する
と、ウェイト状態を設定する。タイマ52が一定時間を
計時する前に入出力モジュール5側のウェイト状態指示
のレベルオフのREADY信号が発生されると、ゲート
回路54はタイマ52のレベルオフの出力と入出力モジ
ュール5側のレベルオフの出力の排他的論理和(エクス
クルージブオア)演算結果(レベルオフ)をCPU1に
転送する。
When the CPU 1 receives this READY signal, it sets a wait state. When the level-off READY signal indicating the wait state instruction on the input / output module 5 side is generated before the timer 52 counts the predetermined time, the gate circuit 54 outputs the level-off output of the timer 52 and the level on the input / output module 5 side. The exclusive OR (exclusive OR) operation result (level off) of the OFF output is transferred to the CPU 1.

【0030】一定時間を過ぎても入出力モジュール5側
でウェイト指示のREADY信号が発生している場合
は、入出力モジュール5側のREADY信号がゲート5
4を通りCPU1に転送されるので、CPU1はウェイ
ト状態を続ける。一方、入出力モジュール5側の故障で
一定時間を過ぎても入出力モジュール5側でウェイト指
示のREADY信号が発生されない場合、タイマ52は
一定時間の終了時点で強制ウェイト用のREADY信号
の発生を中止するので、CPU1の強制ウェイト状態が
解除され、CPU1は再び動作を開始する(請求項1の
発明に相当)。
If a wait instruction READY signal is generated on the input / output module 5 side even after a certain period of time, the READY signal on the input / output module 5 side is output to the gate 5.
4, the data is transferred to the CPU 1, so that the CPU 1 continues the wait state. On the other hand, if a wait instruction READY signal is not generated on the input / output module 5 side after a certain time due to a failure on the input / output module 5 side, the timer 52 generates a READY signal for forced wait at the end of the predetermined time. Since the suspension is stopped, the forced wait state of the CPU 1 is released, and the CPU 1 starts the operation again (corresponding to the first aspect of the present invention).

【0031】一方、ウェイト状態打切り用タイマ53も
タイマ52の起動と同時に計時を開始する。この後、基
本ユニット7側で発生したウェイト指示のREADY信
号が何等かの原因でウェイト指示(レベルオフ)状態を
続けたままでいると、タイマ52の計時時間より長い一
定時間を計時すると、ウェイト状態打切用タイマ53は
レベルオフのウェイト解除信号を発生し、CPU1に転
送する。このため、CPU1はウェイト状態が解除さ
れ、動作を再開することができる(請求項2の発明に相
当)。
On the other hand, the timer 53 for terminating the wait state also starts counting simultaneously with the activation of the timer 52. After that, if the wait instruction READY signal generated on the basic unit 7 side keeps the wait instruction (level off) state for some reason, if a certain time longer than the timer time of the timer 52 is measured, the wait state The termination timer 53 generates a level-off wait release signal and transfers it to the CPU 1. Therefore, the CPU 1 is released from the wait state, and can resume the operation (corresponding to the second aspect of the present invention).

【0032】CPU1が増設ユニット8側の入出力モジ
ュール5から読出しを行なう場合も同様である。ただ
し、CPU1の強制ウェイト時間が基本ユニット7の場
合と異なることは言うまでもない。
The same applies to the case where the CPU 1 reads data from the input / output module 5 on the extension unit 8 side. However, it goes without saying that the forced wait time of the CPU 1 is different from that of the basic unit 7.

【0033】本実施例の他に次の例を実施できる。The following example can be implemented in addition to this embodiment.

【0034】1)本実施例ではCPU1の入出力ユニッ
トに対するアクセスの例として読出し処理の例を説明し
たが、書き込み処理に対しても同様のウェイト制御処理
を実行することができる。この場合は、タイマ52,ウ
ェイト状態打切り用タイマ53の起動条件がリード信号
に代り書込み(ライト)信号*WRの発生時となる。
1) In this embodiment, the example of the read processing is described as an example of the access of the CPU 1 to the input / output unit. However, the same wait control processing can be executed for the write processing. In this case, the activation condition of the timer 52 and the wait state termination timer 53 is when the write signal * WR is generated instead of the read signal.

【0035】2)本実施例ではタイマ52,ウェイト状
態打切り用タイマ53の計時時間をシステム起動時にC
PU1のシステムプログラムにより設定するようにして
いるがシステム運転時に設定時間を変更することもでき
る。この場合は、シーケンスプログラム入力用のプログ
ラミング装置(不図示)からCPUユニット6に設定時
間値を入力し、入力された設定時間値をCPUユニット
のCPU1によりラッチ51又はレジスタ50に書き込
む。
2) In this embodiment, the time measured by the timer 52 and the timer 53 for terminating the wait state is set to C when the system is started.
Although the setting is made by the system program of the PU1, the set time can be changed during the system operation. In this case, a set time value is input to the CPU unit 6 from a programming device (not shown) for inputting a sequence program, and the input set time value is written into the latch 51 or the register 50 by the CPU 1 of the CPU unit.

【0036】[0036]

【発明の効果】以上、説明したように、本発明によれ
ば、プログラマブルコントローラのウェイト状態が従来
のように続行することなく、一定時間後に解除されるの
で、一部の入出力モジュールの故障等が生じてもプログ
ラマブルコントローラのシーケンス制御を再開すること
ができる。また、強制ウェイト時間も短縮されるので、
プログラマブルコントローラの処理応答特性も改善され
る。
As described above, according to the present invention, the wait state of the programmable controller is released after a fixed time without continuing as in the prior art. Even if the error occurs, the sequence control of the programmable controller can be restarted. Also, since the forced wait time is shortened,
The processing response characteristics of the programmable controller are also improved.

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

【図1】図2のウェイト調停回路の回路構成を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating a circuit configuration of a weight arbitration circuit in FIG. 2;

【図2】本発明を適用したプログラマブルコントローラ
のシステム構成を示すブロック図である。
FIG. 2 is a block diagram showing a system configuration of a programmable controller to which the present invention is applied.

【図3】従来のプログラマブルコントローラの動作タイ
ミングを示すタイミングチャートである。
FIG. 3 is a timing chart showing operation timing of a conventional programmable controller.

【図4】従来のプログラマブルコントローラの動作タイ
ミングを示すタイミングチャートである。
FIG. 4 is a timing chart showing operation timing of a conventional programmable controller.

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

1 CPU 2 ROM 3 RAM 4 ウェイト調停回路 5 I/Oモジュール 6 CPUモジュール 7 基本ユニット 8 増設ユニット 1 CPU 2 ROM 3 RAM 4 Wait arbitration circuit 5 I / O module 6 CPU module 7 Basic unit 8 Extension unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プログラマブルコントローラと制御対象
機器との間で入出力ユニットを介して情報信号の転送を
行ない、前記情報信号の転送に関連して、前記入出力ユ
ニットから前記プログラマブルコントローラに対してウ
ェイトの指示が到着するまで前記プログラマブルコント
ローラ側自身で強制的なウェイト状態を自動設定するプ
ログラマブルコントローラの通信方法において、 前記プログラマブルコントローラは、前記強制的なウェ
イト状態を続ける時間に時間制限を設定し、 前記プログラマブルコントローラの強制的なウェイト状
態を計時し、 その計時結果が前記時間制限を超えた場合は、前記プロ
グラマブルコントローラは前記強制的なウェイト状態を
解除することを特徴とするプログラマブルコントローラ
の通信方法。
An information signal is transferred between a programmable controller and a device to be controlled via an input / output unit, and the input / output unit waits for the programmable controller with respect to the transfer of the information signal. The programmable controller communication method of automatically setting a forced wait state on the programmable controller side itself until the instruction arrives, wherein the programmable controller sets a time limit to a time for which the forced wait state is continued, A method for communicating with a programmable controller, comprising: counting a forced wait state of a programmable controller; and, when a result of the counting exceeds the time limit, the programmable controller cancels the forced wait state.
【請求項2】 プログラマブルコントローラと制御対象
機器との間で入出力ユニットを介して情報信号の転送を
行ない、前記情報信号の転送に関連して、前記入出力ユ
ニットから前記プログラマブルコントローラに対してウ
ェイトの指示が到着するまで前記プログラマブルコント
ローラ側自身で強制的なウェイト状態を自動設定するプ
ログラマブルコントローラの通信方法において、 前記プログラマブルコントローラは、前記入出力ユニッ
ト側のウェイトの指示が発生している時間を計時し、 その計時時間が予め定めた時間を超えた場合には、前記
入出力側のウェイトの指示により設定された当該プログ
ラマブルコントローラのウェイト状態を解除することを
特徴とするプログラマブルコントローラの通信方法。
2. An information signal is transferred between a programmable controller and a device to be controlled via an input / output unit, and the input / output unit waits for the programmable controller in connection with the transfer of the information signal. In the programmable controller communication method of automatically setting a forced wait state on the programmable controller side itself until the instruction arrives, the programmable controller measures the time during which the input / output unit side wait instruction is generated. If the measured time exceeds a predetermined time, the wait state of the programmable controller set by the instruction of the wait on the input / output side is released.
JP4294278A 1992-11-02 1992-11-02 Communication method of programmable controller Expired - Fee Related JP3022906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4294278A JP3022906B2 (en) 1992-11-02 1992-11-02 Communication method of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4294278A JP3022906B2 (en) 1992-11-02 1992-11-02 Communication method of programmable controller

Publications (2)

Publication Number Publication Date
JPH06149317A JPH06149317A (en) 1994-05-27
JP3022906B2 true JP3022906B2 (en) 2000-03-21

Family

ID=17805641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4294278A Expired - Fee Related JP3022906B2 (en) 1992-11-02 1992-11-02 Communication method of programmable controller

Country Status (1)

Country Link
JP (1) JP3022906B2 (en)

Also Published As

Publication number Publication date
JPH06149317A (en) 1994-05-27

Similar Documents

Publication Publication Date Title
US5452443A (en) Multi-processor system with fault detection
US7089170B2 (en) System and method for testing an embedded microprocessor system containing physical and/or simulated hardware
US5525971A (en) Integrated circuit
US4999769A (en) System with plural clocks for bidirectional information exchange between DMA controller and I/O devices via DMA bus
JPS6043546B2 (en) Data transfer error handling method
JP3022906B2 (en) Communication method of programmable controller
US5278965A (en) Direct memory access controller
KR920010977B1 (en) Memory bus architecture
JPH0343804A (en) Sequence controller
JPH10283302A (en) Method and system for supplying data to bus connected to plural processors
KR100428798B1 (en) Apparatus for slave board resetting
JP3151966B2 (en) Bus controller
JP3292308B2 (en) Weight arbitration circuit
JP2002063078A (en) F/w access processing device
JP2870837B2 (en) Arbitration circuit of central processing unit
JPH11273380A (en) Lsi operation mode setting signal fetching method and lsi with mode signal fetching function
JP2508982B2 (en) In-device control method
JPS5844426Y2 (en) Inter-processor information transfer device
JPH0675796A (en) Parity error recording device
JPH0934831A (en) Data transfer system for bus adaptor
JPH0399337A (en) Diagnostic method for data processing unit, data processing unit and data processing system
JP2002232440A (en) Internal communication method for communication terminal
JPH04369065A (en) Direct memory access controller
JPH0363098B2 (en)
JPH05173939A (en) Fault maintenance system for multimicroprocessor system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080114

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120114

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees