JPH08147013A - Programmable controller - Google Patents
Programmable controllerInfo
- Publication number
- JPH08147013A JPH08147013A JP29025194A JP29025194A JPH08147013A JP H08147013 A JPH08147013 A JP H08147013A JP 29025194 A JP29025194 A JP 29025194A JP 29025194 A JP29025194 A JP 29025194A JP H08147013 A JPH08147013 A JP H08147013A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- data
- instruction
- register
- 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.)
- Granted
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
(57)【要約】
【目的】データ転送時間を短縮し、PCのスキャン実行
時間を短縮する。
【構成】シーケンス命令を実行するCPU1と、シーケ
ンス命令を格納するシーケンスプログラムメモリ4と、
CPUが実行するシーケンス命令をデコードし、入出力
レジスタをオペランドとするシーケンス命令及びCPU
が指定する種類の命令を検出する命令語デコード回路5
と、入出力レジスタへのデータの入出力を制御するコマ
ンド制御回路6と、入出力レジスタとデータ転送指示フ
ラグへの書き込みの許可不許可を示すデータバッファ7
と、入出力レジスタに存在したデータとシーケンス命令
実行後の書き込みデータが同一かを判定するデータ一致
検出回路8と、入出力モジュールとの転送データを格納
する入出力レジスタ9と、入出力モジュールとの間でデ
ータ転送を実行するか否かを指示するデータ転送指示フ
ラグ10とから成る。
(57) [Abstract] [Purpose] To reduce the data transfer time and PC scan execution time. [Structure] A CPU 1 for executing a sequence command, a sequence program memory 4 for storing the sequence command,
A sequence instruction having an I / O register as an operand, which decodes a sequence instruction executed by the CPU, and a CPU
Instruction word decoding circuit 5 for detecting the type of instruction specified by
And a command control circuit 6 for controlling input / output of data to / from the input / output register, and a data buffer 7 indicating permission / non-permission of writing to the input / output register and the data transfer instruction flag.
A data coincidence detection circuit 8 for determining whether the data existing in the input / output register and the write data after execution of the sequence instruction are the same; the input / output register 9 for storing transfer data with the input / output module; and the input / output module. And a data transfer instruction flag 10 for instructing whether or not to execute data transfer between them.
Description
【0001】[0001]
【産業上の利用分野】本発明は鉄鋼、製紙プラントや上
下水道などの公共システム、自動車産業など、産業用シ
ステムの制御に広く使用されているプログラマブルコン
トローラに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller widely used for controlling industrial systems such as steel, public systems such as paper manufacturing plants and water and sewage systems, and automobile industry.
【0002】[0002]
【従来の技術】プログラマブルコントローラ(以下、P
Cと略す)は通常、制御対象の状態を電気信号に変換し
て入力する入力モジュールと、制御対象の制御の為のア
クチュエータ等を動作させるために電気信号を周辺機器
に適した信号レベルに変換する出力モジュールを持ち、
入出力モジュール(以下、I/Oと略す)はI/Oバス
によってPCからデータとなる電気信号を授受してい
る。2. Description of the Related Art Programmable controllers (hereinafter referred to as P
(Abbreviated as C) is usually an input module that converts the state of the controlled object into an electric signal and inputs it, and converts the electric signal into a signal level suitable for the peripheral device in order to operate an actuator or the like for controlling the controlled object. Have an output module that
An input / output module (hereinafter abbreviated as I / O) sends and receives an electrical signal as data from a PC via an I / O bus.
【0003】PCの入出力モジュールと入出力レジスタ
は図6に示すように、1対1に対応しており、PCが実
行するシーケンスプログラムの結果は一時、出力レジス
タに書き込まれ、一連のプログラムが実行された後に、
まとめて出力モジュールに対して出力される。また、P
Cがプログラム内で使用する外部からのデータは、プロ
グラム実行前に入力モジュールから入力レジスタに対し
て入力され、プログラム実行時には、この入力レジスタ
の内容が使用される。このように、プログラムの実行の
間にまとめて入出力レジスタと入出力モジュールとの間
で転送することを一括入出力と呼んでいる。As shown in FIG. 6, the input / output modules and input / output registers of the PC have a one-to-one correspondence, and the result of the sequence program executed by the PC is temporarily written in the output register, and a series of programs are created. After being executed
The data is collectively output to the output module. Also, P
External data used by C in the program is input to the input register from the input module before the program is executed, and the contents of the input register are used when the program is executed. Such collective transfer between the input / output register and the input / output module during the execution of the program is called collective input / output.
【0004】[0004]
【発明が解決しようとする課題】一般に中型のPCは約
1000点程度のI/Oを使用する。この点数の入出力
を実行するためには通常64ワード(1ワード=16ビ
ット)のデータ転送が必要となる。I/Oのデータ転送
時間はメモリのデータ転送時間と比較して100倍程度
遅いのが普通であり、一括入出力の時間はスキャン実行
の大きな負荷となる。更に伝送モジュールのようなイン
テリジェントI/Oでは、占有する入出力レジスタが1
000ワード程度になるので、特に影響が大きい。Generally, a medium-sized PC uses about 1000 I / O points. In order to execute input / output of this point, data transfer of 64 words (1 word = 16 bits) is usually required. The I / O data transfer time is usually about 100 times slower than the memory data transfer time, and the batch input / output time is a heavy load for scan execution. Furthermore, in an intelligent I / O such as a transmission module, the occupied input / output register is 1
Since it is about 000 words, the influence is particularly great.
【0005】本発明は上記の事情に鑑みてなされたもの
で、PCの入出力レジスタと入出力モジュールとの間の
データ転送において、プログラム実行中にシーケンス命
令のオペランドを監視し、かつCPUの実行状態を判別
してデータ転送が必要な入出力レジスタを検出し、デー
タ転送量を必要最小限にすることにより、データ転送時
間を短縮し、PCのスキャン実行時間を短縮することを
目的としている。The present invention has been made in view of the above circumstances. In data transfer between an input / output register of a PC and an input / output module, an operand of a sequence instruction is monitored during execution of a program, and execution of a CPU is executed. An object of the present invention is to reduce the data transfer time and the scan execution time of the PC by determining the state and detecting the input / output register that needs the data transfer and minimizing the data transfer amount.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に本発明の請求項1に係るプログラマブルコントロ−ラ
では、入出力モジュールとの転送データを格納する入出
力レジスタと、入出力レジスタ内の各レジスタと対応
し、入出力モジュールとの間でデータ転送を実行するか
否かを指示するデータ転送指示フラグと、シーケンス命
令を実行するCPUと、上記CPUが実行するシーケン
ス命令をデコードし、上記入出力レジスタをオペランド
とするシーケンス命令及び上記CPUが指定する種類の
命令を検出する命令デコード回路と、上記命令デコード
回路の出力および上記CPUのシーケンス命令実行状態
に基づいて、上記入出力レジスタへのデータの入出力を
制御するコマンド制御回路と、上記入出力レジスタと上
記データ転送指示フラグへの書き込みの許可不許可を示
すデータバッファと、上記CPUがシーケンス命令を実
行する際に、上記入出力レジスタに存在したデータとシ
ーケンス命令実行後の書き込みデータが同一かを判定す
るデータ一致検出回路とを具備したことを特徴とする。In order to achieve the above object, in a programmable controller according to claim 1 of the present invention, an input / output register for storing transfer data with an input / output module and an internal input / output register A data transfer instruction flag corresponding to each register and instructing whether or not to execute data transfer with the input / output module, a CPU executing a sequence instruction, and a sequence instruction executed by the CPU are decoded to Based on the output of the instruction decode circuit and the sequence instruction execution state of the CPU, a sequence instruction using a write output register as an operand and an instruction decode circuit for detecting an instruction of the type specified by the CPU A command control circuit for controlling data input / output, the input / output register and the data transfer instruction flow Data buffer that indicates whether or not writing to the memory is permitted, and when the CPU executes the sequence instruction, the data match detection that determines whether the data existing in the input / output register and the write data after the execution of the sequence instruction are the same. And a circuit.
【0007】本発明の請求項2に係るプログラマブルコ
ントロ−ラでは、請求項1に記載のプログラマブルコン
トローラにおいて、上記命令デコード回路が検出するシ
ーケンス命令を、オペランドが入出力レジスタで書き込
み動作であるシーケンス命令とすることにより、上記コ
マンド制御回路と上記データバッファにより該当する入
出力レジスタからデータを読みだし、CPUからの書き
込みデータと比較することにより、入出力レジスタの内
容が変化したかどうかを入出力レジスタ毎に判定し、変
化した場合には上記入出力レジスタにデータ転送指示の
フラグをセットし、入出力レジスタと入出力モジュール
との間でデータの交換を行う際に、上記データ転送指示
フラグがセットされている入出力レジスタのみについて
入出力モジュールとの間でデータ転送を実行することを
特徴とする。In a programmable controller according to a second aspect of the present invention, in the programmable controller according to the first aspect, the sequence instruction detected by the instruction decoding circuit is a sequence instruction whose operand is a write operation in an input / output register. By doing so, the command control circuit and the data buffer read data from the corresponding input / output register and compare it with the write data from the CPU to determine whether the content of the input / output register has changed. The data transfer instruction flag is set in the input / output register when it is changed, and the data transfer instruction flag is set when data is exchanged between the input / output register and the input / output module. I / O module only for registered I / O registers And executes the data transfer between.
【0008】本発明の請求項3に係るプログラマブルコ
ントロ−ラでは、請求項1に記載のプログラマブルコン
トローラにおいて、上記命令デコード回路が検出するシ
ーケンス命令を、オペランドが入出力レジスタで読み込
み動作であるシーケンス命令とすることにより、シーケ
ンスプログラム中で使用された入出力レジスタにのみデ
ータ転送フラグをセットし、上記データ転送フラグがセ
ットされた入出力レジスタに対応する入出力モジュール
のみからデータ転送を実行することを特徴とする。In a programmable controller according to a third aspect of the present invention, in the programmable controller according to the first aspect, the sequence instruction detected by the instruction decoding circuit is a sequence instruction whose operand is a read operation in an input / output register. As a result, the data transfer flag is set only in the I / O register used in the sequence program, and the data transfer is executed only from the I / O module corresponding to the I / O register in which the data transfer flag is set. Characterize.
【0009】本発明の請求項4に係るプログラマブルコ
ントロ−ラでは、請求項1に記載のプログラマブルコン
トローラにおいて、工程歩進型のシーケンスプログラム
を実行する際に、上記命令デコード回路が検出するシー
ケンス命令を、入出力レジスタをオペランドとして持
つ、工程間の遷移条件の判定命令とし、更にCPUのシ
ーケンス命令実行状態を判定することにより、その工程
が現在、遷移の可能性がある状態であるときのみ、該シ
ーケンス命令が使用する入出力レジスタにデータ転送指
示フラグをセットすることにより、工程歩進型のプログ
ラムにおいて、遷移の可能性がある部分についてのみ、
入出力モジュールから必要なデータを入力させることに
より、データの転送量を削減し、データ転送時間を短縮
させて高速にシーケンス実行を行うことを特徴とする。In a programmable controller according to a fourth aspect of the present invention, in the programmable controller according to the first aspect, the sequence instruction detected by the instruction decoding circuit when executing the step step sequence program is executed. , Which has an input / output register as an operand, is a transition condition determination instruction between steps, and further determines the sequence instruction execution state of the CPU, so that only when the step is currently in a state in which there is a possibility of transition, By setting the data transfer instruction flag in the I / O register used by the sequence instruction, in the step-progressing type program, only the portion that may have a transition,
By inputting necessary data from the input / output module, the amount of data transfer is reduced, the data transfer time is shortened, and sequence execution is performed at high speed.
【0010】本発明の請求項5に係るプログラマブルコ
ントロ−ラでは、請求項1に記載のプログラマブルコン
トローラにおいて、CPUから出力を指定可能な出力ポ
ートを設け、上記出力ポートの出力信号を上記命令デコ
ード回路の入力とし、上記出力ポートの出力信号にした
がって、任意にデータ転送指示フラグをセットさせるよ
うに構成することにより、CPUが指定した範囲の入出
力レジスタを強制的にデータ更新させることを特徴とす
る。In a programmable controller according to a fifth aspect of the present invention, in the programmable controller according to the first aspect, an output port capable of designating an output from the CPU is provided, and the output signal of the output port is the instruction decoding circuit. The data transfer instruction flag is arbitrarily set in accordance with the output signal of the output port and the data is forcedly updated in the input / output register in the range designated by the CPU. .
【0011】本発明の請求項6に係るプログラマブルコ
ントロ−ラでは、請求項5に記載のプログラマブルコン
トローラにおいて、特定のI/Oモジュールに対応する
入出力レジスタの範囲を判定するI/Oアドレス判定回
路を設け、上記I/Oアドレス判定回路の出力を前記コ
マンド制御回路の入力とすることにより、特定のI/O
に対応する入出力レジスタとI/Oモジュール間のデー
タ更新をCPUの指示により強制的に許可・禁止させる
ことを特徴とする。In a programmable controller according to a sixth aspect of the present invention, in the programmable controller according to the fifth aspect, an I / O address determination circuit for determining the range of the input / output register corresponding to a specific I / O module. Is provided and the output of the I / O address determination circuit is used as the input of the command control circuit.
It is characterized by forcibly permitting / prohibiting the data update between the input / output register corresponding to and the I / O module according to the instruction of the CPU.
【0012】[0012]
【作用】本発明の請求項1に係るプログラマブルコント
ロ−ラでは、外部のI/Oと入出力レジスタを介してデ
ータ転送を実行するPCにおいて、CPUが実行するシ
ーケンス命令を常時監視し、入出力レジスタをオペラン
ドとするシーケンス命令や、CPUが指定する特定の命
令を検出する命令デコード回路を設け、この命令デコー
ド回路の出力およびCPU内部のシーケンス命令実行状
態を総合的に判断して、入出力レジスタへのデータの入
出力を制御するコマンド制御回路に指示を与え、入出力
レジスタに接続されるデータバッファを制御してCPU
がシーケンス命令の実行結果を入出力レジスタに書き込
む際に入出力レジスタに元々存在したデータと、シーケ
ンス命令実行後の書き込みデータが同一かをデータ一致
検出回路により検出し、データが変化した場合にはデー
タ転送指示のフラグをセットし、入出力レジスタと入出
力モジュールとの間でデータの交換を行う際に、データ
転送指示フラグがセットされている入出力レジスタのみ
について入出力モジュールとの間でデータ転送を実行す
ることにより、データ転送時間を短縮することを可能と
する。In the programmable controller according to the first aspect of the present invention, in the PC which executes data transfer via the external I / O and the input / output register, the sequence instruction executed by the CPU is constantly monitored and input / output is performed. An input / output register is provided with an instruction decode circuit that detects a sequence instruction using a register as an operand and a specific instruction specified by the CPU, and comprehensively determines the output of this instruction decode circuit and the sequence instruction execution state inside the CPU, CPU to control the data buffer connected to the input / output register by giving an instruction to the command control circuit that controls the input / output of data to / from
Detects whether the data originally existing in the I / O register when writing the execution result of the sequence instruction to the I / O register is the same as the write data after execution of the sequence command, and if the data changes, When the data transfer instruction flag is set and data is exchanged between the input / output register and the input / output module, only the input / output register for which the data transfer instruction flag is set The data transfer time can be shortened by executing the transfer.
【0013】本発明の請求項2に係るプログラマブルコ
ントロ−ラでは、CPUがシーケンス命令を実行する際
に、オペランドが入出力レジスタであり、かつ書き込み
動作であった場合に、上記コマンド制御回路とデータバ
ッファにより該当する入出力レジスタからデータを読み
だし、CPUからの書き込みデータと比較することによ
り、入出力レジスタの内容が変化したかどうかを入出力
レジスタ毎に判定し、変化した場合には上記入出力レジ
スタにデータ転送指示のフラグをセットし、入出力レジ
スタと入出力モジュールとの間でデータの交換を行う際
に、上記データ転送指示フラグがセットされている入出
力レジスタのみについて入出力モジュールとの間でデー
タ転送を実行することにより、データ転送時間を短縮す
ることを特徴とする。In a programmable controller according to a second aspect of the present invention, when the CPU executes a sequence instruction, if the operand is an input / output register and a write operation, the command control circuit and the data are written. By reading the data from the corresponding I / O register by the buffer and comparing it with the write data from the CPU, it is judged for each I / O register whether or not the contents of the I / O register have changed. When the data transfer instruction flag is set in the output register and data is exchanged between the input / output register and the input / output module, only the input / output module with the data transfer instruction flag set The data transfer time is shortened by executing data transfer between .
【0014】本発明の請求項3に係るプログラマブルコ
ントロ−ラでは、命令デコード回路が検出するシーケン
ス命令を、入力レジスタをオペランドに持つシーケンス
命令とすることにより、シーケンスプログラム中で使用
された入力レジスタにのみデータ転送フラグをセット
し、上記入力レジスタに対応する入力モジュールのみか
らデータ転送を実行することにより、入出力モジュール
と入出力レジスタ間のデータ転送時間を短縮することを
特徴とする。In the programmable controller according to claim 3 of the present invention, the sequence instruction detected by the instruction decoding circuit is a sequence instruction having an input register as an operand, so that the input register used in the sequence program A data transfer time between the input / output module and the input / output register is shortened by setting the data transfer flag only and executing the data transfer only from the input module corresponding to the input register.
【0015】本発明の請求項4に係るプログラマブルコ
ントロ−ラでは、工程歩進型のシーケンスプログラムを
実行する際に、上記命令デコード回路が検出するシーケ
ンス命令を、入出力レジスタをオペランドとして持つ、
工程間の遷移条件の判定命令とし、更にCPUのシーケ
ンス命令実行状態を判定することにより、その工程が現
在、遷移の可能性がある状態であるときのみ、該シーケ
ンス命令が使用する入出力レジスタにデータ転送指示フ
ラグをセットすることにより、工程歩進型のプログラム
において、遷移の可能性がある部分についてのみ、入出
力モジュールから必要なデータを入力させることによ
り、データの転送量を削減し、データ転送時間を短縮さ
せて高速にシーケンス実行を行うことを特徴とする。In the programmable controller according to the fourth aspect of the present invention, the sequence instruction detected by the instruction decoding circuit when executing the step step sequence program has an input / output register as an operand.
By determining the transition condition between steps and determining the sequence instruction execution state of the CPU, the input / output registers used by the sequence instruction can be changed only when the step is currently in a state in which there is a possibility of transition. By setting the data transfer instruction flag, the data transfer amount can be reduced by inputting the necessary data from the input / output module only for the parts that may have transitions in the process step program. The feature is that the transfer time is shortened and the sequence is executed at high speed.
【0016】本発明の請求項5に係るプログラマブルコ
ントロ−ラでは、CPUから出力を指定可能な出力ポー
トを設け、上記出力ポートの出力信号を前記命令デコー
ド回路の入力とし、上記出力ポートの出力信号にしたが
って、任意にデータ転送指示フラグをセットさせるよう
に構成することにより、CPUが指定した範囲の入出力
レジスタを強制的にデータ更新させるように構成するこ
とにより、スキャン実行にて使用されなかった入出力レ
ジスタに対応する入出力モジュールとのデータ転送も可
能にしたことを特徴とする。In a programmable controller according to a fifth aspect of the present invention, an output port capable of designating an output from a CPU is provided, and an output signal of the output port is used as an input of the instruction decoding circuit, and an output signal of the output port is output. According to the above, by configuring the data transfer instruction flag to be arbitrarily set, the CPU is configured to forcibly update the data of the input / output register in the range specified, and thus it was not used in the scan execution. The feature is that data transfer with the input / output module corresponding to the input / output register is also possible.
【0017】本発明の請求項6に係るプログラマブルコ
ントロ−ラでは、特定のI/Oモジュールに対応する入
出力レジスタの範囲を判定するI/Oアドレス判定回路
を設け、I/O判定回路の出力をコマンド制御回路の入
力とすることにより、特定I/Oに対応する入出力レジ
スタとI/Oモジュール間のデータ更新を、CPUの指
示により強制的に許可・禁止させることにより、伝送モ
ジュール他の大容量の入出力レジスタを持つインテリジ
ェントI/Oモジュールとの間のデータ転送を、モジュ
ールの使用状態にしたがって許可、禁止することによ
り、データ転送時間を短縮することを特徴とする。In the programmable controller according to claim 6 of the present invention, an I / O address judging circuit for judging the range of the input / output register corresponding to a specific I / O module is provided, and the output of the I / O judging circuit is provided. Is input to the command control circuit, the data update between the I / O module and the I / O module corresponding to the specific I / O is forcibly permitted / inhibited by the instruction of the CPU. The data transfer time is shortened by permitting and prohibiting data transfer with an intelligent I / O module having a large-capacity input / output register according to the usage status of the module.
【0018】[0018]
【実施例】本発明の要部構成の一実施例を図1に示す。
図1において、プログラマブルコントロ−ラはシーケン
ス命令を実行するCPU1と、CPUバス2と、システ
ムメモリ3と、シーケンス命令を格納するシーケンスプ
ログラムメモリ4と、CPUが実行するシーケンス命令
をデコードし、入出力レジスタをオペランドとするシー
ケンス命令及びCPUが指定する種類の命令を検出する
命令語デコード回路5と、入出力レジスタへのデータの
入出力を制御するコマンド制御回路6と、入出力レジス
タとデータ転送指示フラグへの書き込みの許可不許可を
示すデータバッファ7と、入出力レジスタに存在したデ
ータとシーケンス命令実行後の書き込みデータが同一か
を判定するデータ一致検出回路8と、入出力モジュール
との転送データを格納する入出力レジスタ9と、入出力
モジュールとの間でデータ転送を実行するか否かを指示
するデータ転送指示フラグ10と、I/Oバスバッファ
11と、I/Oバス12と、I/Oモジュール13と、
出力ポート14と、I/Oアドレス判定回路15とであ
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the main structure of the present invention.
In FIG. 1, the programmable controller decodes the sequence instruction executed by the CPU, the CPU 1 for executing the sequence instruction, the CPU bus 2, the system memory 3, the sequence program memory 4 for storing the sequence instruction, and the input / output. An instruction word decoding circuit 5 for detecting a sequence instruction having a register as an operand and an instruction of a type designated by the CPU, a command control circuit 6 for controlling input / output of data to / from the input / output register, an input / output register and a data transfer instruction. A data buffer 7 indicating whether or not writing to the flag is permitted, a data match detection circuit 8 for determining whether the data existing in the input / output register and the write data after execution of the sequence instruction are the same, and the transfer data between the input / output module Between the I / O register 9 that stores A data transfer instruction flag 10 for indicating whether or not to execute data transfer, the I / O bus buffer 11, the I / O bus 12, the I / O modules 13,
The output port 14 and the I / O address determination circuit 15.
【0019】データ転送指示フラグ10は図2に示す様
に入出力レジスタ9内のレジスタと1対1に対応してい
る。本実施例において、CPU1は、シーケンス演算回
路16と、シーケンス回路16のON/OFFを表現す
るビットアキュムレータ17を有している。CPU1
は、I/Oモジュール13からデータを入力し、入出力
レジスタ9に格納する。その後、シーケンスプログラム
メモリ4からシーケンス命令を読みだし、シーケンス演
算回路16にて演算する。シーケンス回路の出力状態は
ビットアキュムレータ17に格納されている。シーケン
ス命令の中で、結果が入出力モジュールに出力されるも
のはデータが入出力レジスタ9に書き込まれ、シーケン
スプログラム実行後の一括入出力時に入出力モジュール
13に出力されるのである。上記の動作を繰り返すこと
により、シーケンスプログラムは実行されていく。The data transfer instruction flag 10 has a one-to-one correspondence with the register in the input / output register 9 as shown in FIG. In the present embodiment, the CPU 1 has a sequence operation circuit 16 and a bit accumulator 17 that expresses ON / OFF of the sequence circuit 16. CPU1
Inputs data from the I / O module 13 and stores it in the input / output register 9. After that, the sequence instruction is read from the sequence program memory 4 and the sequence operation circuit 16 performs the operation. The output state of the sequence circuit is stored in the bit accumulator 17. Among the sequence instructions, the result output to the input / output module is that the data is written in the input / output register 9 and is output to the input / output module 13 at the time of batch input / output after the execution of the sequence program. The sequence program is executed by repeating the above operation.
【0020】ここで、シーケンス命令をシーケンスプロ
グラムメモリ4から読みだした際に、その命令コードを
CPU1ばかりでなく命令語デコード回路5にも入力さ
せ、シーケンス命令のオペランドが入出力レジスタの書
き込み信号かどうかを判定させる。このとき、コマンド
制御回路6には命令語デコード回路5から動作開始信号
が出力される。コマンド制御回路6はこの状態でCPU
1から書き込み信号が出力されたときに図3のタイミン
グチャートに示すようなコマンド信号を生成し、入出力
レジスタ9及びデータ転送フラグ10に出力する。Here, when the sequence instruction is read from the sequence program memory 4, the instruction code is input not only to the CPU 1 but also to the instruction word decoding circuit 5 so that the operand of the sequence instruction is a write signal of the input / output register. Let me judge. At this time, the command decoding circuit 5 outputs an operation start signal to the command control circuit 6. In this state, the command control circuit 6 is the CPU
When the write signal is output from 1, the command signal as shown in the timing chart of FIG. 3 is generated and output to the input / output register 9 and the data transfer flag 10.
【0021】図3に示すようにコマンド制御回路6はC
PU1からの書き込み信号をまず、入出力レジスタへの
読みだし信号へと変換する。このとき、データバッファ
7はデータ通過禁止状態となっている。従って入出力レ
ジスタ9からの読みだしデータはデータ一致検出回路8
へと出力される。このときデータ一致検出回路10へは
CPUからのデータも直接入力されており、ここで両者
のデータの比較が行われる。この比較結果は一致信号と
なり、データ転送指示フラグ10へと入力されている。As shown in FIG. 3, the command control circuit 6 is C
The write signal from PU1 is first converted into a read signal to the input / output register. At this time, the data buffer 7 is in a data passage prohibited state. Therefore, the data read from the input / output register 9 is the data coincidence detection circuit 8
Is output to. At this time, the data from the CPU is also directly input to the data coincidence detection circuit 10, and the data of both are compared here. This comparison result becomes a coincidence signal, which is input to the data transfer instruction flag 10.
【0022】次にコマンド制御回路6は入出力レジスタ
9への読みだし信号の出力を停止し、CPU1からの書
き込み信号をそのまま入出力レジスタ9とデータ転送指
示フラグ10へと出力する。この時点で、データバッフ
ァ7はデータ通過許可状態となり、入出力レジスタ9へ
はCPUからのデータが、データ転送指示フラグ10へ
はデータ一致検出回路8からの一致信号(有効なのは不
一致信号)が書き込まれる。データ転送指示フラグ10
は一旦有効な不一致信号が書き込まれたあとは、CPU
からのリセット信号による他は無効にされない。Next, the command control circuit 6 stops the output of the read signal to the input / output register 9, and outputs the write signal from the CPU 1 as it is to the input / output register 9 and the data transfer instruction flag 10. At this point, the data buffer 7 is in the data passage permitting state, the data from the CPU is written in the input / output register 9, and the match signal (the valid mismatch signal) from the data match detection circuit 8 is written in the data transfer instruction flag 10. Be done. Data transfer instruction flag 10
Once the valid mismatch signal is written, the CPU
Nothing else is disabled by the reset signal from.
【0023】従って、一旦入出力レジスタ9のあるレジ
スタに対し新データが書き込まれるとその後のプログラ
ムにて再度同一の入出力レジスタが使用され、入出力レ
ジスタの現在の内容と同一のデータが書き込まれても、
そのデータは最終的には入出力モジュール13へと出力
される。一括入出力が完了するとCPU1はリセット信
号を出力してデータ転送指示フラグ10をリセットし、
次のスキャンに備える。Therefore, once new data is written to a register having the input / output register 9, the same input / output register is used again in the subsequent program, and the same data as the current contents of the input / output register is written. Even
The data is finally output to the input / output module 13. When the batch input / output is completed, the CPU 1 outputs a reset signal to reset the data transfer instruction flag 10,
Prepare for the next scan.
【0024】以上、説明したように、本実施例のPCで
はCPU1が入出力レジスタ9に対して書き込みをする
場合は全て命令語デコード回路によって検出され、デー
タバッファ7とコマンド制御回路6の動作により、入出
力レジスタ9内の書き込み前のデータと、CPU1から
の書き込みデータが同一かどうかを判定し、同一でなか
った場合のみ各入出力レジスタに対応したデータ転送指
示フラグ10をセットしている。一括入出力時にはこの
データ転送指示フラグ10がセットされた入出力レジス
タに対応するI/Oモジュール13のみにデータを出力
するようにして、データの変化がなかったI/Oに対し
ては一括入出力動作を行わないこととし、一括入出力の
時間を短縮してトータルのスキャン実行時間の短縮を図
ることができる。As described above, in the PC of this embodiment, when the CPU 1 writes to the input / output register 9, it is detected by the instruction word decoding circuit, and by the operation of the data buffer 7 and the command control circuit 6. It is determined whether or not the data in the input / output register 9 before writing and the write data from the CPU 1 are the same. Only when they are not the same, the data transfer instruction flag 10 corresponding to each input / output register is set. At the time of batch input / output, the data is output only to the I / O module 13 corresponding to the input / output register in which the data transfer instruction flag 10 is set, and the batch input / output is performed for the I / O whose data has not changed. Since the output operation is not performed, the batch input / output time can be shortened and the total scan execution time can be shortened.
【0025】次に一括入出力での入力時間を短縮する方
法について説明する。シーケンス命令をシーケンスプロ
グラムメモリ4から読みだした際に、その命令コードを
CPU1ばかりでなく命令語デコード回路5にも入力さ
せ、命令デコード回路5が検出する命令を入出力レジス
タ9から読みだしを行う命令と設定する。このとき、コ
マンド制御回路6には命令語デコード回路5から動作開
始信号が出力される。Next, a method of shortening the input time in batch input / output will be described. When the sequence instruction is read from the sequence program memory 4, the instruction code is input not only to the CPU 1 but also to the instruction word decoding circuit 5, and the instruction detected by the instruction decoding circuit 5 is read from the input / output register 9. Set as a command. At this time, the command decoding circuit 5 outputs an operation start signal to the command control circuit 6.
【0026】このとき、コマンド制御回路6及びデータ
一致検出回路8の動作は図4のように変更される。CP
U1からの読みだしコマンドは入出力レジスタ9への読
みだしコマンドとなるが、このときデータ一致検出回路
8の出力は強制的に有効(不一致状態)となり、入力レ
ジスタに対応するデータ転送指示フラグ8がセットされ
る。このようにしてシーケンスプログラムを最後まで実
行することにより、プログラム内で使用された入力レジ
スタについてのみ、一括入力が実行されることになり、
不要な入出力モジュールからデータを入力することがな
くなりデータ転送が効率化される。At this time, the operations of the command control circuit 6 and the data coincidence detection circuit 8 are changed as shown in FIG. CP
The read command from U1 becomes a read command to the input / output register 9, but at this time, the output of the data match detection circuit 8 is forcibly enabled (mismatch state), and the data transfer instruction flag 8 corresponding to the input register. Is set. By executing the sequence program to the end in this way, batch input will be executed only for the input registers used in the program,
Data is not input from unnecessary I / O modules, and data transfer is made efficient.
【0027】次に工程歩進型プログラムを実行する場合
の動作について説明する。ここで工程歩進型プログラム
は図5に示すようなSFC(シーケンシャルファンクシ
ョンチャート)式のプログラムとする。SFCでは工程
は遷移条件で接続されており遷移条件が成立すると次の
工程へと制御が進むようになっている。Next, the operation when executing the step progress type program will be described. Here, the process step program is an SFC (sequential function chart) type program as shown in FIG. In SFC, processes are connected under a transition condition, and when the transition condition is satisfied, control proceeds to the next process.
【0028】今、図5において工程Nが実行中であると
する。このとき、シーケンス演算では出力がON(=
1)となるのは工程Nと遷移条件Nに対応するシーケン
ス命令だけである。このときシーケンス演算の出力状態
を示すビットアキュムレータ1−2はONとなる。Now, assume that step N is being executed in FIG. At this time, the output is ON (=
1) is only the sequence instruction corresponding to the process N and the transition condition N. At this time, the bit accumulator 1-2 indicating the output state of the sequence operation is turned on.
【0029】従って、これ以外の工程のプログラムでは
シーケンス演算出力は必ずOFFなので入力レジスタが
どのような値であってもシーケンス命令で使用されるこ
とはないので入力モジュールから読み込む必要もないこ
とになる。例えば遷移条件Nは(IW001=100)
という条件だとすると、このSFCプログラムは入力レ
ジスタIW001が100という値になるまで、毎スキ
ャン入力モジュールのデータを調べ、条件が満足された
ときに工程N+1へ遷移することになる。このとき工程
Nの出力はすべてOFF(=0)にされる。Therefore, in the programs of the other processes, the sequence operation output is always OFF, so that no matter what value the input register has, it is not used in the sequence instruction, and it is not necessary to read it from the input module. . For example, the transition condition N is (IW001 = 100)
Under this condition, the SFC program checks the data of each scan input module until the input register IW001 reaches a value of 100, and when the condition is satisfied, the process proceeds to step N + 1. At this time, all outputs of the process N are turned off (= 0).
【0030】そこで、工程歩進型プログラムを実行する
際には、命令デコード回路5の検出する命令を入出力レ
ジスタ9をオペランドとする遷移条件命令とし、さらに
BR1−2がONのときのみデータ転送指示フラグ10
がセットされるように設定することにより、一括入出力
の対象となる入出力モジュールは、現在実行中の工程お
よび遷移条件に関連する入出力モジュールとなるので、
データの転送量は大幅に削減可能となる。以上のように
してデータ転送時間が短縮できる。Therefore, when executing the step step program, the instruction detected by the instruction decoding circuit 5 is used as a transition condition instruction having the input / output register 9 as an operand, and data is transferred only when BR1-2 is ON. Instruction flag 10
By setting so that, the input / output module that is the target of batch input / output becomes the input / output module related to the process and transition condition currently being executed.
The data transfer amount can be significantly reduced. As described above, the data transfer time can be shortened.
【0031】次にCPU1から任意の入出力レジスタの
データ転送を許可・禁止する方法について説明する。以
上に述べた方法では一括入出力の対象となるのは直前の
スキャン実行にて使用された入出力レジスタに対応する
入出力モジュールのみであったが、実際のPCのプログ
ラムには割り込みプログラムのように突然実行されるプ
ログラムもある。Next, a method of permitting / prohibiting data transfer from the CPU 1 to any input / output register will be described. In the method described above, the target of batch input / output is only the input / output module corresponding to the input / output register used in the immediately preceding scan execution. Some programs run suddenly in.
【0032】このようなプログラムが実行されたとき、
その中で使用される入出力レジスタが以前のスキャン実
行に使用されていなかったから入出力レジスタの内容が
更新されていないのでは不都合が生じる。そこで、CP
U1から任意に更新する入出力レジスタを設定できる出
力ポート14を設け、その出力を命令デコード回路5の
入力にしてデコード動作を選択できるように構成するこ
とによりCPUが指定した範囲の入出力レジスタを強制
的にデータ更新させるようにする。このようにすること
により、前回のスキャン実行にて使用されなかった入出
力レジスタに対応する入出力モジュールとのデータ転送
も可能となる。When such a program is executed,
Since the I / O register used therein has not been used for the previous scan execution, it is inconvenient if the contents of the I / O register are not updated. So CP
By providing an output port 14 capable of setting an input / output register to be arbitrarily updated from U1, and by using the output thereof as an input of the instruction decoding circuit 5 to select a decoding operation, the input / output register in the range designated by the CPU is set. Force the data to be updated. By doing so, it becomes possible to transfer data to the input / output module corresponding to the input / output register not used in the previous scan execution.
【0033】次に特定のI/Oモジュールに対応する入
出力レジスタのデータ更新を制御する方法について説明
する。PCでは伝送モジュールやパソコンモジュールの
ように入出力レジスタを大量に占有するモジュールが存
在する。このようなモジュールは例えば伝送モジュール
の様なものだと、2系統の伝送モジュールが使用されて
おり、一方の系統バックアップとして、どちらかを選択
して使用する場合がある。このようなときには特定のI
/Oモジュールに対応した入出力レジスタの領域を選択
して一括入出力の対象とすることが有効である。Next, a method of controlling the data update of the input / output register corresponding to a specific I / O module will be described. In a PC, there are modules that occupy a large amount of input / output registers, such as a transmission module and a personal computer module. If such a module is, for example, a transmission module, two transmission modules are used, and one of them may be selected and used as a backup for one system. In such a case, I
It is effective to select the area of the input / output register corresponding to the / O module and make it the target of batch input / output.
【0034】そこで、図1に示すようにI/Oアドレス
判定回路15を設け、CPU1から指定したI/Oモジ
ュールに対応する入出力レジスタのアドレスがシーケン
ス命令オペランドとして検出された場合に、データ転送
指示フラグのセットを許可することによりデータ転送量
をI/Oモジュール単位で制御しデータ転送時間を短縮
することを可能にする。Therefore, as shown in FIG. 1, an I / O address determination circuit 15 is provided to transfer data when the address of the input / output register corresponding to the I / O module designated by the CPU 1 is detected as a sequence instruction operand. By permitting the setting of the instruction flag, the data transfer amount can be controlled in I / O module units and the data transfer time can be shortened.
【0035】[0035]
【発明の効果】以上に説明したように、本発明の請求項
1のプログラマブルコントローラによれば、CPUがシ
ーケンス命令の実行結果を入出力レジスタに書き込む際
に入出力レジスタに元々存在したデータと、シーケンス
命令実行後の書き込みデータが同一かを判定し、データ
が変化した入出力レジスタについてのみ、入出力モジュ
ールとの間でデータ転送を実行することにより、データ
転送時間を短縮することを可能とする。As described above, according to the programmable controller of claim 1 of the present invention, when the CPU writes the execution result of the sequence instruction to the input / output register, the data originally existing in the input / output register, It is possible to shorten the data transfer time by determining whether the write data after executing the sequence instruction is the same and executing the data transfer with the I / O module only for the I / O register where the data has changed. .
【0036】本発明の請求項2のプログラマブルコント
ローラによれば、入出力レジスタから書き込みを行うシ
ーケンス命令がオペランドとして使用した入出力レジス
タのみについて、入出力モジュールとの間でデータ転送
を実行することにより、データ転送時間を短縮すること
が可能である。According to the programmable controller of claim 2 of the present invention, by executing the data transfer with the input / output module only for the input / output register used as the operand by the sequence instruction for writing from the input / output register. It is possible to shorten the data transfer time.
【0037】本発明の請求項3のプログラマブルコント
ローラによれば、入出力レジスタから読みだしを行うシ
ーケンス命令がオペランドとして使用した入出力レジス
タのみについて、入出力モジュールとの間でデータ転送
を実行することにより、データ転送時間を短縮すること
が可能である。According to the programmable controller of claim 3 of the present invention, the data transfer with the input / output module is executed only with respect to the input / output register used as the operand by the sequence instruction for reading from the input / output register. Thus, the data transfer time can be shortened.
【0038】本発明の請求項4のプログラマブルコント
ローラによれば、工程歩進型のプログラムにおいて、遷
移が可能な状態にある工程および遷移条件に使用されて
いるシーケンス命令のオペランドとして使用されている
入出力レジスタのプログラムおよび遷移条件命令が使用
している入出力レジスタについてのみ、入出力モジュー
ルとの間でデータ転送を実行することにより、データ転
送時間を短縮することを可能とする。According to the programmable controller of claim 4 of the present invention, in the step step type program, an input used as an operand of a sequence instruction used for a step and a transition condition in which a transition is possible. The data transfer time can be shortened by executing the data transfer with the input / output module only for the input / output register used by the output register program and the transition condition instruction.
【0039】本発明の請求項5のプログラマブルコント
ローラによれば、CPUからの指定により、任意の範囲
の入出力レジスタについて強制的にデータを更新させる
ことにより、スキャン実行中で使用されなかった入出力
レジスタについても入出力モジュールとの間でデータ転
送することを可能にする。According to the programmable controller of the fifth aspect of the present invention, by inputting the data from the input / output registers in an arbitrary range by the designation from the CPU, the input / output not used during the scan is executed. It is also possible to transfer data between registers and input / output modules.
【0040】本発明の請求項6のプログラマブルコント
ローラによれば、I/Oアドレス判定回路により、特定
のI/Oモジュールについて、対応する入出力レジスタ
との間でのデータ更新を許可・禁止することにより、デ
ータ転送時間を短縮することが可能となる。According to the sixth aspect of the programmable controller of the present invention, the I / O address determination circuit allows / prohibits the data update between the specific I / O module and the corresponding input / output register. As a result, the data transfer time can be shortened.
【図1】本発明によるプログラマブルコントローラの要
部構成を示す実施例図。FIG. 1 is an embodiment diagram showing a configuration of a main part of a programmable controller according to the present invention.
【図2】入出力レジスタとデータ転送指示フラグのの構
成を示す図。FIG. 2 is a diagram showing configurations of an input / output register and a data transfer instruction flag.
【図3】CPUからの書き込み時のコマンド制御回路の
動作説明図。FIG. 3 is an operation explanatory diagram of a command control circuit at the time of writing from the CPU.
【図4】CPUからの読みだし時のコマンド制御回路の
動作説明図。FIG. 4 is an operation explanatory diagram of a command control circuit when reading from a CPU.
【図5】工程歩進型プログラムの構成を説明する図。FIG. 5 is a diagram illustrating a configuration of a step-progressing type program.
【図6】従来の一括入出力の動作を説明する図。FIG. 6 is a diagram illustrating a conventional batch input / output operation.
1…CPU 1−1…シーケンス演算回路 1−2…ビットアキュムレータ(BR) 2…CPUバス 3…システムメモリ 4…シーケンスプログラムメモリ 5…命令語デコード回路 6…コマンド制御回路 7…データバッファ 8…データ一致検出回路 9…入出力レジスタ 10…データ転送指示フラグ 11…I/Oバスバッファ 12…I/Oバス 13…I/Oモジュール 14…出力ポート 15…I/Oアドレス判定回路 1 ... CPU 1-1 ... Sequence operation circuit 1-2 ... Bit accumulator (BR) 2 ... CPU bus 3 ... System memory 4 ... Sequence program memory 5 ... Instruction word decoding circuit 6 ... Command control circuit 7 ... Data buffer 8 ... Data Match detection circuit 9 ... I / O register 10 ... Data transfer instruction flag 11 ... I / O bus buffer 12 ... I / O bus 13 ... I / O module 14 ... Output port 15 ... I / O address determination circuit
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/05 L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G05B 19/05 L
Claims (6)
する入出力レジスタと、入出力レジスタ内の各レジスタ
と対応し、入出力モジュールとの間でデータ転送を実行
するか否かを指示するデータ転送指示フラグと、シーケ
ンス命令を実行するCPUと、前記CPUが実行するシ
ーケンス命令をデコードし、前記入出力レジスタをオペ
ランドとするシーケンス命令及び前記CPUが指定する
種類の命令を検出する命令デコード回路と、前記命令デ
コード回路の出力および前記CPUのシーケンス命令実
行状態に基づいて、前記入出力レジスタへのデータの入
出力を制御するコマンド制御回路と、前記入出力レジス
タと前記データ転送指示フラグへの書き込みの許可不許
可を示すデータバッファと、前記CPUがシーケンス命
令を実行する際に、前記入出力レジスタに存在したデー
タとシーケンス命令実行後の書き込みデータが同一かを
判定するデータ一致検出回路とを具備したことを特徴と
するプログラマブルコントローラ。1. An input / output register for storing transfer data to / from an input / output module, and data corresponding to each register in the input / output register and instructing whether or not to perform data transfer with the input / output module. A transfer instruction flag, a CPU that executes a sequence instruction, and an instruction decoding circuit that decodes the sequence instruction executed by the CPU and detects a sequence instruction having the input / output register as an operand and an instruction of a type designated by the CPU A command control circuit for controlling input / output of data to / from the input / output register based on an output of the instruction decode circuit and a sequence instruction execution state of the CPU, and writing to the input / output register and the data transfer instruction flag A data buffer indicating permission / non-permission of, and when the CPU executes a sequence instruction, A programmable controller, comprising: a data coincidence detection circuit for determining whether the data existing in the input / output register and the write data after execution of a sequence instruction are the same.
ローラにおいて、前記命令デコード回路が検出するシー
ケンス命令を、オペランドが入出力レジスタで書き込み
動作であるシーケンス命令とすることにより、前記コマ
ンド制御回路と前記データバッファにより該当する入出
力レジスタからデータを読みだし、CPUからの書き込
みデータと比較することにより、入出力レジスタの内容
が変化したかどうかを入出力レジスタ毎に判定し、変化
した場合には前記入出力レジスタにデータ転送指示のフ
ラグをセットし、入出力レジスタと入出力モジュールと
の間でデータの交換を行う際に、前記データ転送指示フ
ラグがセットされている入出力レジスタのみについて入
出力モジュールとの間でデータ転送を実行することを特
徴とするプログラマブルコントローラ。2. The programmable controller according to claim 1, wherein the sequence instruction detected by the instruction decode circuit is a sequence instruction whose operand is a write operation in an input / output register, whereby the command control circuit and the data are stored. By reading the data from the corresponding I / O register by the buffer and comparing it with the write data from the CPU, it is judged for each I / O register whether or not the contents of the I / O register have changed. When a data transfer instruction flag is set in the output register and data is exchanged between the input / output register and the input / output module, only the input / output register for which the data transfer instruction flag is set is A programmer characterized by performing data transfers between Bull controller.
ローラにおいて、前記命令デコード回路が検出するシー
ケンス命令を、オペランドが入出力レジスタで読み込み
動作であるシーケンス命令とすることにより、シーケン
スプログラム中で使用された入出力レジスタにのみデー
タ転送フラグをセットし、前記データ転送フラグがセッ
トされた入出力レジスタに対応する入出力モジュールの
みからデータ転送を実行することを特徴とするプログラ
マブルコントローラ。3. The programmable controller according to claim 1, wherein the sequence instruction detected by the instruction decoding circuit is a sequence instruction whose operand is a read operation in an input / output register, and is used in a sequence program. A programmable controller, wherein a data transfer flag is set only in an input / output register, and data transfer is executed only from an input / output module corresponding to the input / output register in which the data transfer flag is set.
ローラにおいて、工程歩進型のシーケンスプログラムを
実行する際に、前記命令デコード回路が検出するシーケ
ンス命令を、入出力レジスタをオペランドとして持つ、
工程間の遷移条件の判定命令とし、更にCPUのシーケ
ンス命令実行状態を判定することにより、その工程が現
在、遷移の可能性がある状態であるときのみ、該シーケ
ンス命令が使用する入出力レジスタにデータ転送指示フ
ラグをセットすることにより、工程歩進型のプログラム
において、遷移の可能性がある部分についてのみ、入出
力モジュールから必要なデータを入力させることによ
り、データの転送量を削減し、データ転送時間を短縮さ
せて高速にシーケンス実行を行うことを特徴とするプロ
グラマブルコントローラ。4. The programmable controller according to claim 1, wherein a sequence instruction detected by the instruction decoding circuit when the step-progressing sequence program is executed has an input / output register as an operand.
By determining the transition condition between steps and determining the sequence instruction execution state of the CPU, the input / output registers used by the sequence instruction can be changed only when the step is currently in a state in which there is a possibility of transition. By setting the data transfer instruction flag, the data transfer amount can be reduced by inputting the necessary data from the input / output module only for the parts that may have transitions in the process step program. A programmable controller characterized by shortening the transfer time and performing sequence execution at high speed.
ローラにおいて、CPUから出力を指定可能な出力ポー
トを設け、前記出力ポートの出力信号を前記命令デコー
ド回路の入力とし、前記出力ポートの出力信号にしたが
って、任意にデータ転送指示フラグをセットさせるよう
に構成することにより、CPUが指定した範囲の入出力
レジスタを強制的にデータ更新させることを特徴とする
プログラマブルコントローラ。5. The programmable controller according to claim 1, wherein an output port capable of designating an output from a CPU is provided, an output signal of the output port is used as an input of the instruction decoding circuit, and an output signal of the output port is used in accordance with the output signal. A programmable controller characterized by forcibly updating data in an input / output register in a range designated by a CPU by arbitrarily setting a data transfer instruction flag.
ローラにおいて、特定のI/Oモジュールに対応する入
出力レジスタの範囲を判定するI/Oアドレス判定回路
を設け、前記I/Oアドレス判定回路の出力を前記コマ
ンド制御回路の入力とすることにより、特定のI/Oに
対応する入出力レジスタとI/Oモジュール間のデータ
更新をCPUの指示により強制的に許可・禁止させるこ
とを特徴とするプログラマブルコントローラ。6. The programmable controller according to claim 5, further comprising an I / O address determination circuit that determines a range of an input / output register corresponding to a specific I / O module, and an output of the I / O address determination circuit. Is an input to the command control circuit, the data update between the input / output register corresponding to a specific I / O and the I / O module is forcibly permitted or prohibited by the instruction of the CPU. controller.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29025194A JP3317601B2 (en) | 1994-11-25 | 1994-11-25 | Programmable controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29025194A JP3317601B2 (en) | 1994-11-25 | 1994-11-25 | Programmable controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08147013A true JPH08147013A (en) | 1996-06-07 |
| JP3317601B2 JP3317601B2 (en) | 2002-08-26 |
Family
ID=17753719
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29025194A Expired - Fee Related JP3317601B2 (en) | 1994-11-25 | 1994-11-25 | Programmable controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3317601B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102007038877B4 (en) * | 2006-08-21 | 2011-08-25 | Kabushiki Kaisha Toshiba | Control device with fast I / O function and control method for controlling its data |
| JP2017146676A (en) * | 2016-02-15 | 2017-08-24 | 株式会社東芝 | Control device and control method |
| JP2018156511A (en) * | 2017-03-21 | 2018-10-04 | 株式会社明電舎 | Method of controlling a programmable logic controller memory |
-
1994
- 1994-11-25 JP JP29025194A patent/JP3317601B2/en not_active Expired - Fee Related
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102007038877B4 (en) * | 2006-08-21 | 2011-08-25 | Kabushiki Kaisha Toshiba | Control device with fast I / O function and control method for controlling its data |
| JP2017146676A (en) * | 2016-02-15 | 2017-08-24 | 株式会社東芝 | Control device and control method |
| US10296257B2 (en) | 2016-02-15 | 2019-05-21 | Kabushiki Kaisha Toshiba | Control device and control method |
| JP2018156511A (en) * | 2017-03-21 | 2018-10-04 | 株式会社明電舎 | Method of controlling a programmable logic controller memory |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3317601B2 (en) | 2002-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7706900B2 (en) | Control apparatus with fast I/O function, and control method for control data thereof | |
| EP0313097B1 (en) | Microcomputer system including master processor and slave processor | |
| EP0267613B1 (en) | Micro processor capable of being connected with coprocessor | |
| US5682531A (en) | Central processing unit | |
| EP0652514A2 (en) | Data processing apparatus handling plural divided interruption | |
| JPS61182160A (en) | data processing equipment | |
| US5068821A (en) | Bit processor with powers flow register switches control a function block processor for execution of the current command | |
| JP3317601B2 (en) | Programmable controller | |
| JP4199121B2 (en) | Method and apparatus for changing the contents of a revision identification register | |
| EP0660229B1 (en) | Method and apparatus for modifying the contents of a register | |
| US6182207B1 (en) | Microcontroller with register system for the indirect accessing of internal memory via auxiliary register | |
| AU714669B2 (en) | Peripheral device control | |
| US4807178A (en) | Programmable sequence controller having indirect and direct input/output apparatus | |
| JP2904172B2 (en) | Logic circuit simulator | |
| US20050216708A1 (en) | Processor for performing context switching, a method for performing context switching, a computer program for perform context switching | |
| JP2006221606A (en) | Data processor | |
| JPS61160144A (en) | Emulation system | |
| JPH05282232A (en) | Device control mechanism | |
| JPH04242453A (en) | Switch controller for storage device | |
| JPH08297583A (en) | Interrupt handling apparatus and method thereof | |
| JP2000207380A (en) | Micro computer | |
| JPH03220634A (en) | microcomputer test circuit | |
| JPH09167090A (en) | Electronic computer | |
| JPS62256138A (en) | Data processor | |
| JPH03168845A (en) | Instruction execution control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090614 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090614 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100614 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100614 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110614 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120614 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120614 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130614 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |