JPS626304A - Central processing unit for sequence control - Google Patents

Central processing unit for sequence control

Info

Publication number
JPS626304A
JPS626304A JP14477885A JP14477885A JPS626304A JP S626304 A JPS626304 A JP S626304A JP 14477885 A JP14477885 A JP 14477885A JP 14477885 A JP14477885 A JP 14477885A JP S626304 A JPS626304 A JP S626304A
Authority
JP
Japan
Prior art keywords
program
column
bit
output
central processing
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
JP14477885A
Other languages
Japanese (ja)
Inventor
Hiromasa Yamaoka
弘昌 山岡
Tadashi Okamoto
正 岡本
Noboru Azusawa
梓沢 昇
Kiyoshi Miura
清 三浦
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP14477885A priority Critical patent/JPS626304A/en
Publication of JPS626304A publication Critical patent/JPS626304A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To increase the processing speed of a central processing unit for sequence control by providing a shift register and an arithmetic means for adjacent column bits, etc. and to perform the inter-bit operation even the blocks of the divided columns are connected to each other. CONSTITUTION:A central processing unit 1 for sequence control is provided with a program memory 12, a program counter 13, a program controller 15 and a clock generating part 14 together with an input inverting part 111, an inter-column bit computing element 113, an accumulator 114, an output gate 115, an AND computing element 117 and a shift register 130. The register 130 supplies and stores successively the bit output 232 of the 4th column of a computing element 113 and delivers the storage value of the same row preceding just one block. Thus it is possible to attain the OR connection (operation of a short bar) between blocks divided by the ladder sequence control without using any working memory. Then the 1:1 correspondence is secured between the picture information and the program information.

Description

【発明の詳細な説明】 〔発明の利用分野J 本発明はシーケンス制御に係り、特にシーケンス制御に
適した中央処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention J The present invention relates to sequence control, and particularly to a central processing unit suitable for sequence control.

〔発明の背景〕[Background of the invention]

D、D、C,(Direct Digital Con
trol)での制御内容は一般には数値データを扱う数
値演算制御と1ビツトデータの論理演算をおこなうシー
ケンス制御とに大別される。1ビツトデータは例えばリ
レー接点のON、OFF信号が対応する。
D, D, C, (Direct Digital Con
trol) is generally divided into numerical operation control that handles numerical data and sequence control that performs logical operations on 1-bit data. The 1-bit data corresponds to, for example, an ON/OFF signal of a relay contact.

本発明は計算機システムにおける中央処理装置に係り、
特に一般産業用り、D、C,に用いられるPCo(Pr
ogrmmable Controller)として利
用するに最適な中央処理装置を提供することにある。
The present invention relates to a central processing unit in a computer system,
PCo (Pr
The object of the present invention is to provide a central processing unit that is optimal for use as an ogrmmable controller.

制御対象プラントからの接点情報が多くなるにつれてそ
の処理をディジタル計算機に行なわしめる方式が試みら
れている。しかし1ビツトで、ある有意を示すような情
報の処理は、語単位の処理を実行している計算機にとっ
ては却って非能率的である場合が少なくない。
As the amount of contact information from plants to be controlled increases, attempts are being made to have digital computers process the information. However, processing information where one bit indicates a certain significance is often rather inefficient for a computer that processes word units.

本発明はこのような問題を解決するためになされた発明
であって、1台の中央処理装置でビット処理を並列に実
行して処理性の向上をはかることができる処理装置を提
供することにある。
The present invention has been made to solve such problems, and an object of the present invention is to provide a processing device that can perform bit processing in parallel with one central processing unit to improve processing performance. be.

汎用ディジタル計算機は語単位の処理をしているから、
例えば同一語中の第1番地のビットと第2番目のビット
の論理和を演算するような場合は次のように処理する。
General-purpose digital computers process word units, so
For example, when calculating the logical sum of the bit at the first address and the bit at the second address in the same word, the following processing is performed.

対象となるデータ語を一旦レジスタに記憶し。The target data word is temporarily stored in a register.

次にデータ語をシフトして第2番目のビットを第1番目
のビット位置に合わせた後に、先にレジスタに記憶して
いた内容との論理和をとるという処理が必要である。
Next, after shifting the data word to align the second bit with the first bit position, it is necessary to perform a logical OR with the contents previously stored in the register.

また1ビツトごとにアドレス付けをし、演算は1ビツト
のアキュムレータで行なうように構成している例もある
(例えばモトローラ社M C14500B型など)、と
ころがこの方法では同時に処理できるデータは1ビツト
であって、その処理速度には自ずと限界がある。さらに
シーケンス制御で頻繁に発生するいわゆるカッコ演算(
例えば出力01は入カニ1と工2のORと入力I3とl
4(7)ORとのAND、01=(11+I2)・(I
3と■4))にはスタックメモリを用意するか、ワーキ
ングメモリを用意する必要があり処理が複雑になるとと
もに処理速度の低下をもたらすおそれがある。さらにそ
れぞれのビットに対応して専用プロセッサを設けた場合
については特開昭55−116141.特開昭54−1
24646などがある。
There are also examples of configurations in which each bit is addressed and calculations are performed using a 1-bit accumulator (for example, Motorola's MC14500B model), but with this method, only 1 bit of data can be processed at the same time. However, there is a limit to its processing speed. Furthermore, the so-called parentheses operation (
For example, output 01 is the OR of input crab 1 and work 2, input I3 and l
AND with 4(7)OR, 01=(11+I2)・(I
3 and 4)) require the provision of a stack memory or working memory, which may complicate the processing and reduce the processing speed. Furthermore, regarding the case where a dedicated processor is provided corresponding to each bit, Japanese Patent Application Laid-Open No. 55-116141. JP-A-54-1
24646 etc.

またデータ語処理によるシーケンス制御装置の例として
は例えばU、S、、Pat、Na431B260、ある
いはU、S、 、Pat、 &3944H7がある。
Further, examples of sequence control devices using data word processing include the U, S, , Pat, Na431B260, or the U, S, , Pat, &3944H7.

このような背景の下に1本出願人はラダーシーケンス回
路を高速に実行する方式として、特願昭58−1394
45 (特開昭6O−31645)  r中央処理装置
」を既に出願している。該発明は、ラダーシーケンス回
路を構成する1列5行の構成要素のうちi列をあらかじ
め定められた複数列ごとに分割し9分割された列につい
て順次行単位にビット情報を1台の中央処理装置で並列
処理することに特徴がある。
Against this background, the present applicant filed a patent application filed in 1394-1985 as a method for executing ladder sequence circuits at high speed.
45 (Japanese Unexamined Patent Publication No. 6O-31645) r Central Processing Unit" has already been filed. This invention divides i column out of 1 column and 5 rows of constituent elements constituting a ladder sequence circuit into a predetermined plurality of columns, and sequentially processes bit information row by row for each of the 9 divided columns using one central processing unit. It is characterized by parallel processing on devices.

例えば、第3図に示すラダーシーケンスに特願昭58−
139445を適用する場合は、仮にその並列度を4と
すると、第4図に示すように4列毎のブロックに分割し
、各ブロック内を図のように4行に分けてプログラムス
テップa、a+1.・・・・・・、a+7のように実行
する。ここで、列を4列毎に分割したのは、処理装置の
並列度を4と仮定したためである。一方、行を4行に分
けたのは例を簡単化するためであり、4という数字に特
に意味はな&N。
For example, in the ladder sequence shown in Figure 3,
When applying 139445, assuming that the degree of parallelism is 4, it is divided into blocks of every 4 columns as shown in Figure 4, and each block is divided into 4 rows as shown in the figure to execute program steps a, a+1. .. . . . Execute as in a+7. Here, the reason why the columns are divided into four columns is because the degree of parallelism of the processing device is assumed to be four. On the other hand, the reason for dividing the line into four lines is to simplify the example, and the number 4 has no particular meaning.&N.

ところが、第5図に示す例では、ラダーを4列毎に分割
すると、第6図に示すように、ブロック間に列ビット間
のOR接続を示すショートバーが必要となり、特願昭5
8−139445の方法では、そのままでは実行するこ
とができず、第71!Iのように、第1ブロツクにて途
中結果を一旦ワーキングメモリm1に出力し、第2ブロ
ツクにて該ワーキングメモリm1から読み出すようにラ
ダーシーケンスを一池書き換える必要がある。
However, in the example shown in Fig. 5, if the ladder is divided into four columns, short bars are required between blocks to indicate OR connections between column bits, as shown in Fig. 6.
8-139445 cannot be executed as is, and the 71st method! As shown in I, it is necessary to rewrite the ladder sequence once so that the intermediate result is once output to the working memory m1 in the first block, and then read from the working memory m1 in the second block.

この様な現象は、1ビツト毎の演算を行う従来形のシー
ケンサ又はP L C(Plograauaable 
LogicController)と呼ばれるシーケン
ス制御装置に関しても生じる。特願昭52−13792
0 (特公昭59−52444) rシーケンス制御装
置」はその問題点をカラムレジスタと呼ぶレジスタを置
き、そのレジスタを命令で指定し途中演算結果を記憶し
たり、その値を読み出したりすることにより解決してい
る。
This phenomenon occurs in conventional sequencers that perform bit-by-bit operations or PLC (Programaable).
This also occurs with respect to a sequence control device called a Logic Controller. Patent application 1979-13792
0 (Special Publication No. 59-52444) ``R Sequence Control Device'' solved this problem by installing a register called a column register, specifying that register with a command, storing the intermediate operation result, and reading the value. are doing.

さらに、上記従来例によると、ラダーシーケンスの表現
法を1回路電流は、まず第1に上から下へ、その次に左
から右への方向しか流れないと規定している。(上記従
来例におけるラダーシーケンスは、本発明におけるう°
ダーシーケンスを90度、半時針目りに回転させた記法
を用いているため、上記規定は原文ではrまず第1に左
から右へ、その次に上から下への・・・・・・」となっ
ている、)この表現法は、ラダーシーケンスを作成する
うえで、特に問題とはならないばかりか、逆にラダーシ
ーケンスを見易くするという利点がある。さらには、電
流の流れすなわち、ラダーシーケンス上のデータの流れ
に方向性が約束されているため、処理装置の演算部が簡
素化でき、本発明においても、上記規定を採用すること
とする。
Further, according to the above-mentioned conventional example, the method of expressing the ladder sequence stipulates that the current in one circuit only flows first from top to bottom and then from left to right. (The ladder sequence in the above conventional example is different from the ladder sequence in the present invention.)
Since the notation uses a notation in which the digit sequence is rotated 90 degrees to the half-hour mark, the above rule in the original text is r first from left to right, then from top to bottom... '') This expression method not only does not pose any particular problem when creating a ladder sequence, but it also has the advantage of making the ladder sequence easier to see. Furthermore, since directionality is guaranteed in the flow of current, that is, the flow of data on the ladder sequence, the arithmetic unit of the processing device can be simplified, and the above-mentioned provisions are also adopted in the present invention.

さて、特願昭58−139445に上記特願昭52−1
37920のカラムレジスタを適用することにより。
Now, the above-mentioned patent application 1982-139445
By applying 37920 column registers.

前述したブロック間のシュートバーの演算をワーキング
メモリを用いることなく実現できると思われる。
It seems possible to realize the calculation of the shoot bar between blocks as described above without using working memory.

発明者らは、上記方針のもとに検討を加えたが下記問題
点のあることが判明した。
The inventors conducted studies based on the above policy, but found the following problems.

(1)特願昭52−137920におけるカラムレジス
タは命令によれレジスタナンバーを指定する方法を採っ
ているが、本発明のように並列演算においては、ラダー
シーケンスの追加、削除等によりブロック間のショート
バーが変更される可能性があり、そのたび毎にレジスタ
ナンバーの指定をやり直さなくてはならず、実現上問題
となる。
(1) The column register in Japanese Patent Application No. 52-137920 adopts a method of specifying the register number according to the instruction, but in parallel operations as in the present invention, short circuits between blocks can be created by adding or deleting a ladder sequence. There is a possibility that the bar may be changed, and the register number must be specified again each time, which poses a problem in terms of implementation.

(2)ラダーシーケンスを例えばCRT (Catho
deRay Tube)を用いたプログラミング装置で
プログラムし、その表示データをプログラムとして実行
することが行なわれているが、ラダーシーケンスにCR
T等には表示されないカラムレジスタを特願昭52−1
37920のように、命令語の中に組み込むことは困難
である。
(2) Ladder sequence, for example, on a CRT (Catho
Programming is performed using a programming device using a deRay Tube), and the displayed data is executed as a program.
Patent application for column registers that are not displayed on T etc. 1972-1
It is difficult to incorporate it into a command like 37920.

本発明は以上の様に、従来技術では実現が困難であった
問題点を解決するものである。
As described above, the present invention solves the problems that were difficult to realize with the conventional techniques.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、シーケンス制御におけるビット処理を
高速に行なうにあたり1分割した列のブロック間に接続
のある場合にてビット間の演算を直接並列的に実行する
ことができるシーケンス制御用中央処理装置を提供する
ことにある。
An object of the present invention is to provide a central processing unit for sequence control that can directly perform operations between bits in parallel when there is a connection between blocks of a divided column in order to perform high-speed bit processing in sequence control. Our goal is to provide the following.

〔発明の概要〕[Summary of the invention]

本発明は、シーケンス制御用中央処理・装置にプログラ
ムメモリと、入力データの任意のビットの論理反転を行
なうことができる論理反転手段と、該反転された信号と
アキュムレータの内容とを入力して論理積演算を行なう
論理積演算手段と、論理積演算手段の出力信号と、シリ
アルイン・シリアルアウト・シフトレジスタの出力信号
とを入力し、記憶されているプログラムのオペコードの
内容により各隣接列ビット間の演算を行なうビット情報
の列ビット間演算手段と、前回演算実行したブロックの
うち、今回実行中のブロックに隣接した列の演算結果を
記憶しているシリアルイン・シリアルアウト・シフトレ
ジスタと、演算結果をラッチするアキュムレータと、ア
キュムレータの内容を出力するドライバとを備えたもの
である。
The present invention provides a sequence control central processing unit with a program memory, a logic inverting means capable of inverting the logic of arbitrary bits of input data, and inputting the inverted signal and the contents of an accumulator to create a logic The output signal of the AND operation means, the output signal of the AND operation means, and the output signal of the serial-in/serial-out shift register are inputted to the AND operation means for performing the product operation, and the bits of each adjacent column are adjusted according to the contents of the operation code of the stored program. , a serial-in/serial-out shift register that stores the result of an operation on a column adjacent to the block currently being executed among the blocks in which the operation was previously executed; It includes an accumulator that latches the result and a driver that outputs the contents of the accumulator.

係る構成をとることにより、分割した列のブロック間に
接続がある場合においても、特にワーキングメモリやレ
ジスタ等の一時記憶をプログラムで指定することなしに
演算処理が行なうことができる。
By adopting such a configuration, even if there is a connection between blocks of divided columns, arithmetic processing can be performed without particularly specifying temporary storage such as a working memory or a register in a program.

〔発明の実施例〕[Embodiments of the invention]

はじめに第2図、第3図等を用いてプログラマブルシー
ケンスコントローラとラダーシーケンスの概要を説明す
る。
First, an overview of the programmable sequence controller and ladder sequence will be explained using FIGS. 2, 3, etc.

第2図において1は中央処理装置(CPU)、2はタイ
マ装置、3はプロセス入出力装置(PIlo)を示して
いる。PIloは入力情報2000を取込むとともにプ
ロセス側のアクチュエータ2001に操作信号を出力す
る。そして中央処理装置1とのデータの伝送はバス10
0で行なうように構成されている。
In FIG. 2, 1 is a central processing unit (CPU), 2 is a timer device, and 3 is a process input/output device (PIlo). PIlo takes in input information 2000 and outputs an operation signal to an actuator 2001 on the process side. Data is transmitted to and from the central processing unit 1 via a bus 10.
0.

第3図はラダーシーケンスの一般例を示したものである
。Ill、112・・・等は入力を表わし。
FIG. 3 shows a general example of a ladder sequence. Ill, 112, etc. represent inputs.

01.03・・・等は出力を表わす、この様な表記法は
プログラマブルコントローラでは極く標準的なものであ
り、入力はリレーの接点に、出力はリレーの励磁コイル
に、入出力間の接続はリレー間の配線に対応し、回路電
流はまず第1に上から下へ、その次に左から右への方向
しか流れないと規定し接続する。また、入力の記号には
斜線のあるものと無いものの2種類があるが、斜線のあ
るものは、いわゆるB接点、すなわち入力が“0”のと
き導通、入力が“1”のとき非導通となることを表わし
、入力に斜線の無いものは、いわゆるA接点、すなわち
入力が“1”のとき導通、10″のとき非導通となるこ
とをを表わしている。言葉を変えれば、入力に斜線があ
る場合は、その入力の論理反転をとるということになる
01.03... etc. represent the output. This notation is extremely standard for programmable controllers, and the input is the contact of the relay, the output is the excitation coil of the relay, and the connection between input and output. corresponds to the wiring between relays, and is connected by specifying that the circuit current can only flow first from top to bottom and then from left to right. In addition, there are two types of input symbols: those with diagonal lines and those without, but those with diagonal lines are so-called B contacts, that is, conductive when the input is “0” and non-conductive when the input is “1”. An input without a diagonal line represents a so-called A contact, that is, it is conductive when the input is “1” and non-conductive when the input is “10”. In other words, the input without a diagonal line If there is, the logical inversion of that input is taken.

第3図の例で具体的に説明すると、例えば出力01が“
1”となる条件は、111又はI21が導通し、かつ1
12.IO2共導通となるときであり、Ill、112
はA接点、I21.IO2はB接点であるから、論理式
では 01=  (Ill、112)  ・ I21.  I
O2と表わすことができる。
To explain specifically using the example in FIG. 3, for example, output 01 is “
1” is the condition that 111 or I21 is conductive and 1
12. This is when IO2 common conduction occurs, and Ill, 112
is the A contact, I21. Since IO2 is a B contact, the logical formula is 01= (Ill, 112) · I21. I
It can be expressed as O2.

同様ニシテ、出力03,05,06は 03=I30・I35+l41・IO305=I56・
I42+l53 06=I43・ (I44+I46)+I49と表わす
ことができる。
Similarly, outputs 03, 05, 06 are 03=I30・I35+l41・IO305=I56・
It can be expressed as I42+l5306=I43.(I44+I46)+I49.

上記から判るように、ラダーシーケンスは論理関数を電
気の流れによって表す子ものであり、論理を直感として
とらえ易いという長所があり、シーケンス制御分野では
広く一般に用いられている。
As can be seen from the above, the ladder sequence is a child expression of a logical function by the flow of electricity, and has the advantage that logic can be easily understood intuitively, and is widely used in the field of sequence control.

本発明は、上記のようなラダーシーケンスをラダーの各
要素と1対1に対応したプログラムにより、ラダーの複
数列を1ブロツクとして、各ブロックの上の段から順に
実行するものである。
The present invention executes the above-described ladder sequence sequentially from the top of each block, using a program that corresponds one-to-one to each element of the ladder, with a plurality of columns of the ladder as one block.

すなわち本発明は、第3図に示すようなラダーシーケン
ス回路の複数列の並列処理をおこない、処理速度の向上
をはかることのできるシーケンス制御用中央処理装置を
前提とするものである。
That is, the present invention is based on a central processing unit for sequence control that is capable of performing parallel processing of multiple columns of ladder sequence circuits as shown in FIG. 3 to improve processing speed.

