JPH01136205A - Input circuit for programmable controller - Google Patents

Input circuit for programmable controller

Info

Publication number
JPH01136205A
JPH01136205A JP29395587A JP29395587A JPH01136205A JP H01136205 A JPH01136205 A JP H01136205A JP 29395587 A JP29395587 A JP 29395587A JP 29395587 A JP29395587 A JP 29395587A JP H01136205 A JPH01136205 A JP H01136205A
Authority
JP
Japan
Prior art keywords
input
signal
memory
cpu
pulse
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
JP29395587A
Other languages
Japanese (ja)
Inventor
Takeshi Toeda
戸枝 毅
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 JP29395587A priority Critical patent/JPH01136205A/en
Publication of JPH01136205A publication Critical patent/JPH01136205A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily catch a specified pulse by storing the specified pulse to a second memory with the interruption processing of a central operation processor when the specified pulse with non-synchronizing to a timing to write a signal from plural external input contacts to the second memory. CONSTITUTION:The title circuit is composed of an external power source 1 to supply a voltage to a photocoupler 6, an external relay contact 2 to input information by turning on and off the voltage which is supplied from this power source, power source connecting terminals 3 and 4, a current limiting resistance 5, a load resistance 7, an inverter 8, filters 9 and 10, an interface 11, a CPU 12 and a memory 13, etc. By charging the power source, the CPU 12 allows the input of an interrupting signal. Next, the CPU 12 reads the storing contents of the memory 13 and executes prescribed sequence operation. A memory 13-1 is referred for the CPU 12 and when the memory is turned on, decision is made as the input of a high speed pulse. Then, input and output processings to an external equipment are totally executed. Next, the memory 13-1 is cleared and one time scanning operation is finished.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、プログラマブルコントローラの入力回路に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input circuit for a programmable controller.

[従来の技術] 一般に、プログラマブルコントローラは外部機器のリレ
ーのオン/オフ情報を入力してシーケンス演算を行い、
演算結果に応じて、上記リレーもしくは他のリレーをオ
ン/オフさせるコントローラとして知られている。
[Prior Art] In general, a programmable controller inputs relay on/off information from an external device and performs sequence calculations.
It is known as a controller that turns on/off the above relay or other relays according to calculation results.

このために、プログラマブルコントローラは入力したリ
レーのオン/オフ情報(入力情報)と、リレーをオン/
オフさせる情報(出力情報)とを記憶しておくメモリお
よびシーケンス演算、入力情報のメモリへの書き込み、
出力情報のメモリからの読み出しおよび外部機器に対し
ての外部出力とを行う中央演算処理装置(cpu)を有
している。
For this purpose, the programmable controller uses input relay on/off information (input information) and relay on/off information.
Memory for storing information to be turned off (output information), sequence operations, writing input information to memory,
It has a central processing unit (CPU) that reads output information from memory and outputs it to external equipment.

また、CPUは、予め定められたプログラムを実行し、
上記処理を行っている。cpuの演算処理速度は比較的
速いので、−収約に外部機器からの入力情報の変化に対
応して、変化した入力情報をメモリに記憶することがで
きるのであるが、例えば、CPUが時間のかかるシーケ
ンス演算を行っている間に、入力情報がパルス形のよう
にオン−オフ−オンと変化してしまうと、CPUはメそ
りへの入力情報の書ぎ込みプログラムを実行していない
ので、この変化した入力情報をCPU側ではメモリへ記
憶することができない。このため、従来より、非同期に
発生する高速パルス形の入力情報をプログラマブルコン
トローラに取り込みたいという要求があった。
In addition, the CPU executes a predetermined program,
The above process is being performed. Since the processing speed of the CPU is relatively fast, it is possible to store changed input information in memory in response to changes in input information from external devices. If the input information changes on-off-on like a pulse while performing such a sequence operation, the CPU is not executing the program to write the input information to the memory. This changed input information cannot be stored in the memory on the CPU side. For this reason, there has been a demand for input information in the form of high-speed pulses generated asynchronously to a programmable controller.

この要求に対して、従来のプログラマブルコントローラ
およびプログラマブルコントローラの情報の入力方法に
ついては次のような欠点があった。
In response to this demand, conventional programmable controllers and information input methods for programmable controllers have the following drawbacks.

