JPS648841B2 - - Google Patents

Info

Publication number
JPS648841B2
JPS648841B2 JP56019814A JP1981481A JPS648841B2 JP S648841 B2 JPS648841 B2 JP S648841B2 JP 56019814 A JP56019814 A JP 56019814A JP 1981481 A JP1981481 A JP 1981481A JP S648841 B2 JPS648841 B2 JP S648841B2
Authority
JP
Japan
Prior art keywords
output
flag
contents
program
buffer memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56019814A
Other languages
Japanese (ja)
Other versions
JPS57134704A (en
Inventor
Satoshi Yano
Tetsuo Doi
Yoshitane Saito
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP56019814A priority Critical patent/JPS57134704A/en
Publication of JPS57134704A publication Critical patent/JPS57134704A/en
Publication of JPS648841B2 publication Critical patent/JPS648841B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/461Saving or restoring of program or task context
    • G06F9/463Program control block organisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)
  • Executing Machine-Instructions (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】 この発明は、ユーザ命令を用いて特定の出力素
子を駆動すべきプログラムを組むだけで、出力バ
ツフアメモリの内容については常に更新させつつ
も各出力端子の信号状態についてだけは出力バツ
フアメモリの内容とは無関係な値に設定できるよ
うにしたプログラマブル・ロジツク・コントロー
ラ(以下、PLCという。)に関する。
[Detailed Description of the Invention] This invention allows only the user to create a program to drive a specific output element using a user command, and while the contents of the output buffer memory are constantly updated, only the signal state of each output terminal is updated. This invention relates to a programmable logic controller (hereinafter referred to as PLC) that can be set to a value independent of the contents of an output buffer memory.

例えば、スキヤニング形PLCにおいて、ある
特定の異常状態等が発生したときに各出力端子を
特定の状態(例えば、全てOFF)にするような
動作をさせたい場合、従来は上記異常状態に対応
して特定の出力リレー(以下、異常リレーとい
う。)を動作させかつこの異常リレーのB接点を
他の全ての出力リレーと直列に介挿した如きラダ
ーダイアグラムを描き、これをユーザ命令を用い
てプログラミングすることが行なわれる。
For example, in a scanning type PLC, if you want to operate such that each output terminal is set to a specific state (for example, all OFF) when a certain abnormal state etc. occurs, conventionally, in response to the above abnormal state, Draw a ladder diagram in which a specific output relay (hereinafter referred to as an error relay) is operated and the B contact of this error relay is inserted in series with all other output relays, and program this using user instructions. things will be done.

このようなプログラムをPLCが実行すると、
上記異常状態の発生とともに各出力バツフアメモ
リの内容は全て“0”となり、出力インターフエ
イス回路は上記各出力バツフアメモリの内容を取
り込んで各出力端子は全てOFFとなる。
When the PLC executes such a program,
With the occurrence of the abnormal state, the contents of each output buffer memory become all "0", the output interface circuit takes in the contents of each output buffer memory, and all output terminals are turned OFF.

しかしながら、このようなプログラミングを行
なうと出力リレーは少なくとも1個だけ異常リレ
ーとして専用されてしまうほか、このように出力
バツフアメモリの内容自体を全て“0”としてし
まうと、例えば各出力リレーの補助接点を介して
タイマ、カウンタ等に通電を行なうようなラダー
ダイアグラムがプログラミングされていた場合に
は、これらの時計又は計数動作も停止してしま
う。
However, if such programming is performed, at least one output relay will be dedicated as an error relay, and if the contents of the output buffer memory itself are set to "0", for example, the auxiliary contact of each output relay will be If a ladder diagram has been programmed in which timers, counters, etc. are energized through the power supply, these clocks or counting operations will also stop.

このため、異常状態の回復直後における各出力
端子の状態は、異常状態発生とともに中断された
タイマ、カウンタの計時、計数内容に基づいて決
定されてしまい、例えば異常状態の回復とともに
異常状態が最初からなかつたものとして各出力端
子の状態を設定することは不可能である。
Therefore, the state of each output terminal immediately after recovery from an abnormal condition is determined based on the timing and counting contents of the timer and counter that were interrupted when the abnormal condition occurred. It is not possible to set the state of each output terminal as if it were not present.

さらに、前述の如く全ての出力リレーと直列に
異常リレーの補助接点を介挿するため、プログラ
ムメモリ内のアドレスを少なくとも出力点数に対
応するステツプ分だけ余分に使用せざるを得ない
等の問題がある。
Furthermore, as mentioned above, since the auxiliary contacts of the fault relays are inserted in series with all output relays, there are problems such as having to use at least as many extra addresses in the program memory as steps corresponding to the number of output points. be.

この発明は上述の問題を解決するために創案さ
れたもので、その目的とするところは例えば異常
状態に対応して各出力端子の状態を特定の内容に
設定する如き動作を、最小の長さのユーザプログ
ラムで実行させることができるPLCを提供する
ことにある。
This invention was devised to solve the above-mentioned problem, and its purpose is to perform an operation such as setting the state of each output terminal to a specific content in response to an abnormal state, for example, in a minimum length. The objective is to provide a PLC that can be executed by a user program.

さらに、この発明の他の目的は例えば異常状態
に対応して各出力端子の状態を特定の内容に設定
しつつも、出力バツフアメモリの内容については
常にプログラムの実行に従つて更進させ、異常状
態の回復とともにあたかも初めから異常状態が存
在しなかつたものとして各出力端子の状態を設定
できるようにしたPLCを提供することにある。
Furthermore, another object of the present invention is to set the state of each output terminal to a specific content in response to an abnormal state, for example, while always advancing the contents of the output buffer memory according to program execution. An object of the present invention is to provide a PLC that can set the state of each output terminal as if the abnormal state had never existed from the beginning upon recovery of the abnormal state.

この発明は上記目的を達成するために、ユーザ
命令によりセツト又はリセツトが可能なフラグを
例えば状態記憶部内に設けるとともに、中央処理
装置側には上記フラグの内容に応じて出力バツフ
アメモリから出力インターフエイス回路へのデー
タ転送を制御する出力状態制御手段を設けること
を特徴とするものである。
In order to achieve the above object, the present invention provides a flag that can be set or reset by a user command, for example, in a state storage unit, and also provides a central processing unit with a flag that can be set or reset by a user command, and a central processing unit that outputs data from an output buffer memory to an output interface circuit according to the contents of the flag. The present invention is characterized by providing an output state control means for controlling data transfer to.

以下に、この発明の好適な実施例を添付図面に
基づいて詳述する。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、この発明に係るPLCのシステム構
成を示すブロツク図で、このPLCはフアームウ
エア化された所謂マイクロコンピユータで構成さ
れる中央処理装置1と、入力端子INに接続され
る外部スイツチと中央処理装置1とのインターフ
エイスである入力インターフエイス回路2と、中
央処理装置1を介して出力バツフアメモリ(後述
する。)から転送される出力データを取り込んで
対応する出力リレーを駆動し、この接点を介して
出力端子OUTに接続された外部機器をON、
OFF制御する出力インターフエイス回路3と、
ユーザが任意に組んだプログラムを記憶するプロ
グラム記憶部4と、各入力又は出力さらにはこの
発明に係るフラグの状態及びタイマ、カウンタ等
の実行中の状態等を記憶する状態記憶部5と、プ
ログラム設定操作等に使用するキー入力装置6
と、プログラム設定時には設定中の命令が又プロ
グラムの実行時には実行状態等が表示される表示
器7等から構成されている。
FIG. 1 is a block diagram showing the system configuration of a PLC according to the present invention. The input interface circuit 2, which is an interface with the central processing unit 1, takes in output data transferred from an output buffer memory (described later) via the central processing unit 1, drives the corresponding output relay, and connects this contact. Turn on the external device connected to the output terminal OUT via
an output interface circuit 3 for OFF control;
A program storage unit 4 that stores programs arbitrarily assembled by the user, a status storage unit 5 that stores each input or output, the status of flags and the running status of timers, counters, etc. according to the present invention, and the program. Key input device 6 used for setting operations etc.
It is comprised of a display 7, etc., which displays the command being set when setting a program, and the execution status when executing the program.

第2図は状態記憶部5の内部構成を模式的に示
すもので、図において升目の1つ1つはそれぞれ
1ビツトの記憶容量を有し、それぞれシステムプ
ログラムを介してアドレス指定される。そして、
図において例えばF1はバツテリのレベルが規定
値以下となつた場合にシステムプログラムにより
“1”にセツトされる状態フラグとして使用され
るとともに、F2はプログラムに実行エラーがあ
つた場合にシステムプログラムにより“1”にセ
ツトされる状態フラグとして使用され、さらに
F3は電源を投入した際にシステムプログラムに
より1スキヤンの間のみ“1”にセツトされる状
態フラグとして使用される。そして、これらの状
態フラグの内容はシステムプログラムを介してユ
ーザ命令によつて任意に参照可能に構成されてい
る。すなわち、例えばユーザ命令で特定の入力端
子を指定すれば、各状態フラグの内容を入力信号
として使用することができるわけである。
FIG. 2 schematically shows the internal structure of the state storage section 5. In the figure, each square has a storage capacity of 1 bit, and is addressed via a system program. and,
In the diagram, for example, F1 is used as a status flag that is set to "1" by the system program when the battery level falls below the specified value, and F2 is used as a status flag that is set to "1" by the system program when there is an execution error in the program. It is used as a status flag that is set to “1” by
F3 is used as a status flag that is set to "1" only during one scan by the system program when the power is turned on. The contents of these status flags can be referenced arbitrarily by a user command via a system program. That is, for example, by specifying a specific input terminal with a user command, the contents of each status flag can be used as an input signal.

これに対して、F4はユーザ命令により特定の
番号が付されたキープリレーを使用すると、その
キープリレーの出力に相当する内容がシステムプ
ログラムを介して書き込まれるエリアとして使用
される。すなわち、上記キープリレーが“1”に
セツトされればF4の内容も“1”にセツトされ、
また“0”にリセツトされればF4の内容も“0”
にリセツトされるわけである。
On the other hand, when a keep relay assigned a specific number is used by a user command, F4 is used as an area where the contents corresponding to the output of the keep relay are written via the system program. That is, if the above keep relay is set to "1", the contents of F4 are also set to "1",
Also, if it is reset to “0”, the contents of F4 will also be “0”.
It will be reset to .

さらに、このフラグF4は特定のシステムプロ
グラムの実行開始のための条件フラグとして使用
されており、この例ではフラグF4が“1”にセ
ツトされると状態記憶部5内に設けられた図示し
ない出力バツフアメモリの内容は出力インターフ
エイス回路3に転送されず、その替わりに出力イ
ンターフエイス回路3の各出力ビツトは全て
“0”にリセツトされるようなシステムプログラ
ムが組まれている。尚、ここで、出力バツフアメ
モリとは毎スキヤンごとに各ユーザプログラムの
実行結果に対応する出力データで更新されるメモ
リである。
Furthermore, this flag F4 is used as a condition flag for starting the execution of a specific system program, and in this example, when the flag F4 is set to "1", the The system program is designed such that the contents of the output buffer memory that are not used are not transferred to the output interface circuit 3, and instead, all output bits of the output interface circuit 3 are reset to "0". Note that the output buffer memory is a memory that is updated with output data corresponding to the execution results of each user program every time a scan is performed.

以上の構成において、例えば第3図に示す如
く、条件フラグF1とF2の内容の論理和によつて
キープリレーF4がセツトされ、かつ押ボタンPB
の出力と条件フラグF3の内容との論理和によつ
てキープリレーF4がリセツトされるようなラダ
ーダイアグラムを描き、これをユーザ命令を用い
て所定のフオーマツトに従つてプログラムする。
In the above configuration, for example, as shown in FIG. 3, the keep relay F4 is set by the logical sum of the contents of the condition flags F1 and F2 , and the push button PB is
Draw a ladder diagram in which the keep relay F4 is reset by the logical sum of the output of and the contents of the condition flag F3 , and program this according to a predetermined format using user instructions.

第4図は上記ユーザプログラムの実行過程を示
すフローチヤートである。電源が投入されるとル
ーチンR1が実行されてフラグF3は“1”にセツ
トされ、続いてルーチンR2,R3が実行されて出
力バツフアメモリの内容はユーザプログラムの実
行結果に対応する内容に更新され、同時にフラグ
F3が“1”にセツトされたことに対応してフラ
グF4は“0”にリセツトされる。次いで、ルー
チンR4が実行されると、エラーチエツク用のシ
ステムプログラムが実行されて例えば所定の時間
内にプログラムの実行が完了したかに基づいてプ
ログラム実行エラーの有無が判定され、その判定
結果がYESの場合に限りルーチンR5が実行され
てフラグF2は“1”にセツトされる。次いで、
ルーチンR6が実行されると、電圧検出用のシス
テムプログラムが実行されて例えばバツテリの出
力電圧が規定値以下に低下しているか否かの判定
が行なわれ、その判定結果がYESの場合にはル
ーチンR7が又NOの場合にはルーチンR8が実行さ
れて、フラグF1は“1”又は“0”となる。
FIG. 4 is a flowchart showing the execution process of the user program. When the power is turned on, routine R1 is executed and flag F3 is set to "1", and then routines R2 and R3 are executed and the contents of the output buffer memory correspond to the execution results of the user program. and at the same time the flag
In response to F3 being set to "1", flag F4 is reset to "0". Next, when routine R4 is executed, a system program for error checking is executed, and the presence or absence of a program execution error is determined based on, for example, whether the program execution has been completed within a predetermined time, and the determination result is Only in the case of YES, routine R5 is executed and flag F2 is set to "1". Then,
When routine R6 is executed, a system program for voltage detection is executed to determine whether the output voltage of the battery has fallen below a specified value, for example, and if the determination result is YES, the system program for voltage detection is executed. If the routine R7 is also NO, the routine R8 is executed and the flag F1 becomes "1" or "0".

次いで、ルーチンR9が実行されるとフラグF4
が“1”にセツトされているか否かの判定が行な
われるが、この場合ルーチンR3の実行によりフ
ラグF4は“0”にリセツトされている。このた
め、ルーチンR9の実行結果はNOとなり、ルーチ
ンR10が実行されて図示しない出力バツフアメモ
リの内容は出力インターフエイス回路3へと転送
され、この内容に応じて各出力端子OUTに接続
された外部機器はON,OFF制御される。
Then when routine R 9 is executed flag F 4
A determination is made as to whether or not the flag F4 is set to "1". In this case, the flag F4 has been reset to "0" by executing routine R3 . Therefore, the execution result of routine R 9 is NO, and routine R 10 is executed, and the contents of the output buffer memory (not shown) are transferred to the output interface circuit 3, which is connected to each output terminal OUT according to the contents. External equipment is controlled ON and OFF.

次いで、ルーチンR11が実行されるとフラグF3
の内容は“0”にリセツトされ、以後プログラム
実行エラー又はバツテリエラーが生じない限り、
ルーチンR2→R3→R4→R6→R8→R9→R10→R11
繰り返し実行され、各出力リレーは出力バツフア
メモリの内容に対応してON、OFF制御される。
Then when routine R 11 is executed flag F 3
The contents of will be reset to “0”, and unless a program execution error or battery error occurs from then on,
The routine R 2 →R 3 →R 4 →R 6 →R 8 →R 9 →R 10 →R 11 is repeatedly executed, and each output relay is controlled ON and OFF according to the contents of the output buffer memory.

これに対して、プログラム実行エラー又はバツ
テリエラーが発生すると、ルーチンR4又はR6
実行結果はYESとなり引続きルーチンR5又はR7
が実行されてフラグF1又はF2は“1”にセツト
される。このため、次の実行回においてルーチン
R3が実行されるとフラグF4は“1”にセツトさ
れ、続いてルーチンR9の実行結果はYESとなつ
てルーチンR12が実行される。そして、出力バツ
フアメモリ内に記憶された各出力データは出力イ
ンターフエイス回路3への転送を禁じられ、同時
に出力インターフエイス回路3の各出力ビツトは
全て“0”にリセツトされる。この結果各出力リ
レーのON、OFF状態はその後出力バツフアメモ
リの内容に拘らず全てOFF状態に保持されるこ
とになる。尚、出力バツフアメモリの内容を出力
インターフエイス回路3へ転送しないためには、
例えば出力インターフエイス回路3を構成するデ
ータラツチ回路へラツチ指令信号が送出されるこ
とを禁ずることによつて行なわれ、さらに出力ビ
ツトを全て“0”にリセツトするには出力インタ
ーフエイス回路3内のラツチ回路を構成する各D
型フリツプフロツプを強制的にリセツトすること
により行なわれる。
On the other hand, if a program execution error or battery error occurs, the execution result of routine R 4 or R 6 will be YES and routine R 5 or R 7 will continue.
is executed and flag F1 or F2 is set to "1". Therefore, in the next execution, the routine
When R3 is executed, flag F4 is set to "1", then the execution result of routine R9 becomes YES and routine R12 is executed. Then, each output data stored in the output buffer memory is prohibited from being transferred to the output interface circuit 3, and at the same time, all output bits of the output interface circuit 3 are reset to "0". As a result, the ON and OFF states of each output relay are held in the OFF state regardless of the contents of the output buffer memory thereafter. In addition, in order not to transfer the contents of the output buffer memory to the output interface circuit 3,
For example, this is done by prohibiting the latch command signal from being sent to the data latch circuit that constitutes the output interface circuit 3, and furthermore, in order to reset all output bits to "0", the latch in the output interface circuit 3 is prohibited. Each D making up the circuit
This is done by forcing a reset of the type flip-flop.

以後、前述の如く出力インターフエイス回路3
を構成する各出力リレーのON、OFF状態はOFF
状態に保持されるが、一方出力バツフアメモリ内
においてはルーチンR3によるユーザプログラム
の実行に対応してデータの更新が継続的に行なわ
れている。すなわち、ユーザプログラム中にタイ
マ、カウンタ等が使用されているものとすれば、
これらの計時又は計数動作は平常通りに実行さ
れ、これらの実行結果に対応して出力バツフアメ
モリの内容も更新されている。
Thereafter, as described above, the output interface circuit 3
The ON/OFF state of each output relay that makes up the is OFF.
However, data in the output buffer memory is continuously updated in response to the execution of the user program by routine R3 . In other words, assuming that timers, counters, etc. are used in the user program,
These timing or counting operations are executed as usual, and the contents of the output buffer memory are also updated in accordance with the results of these executions.

従つて、任意の時点において押ボタンスイツチ
PBをオンすれば、ルーチンR3の実行によりフラ
グF4は“0”にリセツトされるとともにルーチ
ンR9の実行結果はNOとなつて出力バツフアメモ
リの内容は再び出力インターフエイス回路3へ転
送再開されることになるが、この際に出力インタ
ーフエイス回路3に転送される出力データは、プ
ログラム実行エラー又はバツテリエラーが生じな
かつたものとした場合の内容と同一のものとな
り、これを利用すれば例えば化学ブラント等にお
いて時間とともに反応が進行し、この反応進行状
態をカウンタの計数出力に対応させて出力機器を
制御するような場合等においても最適な制御を行
なうことができる。
Therefore, at any given time the pushbutton switch
When PB is turned on, flag F4 is reset to "0" by executing routine R3 , and the execution result of routine R9 becomes NO, and the contents of the output buffer memory are resumed being transferred to the output interface circuit 3. However, the output data transferred to the output interface circuit 3 at this time will be the same as if no program execution error or battery error had occurred, and if this is used, for example, Optimal control can be performed even in cases where a reaction progresses over time in a chemical blunt, etc., and an output device is controlled by making the reaction progress state correspond to the count output of a counter.

さらに、このPLCのプログラミングにおいて
は単にフラグF4を“1”とするための条件をラ
ダーダイアグラムで描き、これに基づいてプログ
ラムを作成するだけ済み、各出力リレーの動作条
件についてはプログラムすることが不要となり、
プログラム長を著しく減少させることができる。
Furthermore, in programming this PLC, you simply draw the conditions for setting flag F4 to "1" in a ladder diagram and create a program based on this, and the operating conditions of each output relay can be programmed. No longer needed,
Program length can be significantly reduced.

尚、この実施例においてはフラグF4が“1”
にセツトされた場合には、出力バツフアメモリか
ら出力インターフエイス回路3へのデータ転送を
禁ずるとともに出力インターフエイス回路3を強
制的にリセツトさせるようなシステムプログラム
を組んだが、出力インターフエイス回路をリセツ
トする替りにあらかじめ外部に各出力リレーの
ON、OFFパターンに対応する出力データを形成
しておき、これを出力インターフエイス回路へプ
リセツトするようなシステムプログラムを組み込
めば、各出力リレーを所定のパターンに従つて
ON、OFFさせることもできる。さらに、単にイ
ンターフエイス回路3への転送を禁止だけすれ
ば、各出力リレーをそれまでの動作状態に保持す
ることもできる。
In addition, in this embodiment, the flag F4 is "1".
We created a system program that prohibits data transfer from the output buffer memory to the output interface circuit 3 and forcibly resets the output interface circuit 3 when the output buffer memory is set to of each output relay externally in advance.
By creating output data corresponding to ON and OFF patterns and incorporating a system program that presets this data into the output interface circuit, each output relay can be configured to follow a predetermined pattern.
It can also be turned ON and OFF. Furthermore, by simply prohibiting transfer to the interface circuit 3, each output relay can be maintained in its previous operating state.

また、この実施例においてはフラグF4をセツ
ト又はリセツトするために、ユーザ命令において
キープリレーを対応させたが、これは単なる外部
リレーでもよく、さらにはタイマ、カウンタ等で
もよいことは勿論であり、さらにこれらの動作条
件としてもフラグF1〜F3等を使用することなく
入力信号あるいは出力リレーの補助接点を使用し
てもよい。
Furthermore, in this embodiment, a keep relay is used in the user command to set or reset the flag F4 , but it goes without saying that this may be a simple external relay, or even a timer, counter, etc. Furthermore, as these operating conditions, the input signal or the auxiliary contact of the output relay may be used without using the flags F 1 to F 3 and the like.

以上の実施例の説明でも明らかなように、この
発明に係るPLCはユーザ命令によりセツト又は
リセツトが可能なフラグを例えば状態記憶部内に
設けるとともに、中央処理装置側には上記フラグ
の内容に応じて出力バツフアメモリから出力イン
ターフエイス回路へのデータ転送を制御する出力
状態制御手段を設けることを特徴とするものであ
るから、例えば異常状態に対応して各出力端子の
状態を特定の内容に設定したりあるいは保持させ
たりする動作を最小の長さのユーザプログラムを
用いて実行させることができ、さらに上記異常状
態が回復した場合には、あたかも初めから異常状
態が存在しなかつたものと同様に各出力リレーを
動作させることができるものである。
As is clear from the above description of the embodiments, the PLC according to the present invention is provided with a flag that can be set or reset by a user command, for example, in the state storage section, and the central processing unit is provided with a flag that can be set or reset according to the contents of the flag. Since it is characterized by providing an output state control means for controlling data transfer from the output buffer memory to the output interface circuit, it is possible to set the state of each output terminal to a specific content in response to an abnormal state, for example. Alternatively, it is possible to execute an operation such as holding it using a user program of minimum length, and furthermore, when the above abnormal condition is recovered, each output is treated as if the abnormal condition never existed from the beginning. It is something that can operate a relay.

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

第1図は、この発明に係るPLCのシステム構
成を示すブロツク図、第2図は状態記憶部の構成
を模式的に示す図第3図はラダーダイアグラムの
一例を示す図、第4図はPLCの動作を説明する
ためのフローチヤートである。 1……中央処理装置、3……出力インターフエ
イス回路、4……プログラム記憶部、5……状態
記憶部、F4……条件フラグ、R8,R9,R11……シ
ステムプログラム。
FIG. 1 is a block diagram showing the system configuration of a PLC according to the present invention, FIG. 2 is a diagram schematically showing the configuration of a state storage section, FIG. 3 is a diagram showing an example of a ladder diagram, and FIG. 4 is a diagram showing a PLC system configuration. This is a flowchart for explaining the operation. DESCRIPTION OF SYMBOLS 1...Central processing unit, 3...Output interface circuit, 4...Program storage section, 5...State storage section, F4 ...Condition flag, R8 , R9 , R11 ...System program.

Claims (1)

【特許請求の範囲】[Claims] 1 ユーザプログラムを実行するたびに、この実
行により得られた出力データで出力バツフアメモ
リの内容を更新し、かつこの更新のたびに出力バ
ツフアメモリの内容を出力インターフエイス回路
へ転送するようにしたプログラマブル・ロジツ
ク・コントローラにおいて、ユーザ命令を使用し
て操作することができるフラグと、このフラグの
状態に応じて前記出力バツフアメモリから前記出
力インターフエイス回路への出力データの転送を
禁止する出力状態制御手段を設けたことを特徴と
するプログラマブル・ロジツク・コントローラ。
1. A programmable logic device that updates the contents of the output buffer memory with output data obtained by executing the user program each time the user program is executed, and transfers the contents of the output buffer memory to the output interface circuit each time the user program is executed. - The controller is provided with a flag that can be operated using a user command and an output state control means that prohibits the transfer of output data from the output buffer memory to the output interface circuit according to the state of this flag. A programmable logic controller characterized by:
JP56019814A 1981-02-13 1981-02-13 Programmable logical controller Granted JPS57134704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56019814A JPS57134704A (en) 1981-02-13 1981-02-13 Programmable logical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56019814A JPS57134704A (en) 1981-02-13 1981-02-13 Programmable logical controller

Publications (2)

Publication Number Publication Date
JPS57134704A JPS57134704A (en) 1982-08-20
JPS648841B2 true JPS648841B2 (en) 1989-02-15

Family

ID=12009788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56019814A Granted JPS57134704A (en) 1981-02-13 1981-02-13 Programmable logical controller

Country Status (1)

Country Link
JP (1) JPS57134704A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5947602A (en) * 1982-09-13 1984-03-17 Omron Tateisi Electronics Co Programmable controller
JPS62150434A (en) * 1985-12-24 1987-07-04 Nippon Denso Co Ltd Loop control type data processor

Also Published As

Publication number Publication date
JPS57134704A (en) 1982-08-20

Similar Documents

Publication Publication Date Title
CA1123108A (en) Integrated circuit controller programmable with unidirectional-logic instructions representative of sequential wire nodes and circuit elements of a ladder diagram
JPH1021085A (en) Computer system
EP0134610B1 (en) Domestic electrical appliance
JPS648841B2 (en)
US4379339A (en) Electronic timer
GB2286916A (en) A fault tolerant disk system and factory automation controller
US5590303A (en) Memory designation control device
US4943905A (en) Interfacing method in a numerical control apparatus
JPS5841381A (en) Program timer
JPS635402A (en) Programmable controller
JPS6236563B2 (en)
JPH09198266A (en) Process control system
JPS62259104A (en) Sequencer
JPS6033601A (en) Sequence controller
JPH03225145A (en) Control device for air conditioner
EP0293223A1 (en) Improvements relating to domestic appliances
JPS6289106A (en) Programmable controller
JPH0228801A (en) Control device for equipment
JPS6336320A (en) Programmable controller
JPH0310123B2 (en)
JPS63278103A (en) Programmable controller
JPH0435922Y2 (en)
JPS6334604A (en) Programmable controller
JPS6236569B2 (en)
JPH0311413A (en) Power supply disconnecting mechanism