以下の実施例では簡単のため、4列4行のラダーを並列
実行させる場合を説明する。
In the following example, for the sake of simplicity, a case will be described in which a ladder with four columns and four rows is executed in parallel.

第1図は本発明の一実施例であるシーケンス制。FIG. 1 shows a sequence system that is an embodiment of the present invention.

御用中央処理装置1の構成を示す。The configuration of the central processing unit 1 for use is shown.

クロック発生部14から発生されたクロック信号206
はプログラムカウンタ13の更新、アキュムレータ11
4のラッチパネル信号および入出力バスのタイミング信
号104として用いられる。
Clock signal 206 generated from clock generator 14
is the update of the program counter 13, the accumulator 11
It is used as a latch panel signal of 4 and a timing signal 104 of an input/output bus.

タイミングの詳細は後程述べることとして、以下制御の
流れを説明する。プログラムカウンタ13はプログラム
メモリ12のアドレス201を与えるカウンタであり、
1つの演算ステップ終了毎に+1される。プログラムメ
モリ12は実行すべきラダーシーケンスの情報をプログ
ラムとして記憶しておく部分であり、本実施例の場合は
16ビツトのデータ幅を有する。
The details of the timing will be described later, and the control flow will be described below. The program counter 13 is a counter that gives the address 201 of the program memory 12,
It is incremented by 1 every time one calculation step is completed. The program memory 12 is a part that stores information on a ladder sequence to be executed as a program, and has a data width of 16 bits in this embodiment.

ここで、第8図〜第10図を用いてプログラムメモリ1
2の意味を説明しておく。
Here, using FIGS. 8 to 10, program memory 1
Let me explain the meaning of 2.

第8図に示すように本実施例では、命令は、第1オペコ
ード部(OPI)、第2オペコード部(OF2)、およ
びIO7ドL/X部(I OADDR)の3つの部分か
ら構成されている。各部分の意味は、次の通りである。
As shown in FIG. 8, in this embodiment, an instruction is composed of three parts: a first opcode part (OPI), a second opcode part (OF2), and an IO7DO L/X part (I OADDR). There is. The meaning of each part is as follows.

OPI部:PO〜P3の4ビツトより成る。PO〜P3
は、ラダーシーケンスの各プロ グラムステップにおいて、各々第1列 〜第4列の入力接点がA接点かB接点 かを示すビットであり、POは第1列。
OPI section: Consists of 4 bits PO to P3. PO~P3
is a bit indicating whether the input contacts in the first to fourth columns are A contacts or B contacts in each program step of the ladder sequence, and PO is in the first column.

Plは第2列、・・・P3は第4列の接点を示す、この
例ではB接点の場合は “1”、A接点の場合は“0”とし、 該当入力が無い場合にはA接点とみな し、′0”とする。
Pl indicates the contact in the second column, ... P3 indicates the contact in the fourth column. In this example, it is "1" for B contact, "0" for A contact, and if there is no corresponding input, it is A contact. It is assumed to be '0''.

OF2部:P4〜P7の4ビツトより成る。P4〜P7
は、ラダーシーケンスの各プロ グラムステップにおいて、P4は第1 列と前回実行ブロックの第4列間の OR接続、P5は第2列と第1列間の OR接続、・・・・・・Plは第4列と第3列間のOR
接続の有無を示す。この例で は、列間OR接続が有る場合(すなわ ちショートバーあり)はta 1 u、無い場合は“0
”とする。
OF2 part: Consists of 4 bits P4 to P7. P4-P7
In each program step of the ladder sequence, P4 is the OR connection between the first column and the fourth column of the previously executed block, P5 is the OR connection between the second column and the first column, ...... Pl is the OR connection between the second column and the first column. OR between the 4th and 3rd columns
Indicates whether there is a connection. In this example, if there is an inter-column OR connection (that is, there is a short bar), ta 1 u, otherwise “0
”.

IOADDR部:P8〜P15の8ビツトよりなる。IOADDR section: Consists of 8 bits P8 to P15.

P8〜P15は接点の入力番地および コイルの出力番地を示すビットであり、第2図における
タイマ装置2やプロセ ス入出力装置3のアドレスを示す。
P8 to P15 are bits indicating the input address of the contact and the output address of the coil, and indicate the addresses of the timer device 2 and the process input/output device 3 in FIG.

以上の構成により、本実施例の処理装置は行数4のラダ
ーシーケンスを4列毎に並列的に実行する。
With the above configuration, the processing device of this embodiment executes a four-row ladder sequence in parallel for every four columns.

以下、第5図に示す如く、ブロック間に接続がある場合
のラダーシーケンスの例について、第8図〜第10図等
を用いて説明する。すなわち、第5図に示した例も第3
図と同様に、4列の並列処理とし、プログラムステップ
は第10図の如くプログラムステップa 、 a + 
1 、 a + 2 、 a + 3と。
Hereinafter, an example of a ladder sequence when there is a connection between blocks as shown in FIG. 5 will be explained using FIGS. 8 to 10 and the like. In other words, the example shown in FIG.
As in the figure, parallel processing is performed in four columns, and the program steps are program steps a, a + as shown in FIG.
1, a + 2, a + 3.

a+4.a+5.a+6.a+7と、a+8.a+9.
a+10.a+11の3つのブロックにて処理されるも
のとする。尚、第9図は、16ビツトで一語を構成した
ときのプログラムステップa〜a+11までのビット構
成の例である。
a+4. a+5. a+6. a+7 and a+8. a+9.
a+10. It is assumed that processing is performed in three blocks a+11. FIG. 9 shows an example of the bit configuration of program steps a to a+11 when one word is composed of 16 bits.

第9図、第10図を詳細に説明すれば、ステップaでシ
ーケンスが開始するわけであるが、接点Ill、112
,130.I41は各々PO(列1)、PL(列2)、
P2(列3)、P3(列4)に対応しており、I21と
I41がB接点であるためPL、P3=“1”となって
いる、さらに。
To explain FIGS. 9 and 10 in detail, the sequence starts at step a, and the contacts Ill, 112
, 130. I41 are PO (column 1), PL (column 2),
It corresponds to P2 (column 3) and P3 (column 4), and since I21 and I41 are B contacts, PL and P3="1".

IllとI21の間は、′OR接続”されているためP
5=“1”とし、工21とI30の間、I30とI41
の間に″OR接続”はないため、P4.P6.P7=“
0”となっている。また、第9図は接点Ill、I21
.I30.I41についてP8〜P15の8ビツトをア
ドレスとして割当てた場合を示している。
Since there is an 'OR connection' between Ill and I21, P
5="1", between I30 and I41, between I21 and I30
Since there is no "OR connection" between P4. P6. P7="
0". Also, FIG. 9 shows the contacts Ill and I21.
.. I30. This shows a case where 8 bits P8 to P15 are assigned as an address for I41.