(1)−括処理形プログラマブルコントローラでは、人
出力の一括処理のタイミングに同期しない入力を取り込
むことができないので、高速パルスを捕捉することがで
きない。
(1) A batch processing type programmable controller cannot capture inputs that are not synchronized with the timing of batch processing of human outputs, and therefore cannot capture high-speed pulses.

(2)それに対して、入出力直接処理形プログラマブル
コントローラ、すなわち、シーケンス演算中に、入力あ
るいは出力命令が実行されるのに同期して、外部と人出
力を行うプログラマブルコントローラにおいては高速パ
ルスを捉えるためには、常に高速パルスの入力を実行す
るようにシーケンスをプログラムしなければならず、現
実的ではない。
(2) On the other hand, high-speed pulses are captured in input/output direct processing type programmable controllers, that is, programmable controllers that perform external and human output in synchronization with the execution of input or output commands during sequence operations. In order to do this, the sequence must be programmed to always input high-speed pulses, which is not practical.

(3)割り込みプログラムを用いて、高速パルスを捉え
た瞬間に、プログラマブルコントローラの割り込みをか
けて、そのパルス入力に対応したシーケンスを実行する
ようにプログラムする方法が知られている。しかし、こ
の方法では、通常シーケンスとの同期が難しく、ユーザ
のプログラム上の負担が大きい。
(3) A known method is to use an interrupt program to interrupt the programmable controller at the moment a high-speed pulse is captured, and to execute a sequence corresponding to the pulse input. However, with this method, it is difficult to synchronize with the normal sequence, and the burden on the user's program is large.

(4)そこで、高速パルスを捉えるための専用ハードウ
ェアを用意して、上述のようにプログラム処理に起因す
る問題点の解決を図って、入力を行う方式も知られてい
る。その代表例として、以下に2つの例を示す。
(4) Therefore, a method is also known in which special hardware for capturing high-speed pulses is prepared, and the problems caused by program processing are solved as described above, and the input is performed. Two representative examples are shown below.

第1の例では、入力回路に単安定マルチバイブレータを
付加し、高速パルスをトリガにして所定パルス幅のパル
ス出力を得ることによって、高速パルスのパルス幅を引
き延ばして取り込む。
In the first example, a monostable multivibrator is added to the input circuit, and a high-speed pulse is used as a trigger to obtain a pulse output with a predetermined pulse width, thereby extending the pulse width of the high-speed pulse and capturing it.

第2の例では、入力回路にフリップフロップを付加し、
高速パルスでこのフリップフロップをセットして、かか
る高速パルスを捉えて記憶する。
In the second example, a flip-flop is added to the input circuit,
This flip-flop is set with a fast pulse to capture and store the fast pulse.