更に、ブロック間に“OR接続”がある場合、例えばI
O3とI42の間に“OR接続”がある場合は、ステッ
プa+5にてP4=“1”となり、前回実行ブロックと
の間に“OR接続”があることがわかる、工46とI4
9も“OR接続”されているため、ステップa+9のP
4を“1”となっている。
Furthermore, if there is an “OR connection” between blocks, e.g.
If there is an "OR connection" between O3 and I42, P4="1" at step a+5, which indicates that there is an "OR connection" between O3 and I42 and the previously executed block.
9 is also “OR connected”, so P in step a+9
4 is set as "1".

ここで第1図にもどって動作説明をおこなう。Now, returning to FIG. 1, the operation will be explained.

入力反転部111は入力データ225のうちプログラム
メモリ12の出力信号すなわちPO−P4の値が“1”
であればそれに対応するデータの論理反転をおこなう、
入力反転部111の出力220とアキュムレータの内容
223は論理積演算器117により論理積がとられる。
The input inverting unit 111 detects that the output signal of the program memory 12, that is, the value of PO-P4 among the input data 225 is "1".
If so, perform logical inversion of the corresponding data,
The output 220 of the input inverter 111 and the contents 223 of the accumulator are ANDed by the AND operator 117.

但し、シーケンスの開始部ではプログラム制御部15の
出力YOによりアキュムレータ出力を強制的に“1#′
とし論理演算器出力221を入力220と同一の値とさ
せる。ビット間演算器113はプログラムメモリP4〜
P7が“1”の場合、対応する隣接列ビット間の論理和
がとられ、その出力222はアキュムレータ114に、
出力222のうち第4列目のデータ232はシフトレジ
スタ130に、クロックパルス206と共にラッチされ
る。プログラムステップがデータ出力を示すときは、プ
ログラム制御部15の出力YOによりアキュムレータ1
14の内容223は出力ゲート115を介して出力信号
224としてデータバス102(D)に出力される。
However, at the beginning of the sequence, the output YO of the program control unit 15 forces the accumulator output to "1#'".
The logical operator output 221 is made to have the same value as the input 220. The inter-bit arithmetic unit 113 is connected to the program memory P4~
When P7 is "1", the corresponding adjacent column bits are logically summed, and the output 222 is sent to the accumulator 114.
Data 232 in the fourth column of the output 222 is latched into the shift register 130 along with the clock pulse 206 . When the program step indicates data output, the output YO of the program control unit 15 causes the accumulator 1 to
The contents 223 of 14 are output to the data bus 102 (D) as an output signal 224 via the output gate 115.

プログラム制御部15は、プログラムカウンタ13の値
が行数(本例では4)の倍数のとき、シーケンスの開始
を示す信号YOを出力し、プログラムカウンタ13の値
が4の倍数+3のとき、データ出力を示す信号Y1を出
力する。
The program control unit 15 outputs a signal YO indicating the start of a sequence when the value of the program counter 13 is a multiple of the number of lines (4 in this example), and when the value of the program counter 13 is a multiple of 4 + 3, the program control unit 15 outputs a signal YO indicating the start of the sequence. A signal Y1 indicating the output is output.

シフトレジスタ130は1列ビット間演算器113の第
4列目のビット出力232を順次入力、記憶し、ちょう
ど1ブロツク前の同一行の記憶値を出力(231)する
。もし、ブロック間の列間OR接続がある場合は、第1
列目のビットと該シフトレジスタ出力231の間でOR
演算を行う。
The shift register 130 sequentially inputs and stores the bit output 232 of the fourth column of the 1-column bit-to-bit arithmetic unit 113, and outputs the stored value of the same row just one block ago (231). If there is an inter-column OR connection between blocks, the first
OR between the column bit and the shift register output 231
Perform calculations.

以上、各部の制御の流れを説明した0次に、第11図の
タイムチャートに従って、本実施例がラダーシーケンス
通りの演算を行うことを示す。
The flow of control of each part has been described above, and it will be shown that the present embodiment performs calculations according to the ladder sequence according to the time chart of FIG. 11.

T1ニブログラムステップaの命令を実行する。Execute the instruction in T1 program step a.

データ出力ビットY1=“0”故工○アドレスP8〜P
15の内容(Ill、I21゜I30.I41)が入力
データ225として取り込まれる。
Data output bit Y1=“0” error address P8~P
The contents of 15 (Ill, I21°I30.I41) are taken in as input data 225.

入力反転ビットPO−P3= (0,1゜0.1)であ
るから入力反転部111の出力データ220は(Ill
、I21゜ I30.I41)となる。
Since the input inversion bit PO-P3 = (0,1°0.1), the output data 220 of the input inversion section 111 is (Ill
, I21°I30. I41).

さらに、スタートビットYO=”1”故アキュムレータ
出力223は(1,1,1゜1)となり、論理積演算器
117の出力221は(Ill、I21.I30.I4
1)となる。
Furthermore, since the start bit YO="1", the accumulator output 223 becomes (1, 1, 1°1), and the output 221 of the AND operator 117 becomes (Ill, I21.I30.I4
1).

列間OR接続を示すビットP4〜P7=(0,1,O,
O)であるため、列ビット間演算器113の出力222
は(111+I21,111+I21.I30.I41
)、出力232は(I 41)となる。
Bits P4 to P7 indicating inter-column OR connection = (0, 1, O,
O), the output 222 of the inter-column bit arithmetic unit 113
is (111+I21, 111+I21.I30.I41
), the output 232 becomes (I 41).

この値は次のクロックの立上がりに同期してアキュムレ
ータ114及びシフトレジスタに保持される。
This value is held in the accumulator 114 and shift register in synchronization with the next rising edge of the clock.

T2ニブログラムステップa+1の命令を実行する。デ
ータ出力ビットY1=“0”故IOプFL/XP8〜P
15(7)内容(“0″。
T2 Niprogram Step a+1 instruction is executed. Data output bit Y1="0" due to IOpu FL/XP8~P
15(7) Contents (“0”.

112、I35.l03)が入力データとして取り込ま
れる。
112, I35. l03) is taken in as input data.

入力反転ビットPO−P3= (0,0゜1.0)であ
るから入力反転部111の出力データ220は(“0”
、112゜ I35.l03)となる。
Since the input inversion bit PO-P3 = (0,0°1.0), the output data 220 of the input inversion section 111 is (“0”
, 112°I35. l03).

さらに、スタートビットYO=“1”故アキュムレータ
出力223は前回値を保持しており(111+I21,
111+I21゜I30.I41)であり、論理積演算
器117の出力221は(“0”、112゜(111+
I21)、I35・工30゜I03.I41)となる。
Furthermore, since the start bit YO="1", the accumulator output 223 retains the previous value (111+I21,
111+I21°I30. I41), and the output 221 of the AND operator 117 is (“0”, 112°(111+
I21), I35・ENG30゜I03. I41).

列間OR接続を示すビットP4〜P7=(0,O,0,
1)であるため1列ビット間演算器113の出力222
は(“0”。
Bits P4 to P7 indicating inter-column OR connection = (0, O, 0,
1), the output 222 of the 1-column bit-to-bit arithmetic unit 113
is (“0”.

+I03・工41)となる。+I03・ENG41).

この値は次のブロックの立上がりに同期してアキュムレ
ータ114及びシフトレジスタ130に保持される。
This value is held in the accumulator 114 and shift register 130 in synchronization with the rise of the next block.

T3ニブログラムステップa+2の命令を実行する。I
2の場合と同様にビット間演算器113の出力222は
、(“0”、IO2・112・ (111+I21)、
”O”。
T3 Execute the instruction in program step a+2. I
2, the output 222 of the bit-to-bit arithmetic unit 113 is (“0”, IO2・112・(111+I21),
"O".

“0”)となる。“0”).

この値は次のクロックの立上がりに同期してアキュムレ
ータ114及びシフトレジスタ130に保持される。
This value is held in the accumulator 114 and shift register 130 in synchronization with the next rising edge of the clock.

T4ニブログラムステップa+3の命令を実行する。デ
ータ出力ビットY1=“1”故IOアドレスP8〜P1
5にアキュムレータ114の値が出力される。
T4 Niprogram Step a+3 instruction is executed. Data output bit Y1="1" IO address P8~P1
5, the value of the accumulator 114 is output.

以上はプログラムステップa = a + 3ステツプ
の処理である。これは第10図の左側ブロックのラダー
回路の処理で、これに続くステップもブロック間のOR
接続を除き同様である。
The above is the processing of program steps a=a+3 steps. This is the processing of the ladder circuit of the left block in Figure 10, and the steps that follow are also OR operations between blocks.
It is the same except for the connection.

以下、ブロック間OR接続がある場合を第10図の真中
のブロックのラダー回路の処理である第11図T5〜T
7により説明する。
Below, the case where there is an OR connection between blocks is shown in Figure 11 T5 to T, which is the processing of the ladder circuit of the middle block in Figure 10.
7 will be explained.

以下の説明では列ビット間演算部にのみ注目する。In the following explanation, attention will be focused only on the inter-column bit operation section.

T5ニブログラムステップa+4・では列間OR接続を
示すビットP4〜P7= (0,O,0゜1)であるた
め1列ビット間演算器113の出力222は(I56.
”O”、I43゜I43)、出力232はI43となる
In the T5 nib program step a+4, the bits P4 to P7 indicating inter-column OR connection are = (0, O, 0°1), so the output 222 of the 1-column inter-bit arithmetic unit 113 is (I56.
"O", I43°I43), the output 232 becomes I43.

一方、このタイミングでは、シフトレジスタ130から
は前ブロックの最初のプログラムステップすなわちプロ
グラムステップa+1実行時の列ビット間演算器113
の出力232が出力されるが前ブロックとの列間OR接
続を示すP4=“0”であるためシフトレジスタ出力2
21は捨てられる。
On the other hand, at this timing, from the shift register 130, the first program step of the previous block, that is, the inter-column bit arithmetic unit 113 at the time of program step a+1 is executed.
Output 232 is output, but since P4="0" indicating inter-column OR connection with the previous block, shift register output 2 is output.
21 is discarded.

I6:プログラムステップa + 5では列間OR接続
を示すビットP4〜P7= (1,1,0゜1)である
ため、列ビット間演算器113では、シフトレジスタ1
30の出力231と論理積演算器117出力221の第
1列目と同じく第2列目のOR及び同第3列目と同第4
列目のORが演算される。
I6: In program step a+5, bits P4 to P7 indicating inter-column OR connection are = (1, 1, 0°1), so in the inter-column bit arithmetic unit 113, shift register 1
30 output 231 and the AND operator 117 output 221 in the first column and the second column as well as in the third column and fourth column.
The OR of the column is calculated.

T7:プログラムステップa+6では列間OR接続を示
すビットP4〜P7= (0,O,0゜0)であるため
、列ビット間の演算は行われない。
T7: In program step a+6, bits P4 to P7 indicating inter-column OR connection are = (0, O, 0°0), so no calculation is performed between column bits.

次に各部の構成要素について説明する。第12図は入力
反転部111の回路構成例を示す、排他論理和ゲート5
00〜503により構成され、入力データ信号225と
入力反転ビットP2〜5との排他論理和がとられる。
Next, the constituent elements of each part will be explained. FIG. 12 shows an example of the circuit configuration of the input inverting section 111, and the exclusive OR gate 5
00 to 503, and the exclusive OR of the input data signal 225 and the input inverted bits P2 to P5 is taken.

第13図は論理積演算器117の構成であり。FIG. 13 shows the configuration of the AND operator 117.

オーブンコレクタ形のNANDゲート510〜513に
より構成されており、出力は電位のプルアップ抵抗51
4〜517を介してプルアップされている。VCCはコ
レクタ電圧である。
It is composed of oven collector type NAND gates 510 to 513, and the output is a potential pull-up resistor 51.
4 to 517. VCC is the collector voltage.

第14図(A)はビット間演算器113の構成例であり
、トランスファーゲート520〜522と反転ゲート5
23〜526により構成されている。トランスファーゲ
ート520〜522のコントロールは各々P6〜P8の
信号により行われ。
FIG. 14(A) shows a configuration example of the inter-bit arithmetic unit 113, in which transfer gates 520 to 522 and inversion gate 5
23 to 526. Transfer gates 520-522 are controlled by signals P6-P8, respectively.

P6〜P8が“1”となるとアナログスイッチは導通す
るように構成されている。この働きにより、ビット間の
ワイヤードオア論理が成立し、所定の演算を行うことが
できる。
The analog switch is configured to conduct when P6 to P8 become "1". Due to this function, wired-OR logic between bits is established, and a predetermined operation can be performed.

第14図(B)にトランスファーゲートの構成例を示す
、これはFETを用いた場合の例である。
FIG. 14(B) shows an example of the configuration of a transfer gate, which is an example in which FETs are used.