[発明が解決しようとする問題点〕 しかし、上述した第1の例では、プログラマブルコント
ローラのスキャンタイムがこの単安定マルチバイブレー
タの設定時間より長くなってしまうと、この方式を使用
できない欠点がある。
[Problems to be Solved by the Invention] However, in the first example described above, there is a drawback that this method cannot be used if the scan time of the programmable controller becomes longer than the set time of the monostable multivibrator.

また、第2の例では、次の高速パルスを捉えるために、
フリップフロップをいったんリセットする回路が必要と
なる。また、そのリセット回路によってこのフリップフ
ロップをリセットするタイミングを定めるためのシーケ
ンスをプログラマブルコントローラにプログラムしなけ
ればならないので、ユーザの負担が増えることになる。
Also, in the second example, in order to capture the next high-speed pulse,
A circuit is required to reset the flip-flop once. Furthermore, a sequence for determining the timing for resetting this flip-flop by the reset circuit must be programmed into the programmable controller, which increases the burden on the user.

そこで、本発明の目的は、上述した従来技術の欠点を解
決し、ハードウェアのコストアップなしに、しかもユー
ザに対してシーケンスプログラム上での負担を与えるこ
となく、プログラマブルコントローラのスキャンと非同
期に発生する単発の高速パルスを捉えることができ、加
えて、パルス入力を必要としないユーザに対しても何ら
シーケンスプログラム上の負担をかけることのない高速
パルス入力回路を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to solve the above-mentioned drawbacks of the prior art, and to solve the problem of generating data asynchronously with the scan of the programmable controller without increasing the cost of hardware and without imposing a burden on the user on the sequence program. An object of the present invention is to provide a high-speed pulse input circuit that can capture a single high-speed pulse generated by a pulse input and that does not impose any burden on a sequence program even to a user who does not require pulse input.

[問題点を解決するための手段] このような目的を達成するために、本発明は、第1信号
を記憶する第1記憶手段と、第2信号を記憶する第2記
憶手段と、所定のタイミングに同期して1以上の外部入
力接点からの第1信号を第1記憶手段に書き込み、割り
込み信号の入力に応じて入力を示す第2信号を第2記憶
手段に書き込む中央演算処理装置と、外部入力接点の中
の特定の一つの外部入力接点が所定のタイミングに非同
期に発生する特定の信号を割り込み信号として中央演算
処理装置の割り込み入力端子に入力する信号伝送手段と
を具えたことを特徴とする。
[Means for Solving the Problems] In order to achieve such an object, the present invention provides a first storage means for storing a first signal, a second storage means for storing a second signal, and a predetermined storage means for storing a first signal. a central processing unit that writes a first signal from one or more external input contacts into a first storage means in synchronization with timing, and writes a second signal indicating an input into a second storage means in response to input of an interrupt signal; A specific external input contact among the external input contacts includes a signal transmission means for inputting a specific signal generated asynchronously at a predetermined timing to an interrupt input terminal of the central processing unit as an interrupt signal. shall be.

[作 用] 本発明では、複数外部入力接点からの信号を第2メモリ
に書き込むタイミングとは非同期の特定のパルスが発生
するとこの特定パルスがトリガとなり、中央演算処理装
置の割り込み処理により、非同期の特定パルスが発生し
たことが第2記憶手段に記憶されるので、非同期の特定
パルスを簡単な構成で捕捉することができる。
[Function] In the present invention, when a specific pulse that is asynchronous to the timing at which signals from multiple external input contacts are written to the second memory is generated, this specific pulse serves as a trigger, and the asynchronous processing is performed by the interrupt processing of the central processing unit. Since the occurrence of the specific pulse is stored in the second storage means, the asynchronous specific pulse can be captured with a simple configuration.

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

第1図は本発明実施例の回路構成例を示す。FIG. 1 shows an example of a circuit configuration according to an embodiment of the present invention.

第1図において、1はフォトカプラ6に対して電圧を供
給する外部電源である。2は外部電源から供給される電
圧をオン・オフすることにより情報を入力する外部リレ
ー接点である。6は外部リレー接点により入力されるオ
ン・オフ情報をプログラマブルコントローラ側に伝送す
るフォトカプラである。
In FIG. 1, reference numeral 1 denotes an external power supply that supplies voltage to the photocoupler 6. 2 is an external relay contact that inputs information by turning on and off a voltage supplied from an external power source. 6 is a photocoupler that transmits on/off information inputted through an external relay contact to the programmable controller side.

3および4は外部電源と接続するための電源接続端子で
あり、5は電源電圧をフォトカプラ6の作動電圧に設定
するための電流制限抵抗である。
3 and 4 are power supply connection terminals for connection to an external power supply, and 5 is a current limiting resistor for setting the power supply voltage to the operating voltage of the photocoupler 6.

7は負荷抵抗であり、プログラマブルコントローラ側で
受信したオン情報の電圧レベルを設定する負荷抵抗であ
る。8はフォトカプラ6により受信したオン・オフ情報
をCPU12が判断可能なようにフォトカプラ6の出力
信号レベルを反転するインバータである。
Reference numeral 7 denotes a load resistor that sets the voltage level of the ON information received on the programmable controller side. 8 is an inverter that inverts the output signal level of the photocoupler 6 so that the CPU 12 can judge the on/off information received by the photocoupler 6.

9およびlOはインバータ8の出力信号におけるノイズ
を除去するフィルタであり、フィルタ9は高速パルス用
、フィルタ10は通常信号用に用いる。また、フィルタ
9の時定数がフィルタ10の時定数より小さくなるよう
に設定されている。このため、フォトカプラ6により受
信された高速パルス波形のオン情報はフィルタ10にお
いて吸収され、フィルタ9のみを通過する。
9 and 10 are filters for removing noise in the output signal of the inverter 8; filter 9 is used for high-speed pulses, and filter 10 is used for normal signals. Further, the time constant of the filter 9 is set to be smaller than the time constant of the filter 10. Therefore, the high-speed pulse waveform ON information received by the photocoupler 6 is absorbed by the filter 10 and passes only through the filter 9.

11はフィルタ10を通過した通常の波形のオン・オフ
情報を受信するインタフェースであり、CPu12の制
御の基に、インタフェース11により受信されたオン・
オフ情報(第1信号)はデータバスDBを介してメモリ
13に記憶される。フィルタ9を通過したパルス波形の
オン・オフ情報は、CPU12の割り込み信号入力端子
に送られる。
11 is an interface that receives the normal waveform on/off information that has passed through the filter 10, and under the control of the CPU 12, the on/off information received by the interface 11 is
The off information (first signal) is stored in the memory 13 via the data bus DB. The on/off information of the pulse waveform that has passed through the filter 9 is sent to the interrupt signal input terminal of the CPU 12.

12はプログラマブルコントローラの制御を司るcpu
である。13は外部接点2を含む複数の外部接点のオン
・オフ情報を記憶するメモリ(第1記憶手段)である。
12 is a CPU that controls the programmable controller
It is. 13 is a memory (first storage means) that stores on/off information of a plurality of external contacts including external contact 2;

メモリ13には、割り込み信号の有無をオン・オフの情
報(第2信号)で記憶するパルス検出メモリ13−1 
(第2記憶手段)が設けられている。
The memory 13 includes a pulse detection memory 13-1 that stores the presence or absence of an interrupt signal as on/off information (second signal).
(second storage means) is provided.

このような構成において、外部接点2のスキャン非同期
の単発の高速パルス状オン・オフ信号がCPU12の割
り込み入力端子に入力されると、スキャン中のCPU1
2に割り込みがかかり、CPt112は高速パルス信号
が入力されたことをパルス検出メモリ13−1に記憶し
、通常の入出カー括処理に同期してメモリ13の中の対
応する高速パルス入力接点メモリを1スキヤンだけオン
する。
In such a configuration, when a scan-asynchronous, single-shot, high-speed pulse-like on/off signal from the external contact 2 is input to the interrupt input terminal of the CPU 12, the CPU 1 during scanning
2, the CPt 112 stores the fact that a high-speed pulse signal has been input in the pulse detection memory 13-1, and stores the corresponding high-speed pulse input contact memory in the memory 13 in synchronization with the normal input/output car batch processing. Turns on for one scan only.

ここで、CPU12は常に割り込み入力を許可した状態
でスキャンしており、高速パルス信号の入力を見逃すこ
とはない。また、外部接点2が数スキャンに渡フてオン
した場合は、高速パルス入力接点メモリはそれに応じた
スキャン時間だけオンし続ける。
Here, the CPU 12 always scans with interrupt input enabled, so that the input of the high-speed pulse signal is not missed. Further, when the external contact 2 is turned on for several scans, the high-speed pulse input contact memory remains turned on for the corresponding scan time.

第2図(A)および(B)は第1図に示すCPU12 
ニおける実行制御手順を示す。
Figures 2 (A) and (B) show the CPU 12 shown in Figure 1.
This figure shows the execution control procedure in 2.

第2図(A)において、プログラマブルコントローラに
電源が没入されると、CpH12は割り込み信号の入力
を許可する(ステップSl)。次にCPU12はメモリ
13の記憶内容を読み出し、所定のシーケンス演算を行
う(ステップS2)。
In FIG. 2(A), when the programmable controller is powered on, the CpH 12 allows input of an interrupt signal (step Sl). Next, the CPU 12 reads out the contents of the memory 13 and performs a predetermined sequence calculation (step S2).

次に、CPU12にはパルス検出メモリ13−1を参照
し、パルス検出メモリ13−1がオンしているときは高
速パルスの入力が有ったと判断し、メモリ13の中の外
部接点2に対応するメモリ領域にオンを設定すると共に
、外部機器側からの情報の入力処理および外部機器への
情報の出力処理を一括して行う(ステップ53〜S4)
Next, the CPU 12 refers to the pulse detection memory 13-1, and when the pulse detection memory 13-1 is on, it determines that there is a high-speed pulse input, and corresponds to the external contact 2 in the memory 13. At the same time, input processing of information from the external device side and processing of outputting information to the external device are performed at once (steps 53 to S4).
.

次に、パルス検出メモリ13−1をクリアして1回のス
キャンニング処理を終了する。このような手順を実行中
に高速パルスによる割り込みがかかるとCPII12は
第2図(B)の制御手順を実行し、パルス検出メモリ1
3−1をオンして第2図(八)の制御手順に復帰する。
Next, the pulse detection memory 13-1 is cleared to complete one scanning process. If an interrupt occurs due to a high-speed pulse while executing such a procedure, the CPII 12 executes the control procedure shown in FIG. 2(B) and stores the pulse detection memory 1.
3-1 is turned on to return to the control procedure shown in FIG. 2 (8).

第3図は本発明実施例の動作タイミングを示す。FIG. 3 shows the operation timing of the embodiment of the present invention.

第3図において、プログラマブルコントローラがスキャ
ンaのシーケンスaを実行中、たまたま外部接点2が高
速パルス状にオン/オフした場合、その高速パルス信号
は入力端子4−電流制限抵抗5−フォトカブラ6−イン
バータ8(第1図参照)を通り、高速パルス用フィルタ
aおよび通常フィルタlOに伝達される。
In FIG. 3, if the external contact 2 happens to turn on/off in a high-speed pulse while the programmable controller is executing sequence a of scan a, the high-speed pulse signal is transmitted to the input terminal 4 - current limiting resistor 5 - photocoupler 6 - It passes through the inverter 8 (see FIG. 1) and is transmitted to the high-speed pulse filter a and the normal filter lO.

各フィルタに伝達されたパルスは、通常のフィルタIO
では消失してしまい、通常入力信号線りには伝わらない
The pulses transmitted to each filter are the normal filter IO
In this case, the signal disappears and is not normally transmitted to the input signal line.

一方、時間の高速パルス用フィルタ9の方では、フィル
タ時間による遅れは生ずるものの、高速パルス入力信号
線Pにパルスが伝わる。
On the other hand, in the temporal high-speed pulse filter 9, the pulse is transmitted to the high-speed pulse input signal line P, although there is a delay due to the filter time.

高速パルス入力信号線Pに伝わった高速パルスはCPU
12に割り込みを発生させ、CPU12はパルスが入力
されたことをデータバスDBを通してメモリ13内のパ
ルス検出メモリ13−1に記憶する。
The high-speed pulse transmitted to the high-speed pulse input signal line P is
12, and the CPU 12 stores the fact that the pulse has been input into the pulse detection memory 13-1 in the memory 13 through the data bus DB.

スキャンaの実行が人出カー括処理(第3図における処
理110 a)に入ると、CPU12はパルス検出メモ
リを読み出し、その記憶内容がオンしているならメモリ
13内の対応するパルス入力接点メモリをオンし、パル
ス検出メモリ13−1の内容をクリアする。
When the execution of scan a enters the turnout car batch process (process 110a in FIG. 3), the CPU 12 reads the pulse detection memory, and if the memory content is on, reads the corresponding pulse input contact memory in the memory 13. is turned on to clear the contents of the pulse detection memory 13-1.

次に、スキャンがスキャンbの入出カー括処理(処理1
10 b)に入ると、CPU112はパルス検出メモリ
がオンしておらず、かつ高速パルス入力信号線もオンし
ていないことを確認し、パルス検出メモリ13−1オフ
を記憶する。
Next, the scan is scan b input/output car batch processing (processing 1
10b), the CPU 112 confirms that the pulse detection memory is not turned on and that the high-speed pulse input signal line is not turned on, and stores that the pulse detection memory 13-1 is off.

スキャンc、d、eでは、外部接点2が長時間オンして
いるときの動作を示しており、この時パルス検出メモリ
13−1は通常入力接点メモリ13と同じ動きをしてい
ることが判かる。
Scans c, d, and e show the operation when the external contact 2 is on for a long time, and it can be seen that the pulse detection memory 13-1 operates in the same way as the normal input contact memory 13 at this time. Karu.

また、通常フィルタ10→通常入力信号線りを通り、I
lo 11に伝達される信号は外部接点2のオン・オフ
時に発生するチャタリングを防止するためにフィルタ時
間を長くなっている。
Also, it passes through the normal filter 10 → normal input signal line, and the I
The signal transmitted to lo 11 has a long filter time to prevent chattering that occurs when external contact 2 turns on and off.

しかもその信号をCPU12がスキャンに取り込みメモ
リ13に反映するタイミングは、人出カー括処理に同期
して行われる。なお、高速パルスの入力を必要としない
、すなわち、外部接点2のチャタリングに反応してもら
っては困るユーザはこの通常入力のみを使用すればよい
Moreover, the timing at which the CPU 12 scans the signal and reflects it in the memory 13 is performed in synchronization with the crowd car batch processing. Incidentally, a user who does not require high-speed pulse input, that is, who does not want the user to react to chattering of the external contact 2, may use only this normal input.

なお、本実施例ではフィルタ9およびフィルタlOをコ
ンデンサと抵抗により構成したCRフィルタを用いてい
るが、ソフトウェアフィルタ等であっても同様な動作が
可能であることは明白である。
In this embodiment, the filter 9 and the filter 10 are CR filters composed of capacitors and resistors, but it is clear that the same operation can be performed using software filters or the like.

[発明の効果] 以上説明したように、本発明によれば、外部入力接点の
中の特定の外部入力接点から送られてくる信号をCPU
の割り込み入力に接続し、CPt1の割り込み処理によ
り、特定の外部入力接点の高速パルス発生を検出するの
で、従来のハードウェアを大幅に変更することなく、ま
た、コストアップなしに、加えて、ユーザに対してプロ
グラム上での負担を与えることなく、プログラマブルコ
ントロ−ラのスキャンと非同期に発生する単発の高速パ
ルスを捉えることができ、パルス入力を必要としないユ
ーザに対しても何ら負担を与えないという効果が得られ
る。
[Effects of the Invention] As explained above, according to the present invention, a signal sent from a specific external input contact among the external input contacts is transmitted to the CPU.
is connected to the interrupt input of CPt1, and the high-speed pulse generation of a specific external input contact is detected by the interrupt processing of CPt1, so there is no need to significantly change conventional hardware or increase costs. It is possible to capture single high-speed pulses that occur asynchronously with the scan of the programmable controller without placing any burden on the program, and does not impose any burden on users who do not require pulse input. This effect can be obtained.

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

第1図は本発明実施例の構成例を示す回路図、第2図は
第1図示のCPU12の実行制御手順例を示すフローチ
ャート、 第3図は本発明実施例の動作タイミングを示すタイミン
グチャートである。 2・・・外部接点、 6・・・フォトカプラ、 9.10・・・フィルタ、 12・・・cpu 。 13・・・メモリ。 オリしり月貢乞イ列0フローチャート 第2図
FIG. 1 is a circuit diagram showing a configuration example of an embodiment of the present invention, FIG. 2 is a flowchart showing an example of an execution control procedure of the CPU 12 shown in FIG. 1, and FIG. 3 is a timing chart showing the operation timing of the embodiment of the present invention. be. 2... External contact, 6... Photocoupler, 9.10... Filter, 12... CPU. 13...Memory. Orishiri Monthly Tribute Begging Column 0 Flowchart Figure 2

Claims (1)

【特許請求の範囲】 1)第1信号を記憶する第1記憶手段と、 第2信号を記憶する第2記憶手段と、 所定のタイミングに同期して1以上の外部入力接点から
の第1信号を前記第1記憶手段に書き込み、割り込み信
号の入力に応じて該入力を示す第2信号を前記第2記憶
手段に書き込む中央演算処理装置と、 前記外部入力接点の中の特定の一つの外部入力接点が前
記所定のタイミングに非同期に発生する特定の信号を前
記割り込み信号として前記中央演算処理装置の割り込み
入力端子に入力する信号伝送手段と を具えたことを特徴とするプログラマブルコントローラ
の入力回路。 2)特許請求の範囲第1項に記載のプログラマブルコン
トローラの入力回路において、 前記信号伝送手段は、前記特定の信号を前記第1信号と
して前記第1記憶手段に伝送する信号線と、該信号線に
設けられ、雑音を除去するための第1フィルタと、前記
特定の信号を前記割り込み信号として前記割り込み入力
端子に伝送する信号線と、該信号線に設けられ、前記第
1フィルタより時定数の小さい雑音を除去するための第
2フィルタとを有することを特徴とするプログラマブル
コントローラの入力回路。
[Claims] 1) A first storage means for storing a first signal, a second storage means for storing a second signal, and a first signal from one or more external input contacts in synchronization with a predetermined timing. a central processing unit that writes a second signal indicating the input into the first storage means and writes a second signal indicating the input into the second storage means in response to an input of an interrupt signal; An input circuit for a programmable controller, characterized in that the input circuit comprises a signal transmission means whose contacts input a specific signal generated asynchronously at the predetermined timing to an interrupt input terminal of the central processing unit as the interrupt signal. 2) In the input circuit for a programmable controller according to claim 1, the signal transmission means includes a signal line for transmitting the specific signal as the first signal to the first storage means, and the signal line. a first filter for removing noise; a signal line for transmitting the specific signal as the interrupt signal to the interrupt input terminal; and a signal line for transmitting the specific signal as the interrupt signal to the interrupt input terminal; and a second filter for removing small noises.
JP29395587A 1987-11-24 1987-11-24 Input circuit for programmable controller Pending JPH01136205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29395587A JPH01136205A (en) 1987-11-24 1987-11-24 Input circuit for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29395587A JPH01136205A (en) 1987-11-24 1987-11-24 Input circuit for programmable controller