第15図はアキュムレータ114の構成例であり、エツ
ジトリガー型のフリップフロップ530と論理和ゲート
531〜534から構成されている。データ222はク
ロック206の立上がりでラッチされ論理和ゲート53
1〜534に出力される。スタートビットYOが“1”
のときは論理和ゲート531〜534に依り出力223
はオール“1nとなる。スタートビットPOが“0”の
ときはフリップフロップ530の出力がそのまま出力2
23として現れる。
FIG. 15 shows a configuration example of the accumulator 114, which is composed of an edge trigger type flip-flop 530 and OR gates 531-534. Data 222 is latched at the rising edge of clock 206 and sent to OR gate 53.
1 to 534. Start bit YO is “1”
When , the output 223 is determined by the OR gates 531 to 534.
becomes all "1n".When the start bit PO is "0", the output of the flip-flop 530 becomes output 2 as it is.
Appears as 23.

第16図(A)、(B)はプログラムカウンタ13、プ
ログラムメモリ12及びプログラム制御部の例である。
FIGS. 16(A) and 16(B) are examples of the program counter 13, program memory 12, and program control section.

プログラムカウンタ13は12ビツトで構成さり、プロ
グラムステップとして0から4095までを出力する。
The program counter 13 consists of 12 bits and outputs values from 0 to 4095 as program steps.

プログラムメモリ12は、各プログラムステップにおけ
るラダーシーケンスの接続情報をプログラムPO〜P1
5として記憶するためのリード・ライトメモリであり、
但し1本例では該メモリに対するプログラム回路は省略
して図示しである。
The program memory 12 stores connection information of ladder sequences in each program step in programs PO to P1.
This is read/write memory for storing data as 5.
However, in this example, the program circuit for the memory is omitted from illustration.

プログラム回路はアドレス201とデータ202を切替
える等のゲート(図示せず)により接続される。この部
分の構成法は種々あるが、本発明とは独立した部分であ
るため詳細な説明は省略する。
The program circuit is connected by a gate (not shown) that switches between address 201 and data 202. There are various ways to configure this part, but since it is independent from the present invention, detailed explanation will be omitted.

プログラム制御部15は、本例の場合、プログラムステ
ップが4毎にシーケンススタートを開始するように、プ
ログラムカウンタの下位2ビツトをデコードして、プロ
グラムスタートビットYO及びデータ出力ビットY1を
出力する。
In this example, the program control unit 15 decodes the lower two bits of the program counter and outputs a program start bit YO and a data output bit Y1 so that a sequence start is started every four program steps.

尚、標準的な応用では1行数は8程度が適当であり、こ
の場合はプログラム制御部はプログラムカウンタの下位
3ビツトをデコードし。
In a standard application, the appropriate number of lines per line is about 8, and in this case, the program control section decodes the lower 3 bits of the program counter.

YO=A9・AIO・A11 Y1=A9・AIO・All とすればよい。YO=A9/AIO/A11 Y1=A9・AIO・All And it is sufficient.

第17図はシフトレジスタ130の構成例を示す0本例
ではD形フリップフロップ131〜134により、入力
232がクロック206の4発分遅れて出力231に出
力される。インバータ135は列ビット間演算器113
との論理レベルを合せるためのものである。
FIG. 17 shows an example of the configuration of the shift register 130. In this example, D-type flip-flops 131 to 134 output the input 232 to the output 231 with a delay of four clock cycles 206. The inverter 135 is the inter-column bit arithmetic unit 113
This is to match the logical level with

尚、ラダーシーケンスの行数が8の場合はフリップフロ
ップを8段用いることにより実現できる。
Note that when the number of rows in the ladder sequence is 8, this can be realized by using 8 stages of flip-flops.

以上述べた実施例によると、ラダーシーケンスを並列的
に実行することができるので処理速度を向上させる効果
がある。
According to the embodiments described above, since the ladder sequences can be executed in parallel, there is an effect of improving the processing speed.

また、ハードウェア構成が規則的でありLSI化にも好
適である。
Furthermore, the hardware configuration is regular and suitable for LSI implementation.

尚1本発明は、電源母線を水平方向に配するラダーシー
ケンスについて説明したが、これは、電源母線を垂直方
向に配したラダーシーケンスについても同様に適用でき
、この場合はラダーシーケンス図の説明において、行9
列、上、下、左、右此 を各々列2行、左、右、上、下に身み変えることにより
実現できる。
1. Although the present invention has been described with respect to a ladder sequence in which power bus bars are arranged horizontally, this can be similarly applied to a ladder sequence in which power bus bars are arranged in a vertical direction.In this case, in the explanation of the ladder sequence diagram, , line 9
This can be achieved by changing the columns, top, bottom, left, and right to two columns, two rows, left, right, top, and bottom.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明によれば、ラダーシーケンスの
制御において分割したブロック間のOR接続すなわちシ
ョートバーの演算をワーキングメモリなしで実現できる
ため、画面情報とプログラム情報が1対1に対応し、プ
ログラムの保守が非常に容易に行うことができる。
As described above, according to the present invention, OR connection between divided blocks in ladder sequence control, that is, short bar calculation can be realized without working memory, so screen information and program information correspond one-to-one, Program maintenance is very easy.

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

第1図は本発明にかかるシーケンス制御用中央処理装置
の構成図、第2図はシーケンス制御用中央処理装置を含
む全体構成図、第3図はラダーシーケンスを示す図、第
4図は第3図のラダーシーケンスをブロックに分割した
図、第5図はブロック間に接続がなされている場合のラ
ダーシーケンスを示す図、第6図は第5図のラダーシー
ケンスをブロックに分割した図、第7図は従来のワーキ
ングメモリを用いることを示す図、第8図はプログラム
メモリ中の命令の構成を示す図、第9図は第5図のラダ
ーシーケンスの処理プログラムを示す図、第1,0図は
第5図のラダーシーケンスをブロックに分割した図、第
11図は第1rI!Iの処理の流れを示すタイムチャー
ト、第12図は入力反転部の回路構成例を示す図、第1
3図は論理積演算器の回路構成例を示す図、第14図(
A)は列ビット間演算器の回路構成例を示す図、第14
図(B)はトランスファーゲートの回路構成例を示す図
、第15図はアキュムレータの回路構成例を示す図、第
16図(A)はプログラムカウンタとプログラムメモリ
及びプログラム制御部の信号接続を示す図、第16図(
B)はプログラム制御部の回路構成例を示す図、第17
図はシフトレジスタの回路構成例を示す図である。 1・・・シーケンス制御用中央処理装置、12・・・プ
ログラムメモリ、13・・・プログラムカウンタ、14
・・・クロック発生部、15・・・プログラム制御部。 111・・・入力反転部、113・・・列ビット間演算
器。 114・・・アキュムレータ、115・・・出力ゲート
、117・・・論理積演算器、130・・・シフトレジ
スタ。
Fig. 1 is a block diagram of a sequence control central processing unit according to the present invention, Fig. 2 is an overall block diagram including the sequence control central processing unit, Fig. 3 is a diagram showing a ladder sequence, and Fig. 4 is a block diagram of a sequence control central processing unit according to the present invention. Figure 5 is a diagram showing the ladder sequence when connections are made between blocks. Figure 6 is a diagram where the ladder sequence in Figure 5 is divided into blocks. Figure 7 is a diagram showing the ladder sequence in Figure 5 divided into blocks. The figure shows the use of a conventional working memory, Figure 8 shows the structure of instructions in the program memory, Figure 9 shows the processing program for the ladder sequence in Figure 5, and Figures 1 and 0. is a diagram in which the ladder sequence in Figure 5 is divided into blocks, and Figure 11 is the 1st rI! Fig. 12 is a time chart showing the flow of processing of I. Fig. 12 is a diagram showing an example of the circuit configuration of the input inverting section.
Figure 3 is a diagram showing an example of the circuit configuration of an AND operator, and Figure 14 (
A) is a diagram showing an example of the circuit configuration of the column-bit arithmetic unit, No. 14.
Figure (B) is a diagram showing an example of the circuit configuration of a transfer gate, Figure 15 is a diagram showing an example of the circuit configuration of an accumulator, and Figure 16 (A) is a diagram showing signal connections between the program counter, program memory, and program control section. , Figure 16 (
B) is a diagram showing an example of the circuit configuration of the program control section, No. 17
The figure is a diagram showing an example of a circuit configuration of a shift register. DESCRIPTION OF SYMBOLS 1... Central processing unit for sequence control, 12... Program memory, 13... Program counter, 14
. . . Clock generation section, 15 . . . Program control section. 111... Input inversion unit, 113... Column bit inter-bit arithmetic unit. 114...Accumulator, 115...Output gate, 117...AND operator, 130...Shift register.

Claims (1)

【特許請求の範囲】 1、i列、j行の構成要素からなり、電源母線を水平に
配して電気信号の流れがまず上から下へ次に左から右へ
と流れるものと定義してなるラダーシーケンス回路のう
ち、該i列をあらかじめ定めたブロックごとに分割し、
該分割された列の行単位にデータを入力して、あらかじ
めプログラムされた演算処理を行ない、その結果を出力
するシーケンス制御用中央処理装置において、 プログラムを記憶しておき、読出しアドレスに応じて、
該アドレスに該当するプログラムを出力するプログラム
メモリと、 該出力されたプログラムの第1オペコードの内容に応じ
て入力データの各ビットの論理反転を行なう入力論理反
転手段と、 該反転されたデータとアキュムレータの内容とを入力し
て論理積演算を行なう論理積演算手段と、該論理積演算
手段の出力データと一時記憶手段の出力データとを入力
して前記出力されたプログラムの第2オペコードの内容
に応じて各隣接列ビット間の演算を行なうj列ビット間
演算手段と、前回演算実行したブロックのうち今回実行
中のブロックに隣接した列の演算結果を記憶し、前記論
理積手段の出力データの最左端に付加する一時記憶手段
と、 演算結果をラッチするアキュムレータと、 該アキュムレータの内容を出力するドライバとを備えた
ことを特徴とするシーケンス制御用中央処理装置。 2、特許請求の範囲第1項において、前記一時記憶手段
をシリアルイン・シリアルアウトのシフトレジスタで構
成したことを特徴とするシーケンス制御用中央処理装置
[Claims] Defined as having 1, i column and j row of components, with power supply busbars arranged horizontally, electrical signals flow first from top to bottom and then from left to right. Of the ladder sequence circuit, the i column is divided into predetermined blocks,
In the sequence control central processing unit that inputs data row by row of the divided columns, performs preprogrammed arithmetic processing, and outputs the results, a program is stored and the program is read out according to the read address.
a program memory that outputs a program corresponding to the address; an input logic inverter that inverts the logic of each bit of input data according to the content of the first operation code of the output program; and an accumulator and the inverted data. and a logical product operation means for performing a logical product operation by inputting the contents of the logical product and the contents of the second operation code of the output program by inputting the output data of the logical product calculating means and the output data of the temporary storage means. j-column bit-to-bit calculation means for performing calculations between bits in each adjacent column according to the operation result, and storing the calculation result of the column adjacent to the block currently being executed among the blocks in which the calculation was previously performed, and calculating the output data of the logical product means. A central processing unit for sequence control, comprising: temporary storage means added to the leftmost end; an accumulator that latches a calculation result; and a driver that outputs the contents of the accumulator. 2. A central processing unit for sequence control according to claim 1, wherein the temporary storage means is constituted by a serial-in/serial-out shift register.
JP14477885A 1985-07-03 1985-07-03 Central processing unit for sequence control Pending JPS626304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14477885A JPS626304A (en) 1985-07-03 1985-07-03 Central processing unit for sequence control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14477885A JPS626304A (en) 1985-07-03 1985-07-03 Central processing unit for sequence control

Publications (1)

Publication Number Publication Date
JPS626304A true JPS626304A (en) 1987-01-13

Family

ID=15370211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14477885A Pending JPS626304A (en) 1985-07-03 1985-07-03 Central processing unit for sequence control

Country Status (1)

Country Link
JP (1) JPS626304A (en)

Similar Documents

Publication Publication Date Title
Duley et al. A digital system design language (DDL)
JPS62264357A (en) Simulation of processor addition for parallel processor array
EP0070863A1 (en) Stored-program control machine.
JPH0570187B2 (en)
JPH0414362B2 (en)
US5309444A (en) Integrated circuit including a test cell for efficiently testing the accuracy of communication signals between a standard cell and an application cell
JPS626304A (en) Central processing unit for sequence control
US4101967A (en) Single bit logic microprocessor
EP0143351B1 (en) Memory device with a register interchange function
JPH0334084B2 (en)
Gerace Microprogrammed control for computing systems
JPS59123934A (en) Programmable logic controller
JPH06161518A (en) Programmable controller
JP2784001B2 (en) Instruction processing circuit of programmable controller
Dinneen et al. The logical design of CG24
JPS6229832B2 (en)
JPS61100802A (en) Operation processing system of programmable sequence controller
JP2764024B2 (en) Storage device table indexing method and indexing device
JPH0239823B2 (en)
JPH0626305B2 (en) Double memory configuration pulse programmer
SU1327104A1 (en) Microprogram control device
JPS6033475Y2 (en) Small electronic calculator with program
JPS62287323A (en) Microcomputer
JPH0792769B2 (en) Logic simulator
Hsu et al. Sequential Logic Circuits