Publications (1)

Publication Number Publication Date
JPH01136205A true JPH01136205A (en) 1989-05-29

Family

ID=17801347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29395587A Pending JPH01136205A (en) 1987-11-24 1987-11-24 Input circuit for programmable controller

Country Status (1)

Country Link
JP (1) JPH01136205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04271434A (en) * 1991-02-27 1992-09-28 Fuji Electric Co Ltd Interrupting input module for programmable controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55164930A (en) * 1979-06-06 1980-12-23 Hitachi Ltd Signal fetch unit
JPS5856018A (en) * 1981-09-29 1983-04-02 Toshiba Corp Input and output controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55164930A (en) * 1979-06-06 1980-12-23 Hitachi Ltd Signal fetch unit
JPS5856018A (en) * 1981-09-29 1983-04-02 Toshiba Corp Input and output controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04271434A (en) * 1991-02-27 1992-09-28 Fuji Electric Co Ltd Interrupting input module for programmable controller

Similar Documents

Publication Publication Date Title
EP0081588A1 (en) A numerical control system
JPH01136205A (en) Input circuit for programmable controller
JPS6346508A (en) Sequence controller
CN114372786A (en) Alarm clock setting method and related equipment
JPH0736203U (en) Input circuit of programmable controller
JPH04280507A (en) Digital noise elimination system
JPS6231447A (en) Bus analyzer
JP3088407B2 (en) In-circuit emulator and in-circuit emulation method
JPH0318962Y2 (en)
JPS6211920A (en) Command recovery system
JPS62232055A (en) Method for preparing event trace data
JPH027240B2 (en)
JPS5953583B2 (en) switching device
JPS61136142A (en) Memory method of input and output data
JPH0638210B2 (en) Sequence controller input / output control system
JPS61160105A (en) Timing control system
JPH0387790A (en) Synchronous switching circuit
JPH01149637A (en) System for monitoring polling control response
JPH0232645B2 (en)
JPH0627001A (en) Plant simulation system
JPH0638209B2 (en) Programmable controller
JPH064362A (en) Synchronous trace system
JPH056336A (en) Method for controlling bus
JPS621060A (en) Method and device for input and output control of digital processor
JPH0666805B2 (en) Communication control method in loop communication system