JPS63148303A - Arithmetic processing system for programmable sequence controller - Google Patents

Arithmetic processing system for programmable sequence controller

Info

Publication number
JPS63148303A
JPS63148303A JP29502886A JP29502886A JPS63148303A JP S63148303 A JPS63148303 A JP S63148303A JP 29502886 A JP29502886 A JP 29502886A JP 29502886 A JP29502886 A JP 29502886A JP S63148303 A JPS63148303 A JP S63148303A
Authority
JP
Japan
Prior art keywords
column
instruction
words
relay ladder
parameters
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
JP29502886A
Other languages
Japanese (ja)
Inventor
Yoshihiko Okayama
喜彦 岡山
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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Priority to JP29502886A priority Critical patent/JPS63148303A/en
Publication of JPS63148303A publication Critical patent/JPS63148303A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To quickly process the column cyclic operation with software by compiling instruction words of a relay ladder diagram into instruction words of a CPU. CONSTITUTION:An instruction word having parameters which correspond to respective elements of a relay ladder in 1:1 is generated. (n) indicates 128-kinds of byte address 00H-7FH of all contacts, and (b) indicates 8 kinds of bit address 0-7 of all contacts. The instruction word to load parameters of said instruction word to registers (omitted in the figure) and instruction words to call subroutines of a sequence program are generated, and these instruction words are compiled.

Description

【発明の詳細な説明】 (産業上の利用分野〕 この発明は、各種自動化機器のシーケンス制御をプログ
ラマブルに実行するプログラマブルシーケンスコントロ
ーラ(以下PCという)に係り、特にシーケンスプログ
ラムの演算処理を行う列サイクリック演算機能を有する
PCにおいて、列サイクリック演算をハードウェアで処
理することなく、ソフトウェア的に処理することによっ
てPCの演算処理を高速度に行うことができるプログラ
マブルシーケンスコントローラの演算処理方式に関する
Detailed Description of the Invention (Industrial Field of Application) The present invention relates to a programmable sequence controller (hereinafter referred to as a PC) that programmably executes sequence control of various automated equipment, and particularly relates to a programmable sequence controller (hereinafter referred to as a PC) that programmably executes sequence control of various automated equipment, and in particular, The present invention relates to an arithmetic processing method for a programmable sequence controller that can perform arithmetic processing on a PC having a click arithmetic function at high speed by processing column cyclic arithmetic using software instead of using hardware.

〔従来の技術〕[Conventional technology]

一般に、PCにおいて、リレーラダー回路に代るプログ
ラム上の命令群よりなるシーケンスプログラムを作成す
る場合、対応するりレーラダー回路自体をよく調べて命
令の実行順序を考慮しながらプログラムを作成しなけれ
ばならない。このことは、リレーラダー回路が複雑にな
るに従ってシーケンスプログラムの作成も複雑化すると
いう難点があった。
Generally, when creating a sequence program consisting of a group of instructions on a program to replace a relay ladder circuit on a PC, it is necessary to carefully examine the corresponding relay ladder circuit itself and create the program while considering the order of execution of the instructions. . This has the disadvantage that as the relay ladder circuit becomes more complex, the creation of the sequence program also becomes more complicated.

このような問題点を克服するために、どのように複雑な
りレーラダー回路でもプログラムの作成が機械的に容易
にできる列ナイフリック演算方式が提案されたく特開昭
56−147203号公報)。この演算方式は、例えば
、第9図に示される演算部がその一部である。第9図に
おいて、シフトレジスタ101は接点情報を入力するた
めの第1の記憶手段であり、シフトレジスタ102は分
岐情報を入力するための第2の記憶手段であり、シフト
レジスタ103は演算開始時に論理値1を設定する第3
の記憶手段であり、Ωはこの第3の記憶手段からの出力
および前記第1、第2の記憶手段からの出力に応答して
リレーラダー回路の一列分の論理演算を遂行し、その結
果が前記第3の記憶手段に与えられるように構成したゲ
ート手段である。命令語C11、CおよびC31は第9
図の左側に示すリレーラダー回路の接点C1CおよびC
31に1対1で対応し、命令lB11およびB21はリ
レーラダー回路の分岐B およびB21にそれぞれ対応
する。従来方式においては、ゲート手段Ωの論理回路か
ら明瞭なように、例えば接点の命令語C21は同列の相
隣る行の接点の命令語CとCが分岐の命令1811と8
21と偽す論理積C−8およびC−31・B21に対し
て論理和をとる出力として第3の記憶手段に入力するよ
う設定されている。この入力は、第2列目の接点の命令
語C22にフィードバックされて論理積がとられ、接点
の命令HC2□は第1列目の接点の命令語C21と同様
な演算が繰返して続行される。このように、接点の命令
ICと分岐の命令HBとをロードするだけで演算が実行
されるので、高速演算が可能になる。このような列ナイ
フリック演算の特徴を利用し、PCのスキャン時間を短
縮するために、リレーラダー演算に関しては、ハードウ
ェアからなる列サイクリック演算部で処理を行い、また
I10アクセスやアラーム検出、チェッカおよび周辺装
置サービス等に関しては、CPUで処理を行うようにし
たPCのシステムが開発された。
In order to overcome these problems, a column knife click calculation system has been proposed that allows mechanically easy programming of any rail ladder circuit, no matter how complex (Japanese Patent Application Laid-open No. 147203/1983). This calculation method includes, for example, a calculation unit shown in FIG. 9. In FIG. 9, a shift register 101 is a first storage means for inputting contact information, a shift register 102 is a second storage means for inputting branch information, and a shift register 103 is a first storage means for inputting contact information, and a shift register 103 is a first storage means for inputting contact information. 3rd set to logical value 1
is a storage means, and Ω performs logical operations for one column of the relay ladder circuit in response to the output from the third storage means and the outputs from the first and second storage means, and the result is Gate means configured to be applied to the third storage means. Command words C11, C and C31 are the ninth
Contacts C1C and C of the relay ladder circuit shown on the left side of the diagram
31, and instructions IB11 and B21 correspond to branches B and B21 of the relay ladder circuit, respectively. In the conventional system, as is clear from the logic circuit of the gate means Ω, for example, the instruction word C21 of the contact point is the instruction word C21 of the contact point in the same column and the adjacent row, and the instruction words C are branch instructions 1811 and 8.
It is set to be input to the third storage means as an output for calculating the logical sum of the logical products C-8 and C-31·B21, which are false as 21. This input is fed back to the command word C22 of the contact in the second column and a logical product is taken, and the same operation as the command word C21 of the contact in the first column is repeated and continued for the contact command HC2□. . In this way, the calculation is executed simply by loading the contact instruction IC and the branch instruction HB, so that high-speed calculation is possible. In order to reduce the PC scan time by utilizing the characteristics of column knife-click calculations, relay ladder calculations are processed by a column cyclic calculation unit consisting of hardware, and I10 access, alarm detection, Regarding checkers, peripheral device services, etc., a PC system in which processing is performed by a CPU has been developed.

〔発明が解決じょうする問題点〕[Problems that the invention solves]

しかしながら、従来の列サイクリック演n部を備えるP
Cにおいて、第9図に示すハードウェア構成の演算部を
有効に作動するためには、繰返し走査用のタイミング発
生回路、CPLIと列サイクリック演算部とのセパレー
タ等が必要であり、装置全体としては高価になり、小規
模のPCには適切でないという問題が生じた。また、従
来と同様にCPU処理のみで行う方式においては、前記
したシーケンスプログラム作成の難点のみならず、シー
ケンスプログラムの命令語を一つずつ解読し、しかも、
入出力データ(I10データ)の読み出しを順次実行す
る通訳ルーチンであるインタプリンタ方式を採用するた
め、これらの処理に多くの時間を要し、スキャン時間を
短縮できないという問題があった。
However, P
In C, in order to effectively operate the arithmetic unit with the hardware configuration shown in FIG. 9, a timing generation circuit for repetitive scanning, a separator between the CPLI and the column cyclic arithmetic unit, etc. are required, and the overall device The problem arose that it was expensive and unsuitable for small-scale PCs. In addition, in the conventional method of performing only CPU processing, not only the above-mentioned difficulties in creating a sequence program, but also the fact that the instruction words of the sequence program are decoded one by one.
Since an interpreter method, which is an interpreter routine that sequentially reads input/output data (I10 data), is used, there is a problem in that these processes take a lot of time and the scanning time cannot be shortened.

そこで、本発明の目的は、従来の列サイクリック演算方
式における分岐の命令語を省略し、これに代る接点の新
しい命令語を作成し、従来の列サイクリック演算部を利
用することなく列サイクリック演算をソフトウェア的に
処理することによって、小規模かつ低価格なPCに適合
する演算処理方式を提供するにある。
Therefore, an object of the present invention is to omit the branch instruction word in the conventional column cyclic operation method, create a new instruction word for the contact point in place of it, and to The object of the present invention is to provide an arithmetic processing method that is suitable for small-scale and low-cost PCs by processing cyclic arithmetic operations using software.

〔問題点を解決するための手段〕[Means for solving problems]

本発明に係るプログラマブルシーケンスコントローラの
演算処理方式は、リレーラダー回路をスイッチマトリッ
クスに対応させてその列情報および行情報回路の左方端
側の列から順次右方の出力部側に向けて論理演算を積み
重ねるようにし、対応する行における出力の状態を算出
してシーケンスプログラムを実行するよう構成した列サ
イクリック演算機能を備えるプログラマブルシーケンス
コントローラにおいて、リレーラダーの各要素に対応す
るパラメータに関する命令語と、リレーラダーの分岐に
関する接点の命令語と、前記パラメータをレジスタにロ
ードする命令語と、シーケンスプログラムのサブルーチ
ンをコールする命令語とを作成し、これらの命令語をコ
ツパイルしてシーケンスプログラムを形成することを特
徴とする。
The arithmetic processing method of the programmable sequence controller according to the present invention is to make the relay ladder circuit correspond to a switch matrix, and perform logical operations sequentially from the left end column of the column information and row information circuit toward the right output section side. In a programmable sequence controller equipped with a column cyclic calculation function configured to stack up the output states of the relay ladder and execute the sequence program by calculating the state of the output in the corresponding row, a command word regarding the parameter corresponding to each element of the relay ladder; Create a command word for a contact point related to branching of a relay ladder, a command word for loading the parameter into a register, and a command word for calling a subroutine of a sequence program, and pile up these command words to form a sequence program. It is characterized by

前記の演算処理方式において、シーケンスプログラムを
形成するコンパイルされる命令語は、リレー、出力コイ
ル、タイマ、カウンタ等のデータに関するパラメータを
レジスタにロードする命令語と、前記パラメータの処理
手順を示すサブルーチンをコールする命令語と、列サイ
クリック演算の列の境界を示す命令で1列分の前記パラ
メータ論理演算を行うサブルーチンをコールする命令語
とから構成することができる。
In the arithmetic processing method described above, the compiled instructions that form the sequence program include instruction words that load parameters related to data such as relays, output coils, timers, counters, etc. into registers, and subroutines that indicate processing procedures for the parameters. It can be composed of an instruction word to call, and an instruction word to call a subroutine that performs the parameter logical operation for one column by an instruction indicating the column boundary of the column cyclic operation.

〔作用〕[Effect]

本発明に係るプログラマブルシーケンスコントローラの
演算処理方式によれば、リレーラダーの各要素を1対1
の対応でその入力部と出力部のパラメータを命令語に変
換し、さらに前記パラメータをレジスタにロードする命
令語およびシーケンスプログラムのナブル−チンをコー
ルする命令語をそれぞれ作成し、これらの命令語をコン
パイルすることにより、CPUによりシーケンスプログ
ラムを簡便に形成することができる。
According to the arithmetic processing method of the programmable sequence controller according to the present invention, each element of the relay ladder is
Convert the parameters of the input part and output part into command words using the correspondence, and create an command word to load the parameters into the register and a command word to call the sequence program's command, and then convert these command words into command words. By compiling, a sequence program can be easily created by the CPU.

〔実施例〕〔Example〕

次に、本発明に係るプログラマブルシーケンスコントロ
ーラ(PC)の演算処理方式の実施例につき添付図面を
参照しながら以下詳細に説明する。
Next, an embodiment of the arithmetic processing method of the programmable sequence controller (PC) according to the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明の演算処理方式を実施するPCのブロ
ック回路図である。第1図におイテ、参照符@10はC
PU(例えば780A)、12はメモリ、14は■10
インタフェース、16は周辺装置インタフェース、18
はアラーム表示器、20はI10装置、22は周辺装置
をそれぞれ示す。従って、本実施例回路においては、特
殊な列サイクリック演算部は設けられない。次に、8ビ
ツトCPU (Z80A)を使用した場合のプログラム
例につき説明する、なお、8ビツトCPUのため、8行
X11列のりレーラダーに関する入力パラメータと8個
の出力パラメータの列サイクリック演算に限定される。
FIG. 1 is a block circuit diagram of a PC implementing the arithmetic processing method of the present invention. It is shown in Figure 1, reference mark @10 is C.
PU (for example 780A), 12 is memory, 14 is ■10
interface, 16; peripheral device interface, 18;
2 indicates an alarm display, 20 indicates an I10 device, and 22 indicates a peripheral device. Therefore, in the circuit of this embodiment, no special column cyclic calculation section is provided. Next, we will explain a program example when using an 8-bit CPU (Z80A). Note that because it is an 8-bit CPU, it is limited to column cyclic calculations of input parameters and 8 output parameters related to a 8-row x 11-column rail ladder. be done.

まず、リレーラダーの各要素に1対1で対応するパラメ
ータの命令語を示せば、第2図に示す通りである。第2
図において、nは全ての接点のバイトアドレスを示し、
OOHから7FHの128個あり、bは全ての接点のビ
ットアドレスを示しOから7の8個である。
First, the command words of parameters that correspond one-to-one to each element of the relay ladder are as shown in FIG. Second
In the figure, n indicates the byte address of all contacts,
There are 128 bits from OOH to 7FH, and b indicates the bit address of all contacts, and there are 8 bits from 0 to 7.

I10データのマツプは第3図に示すように1バイト8
ビツトで格納される。1バイト1ビツトでの格納はメモ
リ容量が少なくて良いと考えられるが、8ビツトに変換
する処理が必要になり処理時間が長くなる。前記命令語
で(AND C0NNECT)および(AND C0N
NECT TOP)に示すものは従来の分岐の命令語に
代る新しい接点の命令語である。また、無条件接続を示
ず □−−−および無接続を示す 、  ・  の命令は特定のアドレ スのa接点およびb接点命令に置き換えられる。これら
は実質的に零である。これらの命令語はCPU (Z8
0A)で演舜が実行できるようにCPtJ (Z80A
)の命令にコンパイルされて、第3図のI10データメ
モリマツプに示すように記憶される。例えば、下記のよ
うにコンパイルされる。
The map of I10 data is 1 byte 8 as shown in Figure 3.
Stored in bits. Storing in 1 byte and 1 bit is considered to require less memory capacity, but requires processing to convert to 8 bits, which increases processing time. In the command word (AND C0NNECT) and (AND C0N
NECT TOP) is a new contact instruction word that replaces the conventional branch instruction word. In addition, the commands □---, which does not indicate an unconditional connection, and ・, which indicates no connection, are replaced with a contact a and a contact b command of a specific address. These are essentially zero. These instruction words are used by the CPU (Z8
CPtJ (Z80A)
) and stored as shown in the I10 data memory map of FIG. For example, the following is compiled:

LD  L 、 X0OL  にコンパイルされる。Compiled into LD L, X0OL.

CALL  ANDO ここにX0OLはxoooが入っているバイトアドレス
を示す。LDはパラメータをレジスタにロードする命令
語で、0ALLは各処理プログラム例えばサブルーチン
をコールする命令語である。さらに、下記にコンパイル
の例を示す。
CALL ANDO Here, X0OL indicates the byte address containing xooo. LD is an instruction word for loading parameters into a register, and 0ALL is an instruction word for calling each processing program, such as a subroutine. In addition, a compilation example is shown below.

出カー〇−−臼YO15→ LD  L 、 YOIL
C八LL へ 0UT5 また、分岐情報は、1列文の最後に、第4図のコンパイ
ル時にコールされるサブルーチンの示すBROOからB
RFEの128種の各分岐パターンに従って処理される
Output car〇--mill YO15→LD L, YOIL
To C8LL 0UT5 In addition, the branch information is written at the end of the 1-column statement from BROO to B indicated by the subroutine called during compilation in Figure 4.
Processing is performed according to each of the 128 branch patterns of RFE.

前記のように、この列の最後を示すTOP命令は列の境
界を示すもので、前列の出力結果〔Cレジスタに示され
る〕とこの列の接点の入力結果〔Bレジスタに示される
〕との論理積をとり、次にこの列、1列分の分岐パター
ンにより論理和を演算してCレジスタに新しく格納する
というサブルーチンを行うコンパイルされた命令語がB
R30である。また、ENDは出力エンド命令語で入力
接点レジスタ〔Bレジスタ〕を0、出力レジスタ〔Cレ
ジスタ〕を0FFHにする。
As mentioned above, the TOP instruction indicating the end of this column indicates the column boundary, and the output result of the previous column [shown in the C register] and the input result of the contact point of this column [shown in the B register] are combined. The compiled instruction word B is a subroutine that performs a logical product, then performs a logical sum using the branch pattern for this column and one column, and stores the new data in the C register.
It is R30. Furthermore, END is an output end command word and sets the input contact register [B register] to 0 and the output register [C register] to 0FFH.

例えば CALL 0UT2 10 BC、0OFFH とコンパイルされる。for example CALL 0UT2 10 BC, 0OFFH is compiled with

ラッチタイマ、カウンタ、ファンクション命令等も例え
ば下記のように同様にコンパイルされる。
Latch timers, counters, function instructions, etc. are also compiled in the same way, for example as shown below.

CALL FOOO そこで、第4図にサブルーチンのプログラム例を示せば
次の通りである。
CALL FOOO Therefore, an example of a subroutine program is shown in FIG. 4 as follows.

AND OLOA、[HL] RR8←接点レジスタに レット RET      ←リターン (このANDOサブルーチンにおいて[HL ]の1ル
ジスタにはI10メモリの先頭アドレスの上位8ビツト
が格納されているものとする。また、RRはローティト
シフトの命令語である。〕 NANDI  LD   A、 [HL]CCF   
   ←ピット反転 RRB    ←接点レジスタに セット ET 0UT5     LD     A、  [lILコ
RL   C←出力結果取出し JRC,0UT5.ON ←出力ON ET AND 38H←ビット3,4.5チェックRETZ 
  ←ビット3,4.5オール0なお、前記各ビット数
3.4.5は、第5図に示す通りである。
AND OLOA, [HL] RR8 ← Let RET in the contact register ← Return (In this ANDO subroutine, it is assumed that the upper 8 bits of the start address of the I10 memory are stored in the 1 register of [HL]. Also, RR is This is a rotation shift command.] NANDI LD A, [HL] CCF
←Pit inversion RRB ←Set in contact register ET 0UT5 LD A, [lIL RL C←Output result retrieval JRC, 0UT5. ON ← Output ON ET AND 38H ← Bit 3, 4.5 check RETZ
←Bits 3, 4.5 all 0 The numbers of each bit, 3, 4, 5, are as shown in FIG.

このようにプログラムされたサブルーチンは、コンパイ
ルした時コールされるサブルーチンとして第4図に23
7種類が示される。
The subroutine programmed in this way is shown at 23 in Figure 4 as a subroutine called when compiled.
Seven types are shown.

次に、前述した本発明演算処理方式につき具体例を示し
て説明する。第6図はりレーラダー図の一例を示すもの
であり、このリレーラダー図に基づいて命令語を作成す
る場合について説明する。すなわち、第6図に示すリレ
ーラダーの各要素を命令語に変換する場合、入力部の接
点データ×000等は下方から上方に順番に並置すると
共に出力部のパラメータは上方から下方に順番に並置し
て、第7図に示すように命令語に変換する。このように
して、変換された命令語は、コンパイルされて第8図に
示すようにコンパイルされた命令語となる。従って、P
、Cの運転時には、CPUは第8図に示されるコンパイ
ルされた命令語からなるプログラムを繰返し実行する。
Next, the above-mentioned arithmetic processing method of the present invention will be explained by showing a specific example. FIG. 6 shows an example of a beam relay ladder diagram, and a case where a command word is created based on this relay ladder diagram will be described. That is, when converting each element of the relay ladder shown in Fig. 6 into a command word, the contact data x000 etc. of the input part are arranged in order from the bottom to the top, and the parameters of the output part are arranged in order from the top to the bottom. Then, it is converted into an instruction word as shown in FIG. In this way, the converted instruction word is compiled into a compiled instruction word as shown in FIG. Therefore, P
, C, the CPU repeatedly executes a program consisting of compiled instructions shown in FIG.

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

前述した実施例から明らかなように、本発明に係るシー
ケンスコントローラの演算方式によれば、リレーラダー
図の命令語をCPUの命令語にコンパイルすることによ
り、列サイクリック演算をソフトウェアで高速に処理す
ることができ、小規模で低価格のPCに適合する演算処
理方式を得ることができる。
As is clear from the embodiments described above, according to the calculation method of the sequence controller according to the present invention, column cyclic calculations can be processed at high speed by software by compiling the command words of the relay ladder diagram into the command words of the CPU. This makes it possible to obtain an arithmetic processing method suitable for small-scale, low-cost PCs.

以上、本発明の好適な実施例について説明したが、本発
明の精神を逸脱しない範囲内において種々の設計変更を
なし得ることば勿論である。
Although the preferred embodiments of the present invention have been described above, it goes without saying that various design changes can be made without departing from the spirit of the present invention.

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

第1図は本発明に係る演算処理方式を実施するプログラ
マブルシーケンスコントローラのブロック回路図、第2
図は本発明方式で採用されるリレーラダー図に対応する
命令語の説明図、第3図は本発明方式で採用されるI1
0データのメモリマツプに関する説明図、第4図は本発
明方式に採用されるコンパイル時にコールされるサブル
ーチンの説明図、第5図は本発明方式に採用されるサブ
ルーチンのプログラムにおけるビット数とりレーラダー
図の関係を示す説明図、第6図乃至第8図は本発明方式
における命令語のコンパイル化を示す一実施例であって
、第6図はりレーラダー図、第7図は命令語への変換図
、第8図はコンパイル・された命令語への変換図をそれ
ぞれ示し、第9図は従来の列サイクリック演算部の主要
部のブロック回路図である。 10・・・cpu       i 2・・・メモリ1
4・・・I10インタフェース 16・・・周辺装置インタフェース 18・・・アラーム表示鼎 20・・・I10装置22
・・・周辺装置 101・・・シフトレジスタ(第1の記憶手段)102
・・・シフトレジスタ(第2の記憶手段)103・・・
シフトレジスタ(第3の記憶手段)FIG、 2(a) FIG、2(b) FIG  3 FIG  、!。 合計237種 ビット )J#       エカ部 一刺一−’  X0O4 TOP−e← X0O1 TOP←ヒー X0O2 −()−1YOIO END−C←−’  YOll FIG、8 −4)−XOO3(LC計号3°L →←X0O4(呂ALL  NQ’#足(→YOIO(
儒、頴IL
FIG. 1 is a block circuit diagram of a programmable sequence controller that implements the arithmetic processing method according to the present invention, and FIG.
The figure is an explanatory diagram of command words corresponding to the relay ladder diagram adopted in the method of the present invention, and FIG. 3 is the I1 adopted in the method of the present invention.
4 is an explanatory diagram of the memory map of 0 data, FIG. 4 is an explanatory diagram of the subroutine called at the time of compilation adopted in the method of the present invention, and FIG. 5 is a diagram of the number of bits in the program of the subroutine adopted in the method of the present invention. 6 to 8 are explanatory diagrams showing the relationships, and FIGS. 6 to 8 are an example showing compilation of instruction words in the method of the present invention, FIG. 6 is a beam rail ladder diagram, and FIG. 7 is a conversion diagram to instruction words, FIG. 8 shows a conversion diagram into a compiled instruction word, and FIG. 9 is a block circuit diagram of the main part of a conventional column cyclic arithmetic unit. 10...cpu i 2...memory 1
4...I10 interface 16...Peripheral device interface 18...Alarm display 20...I10 device 22
... Peripheral device 101 ... Shift register (first storage means) 102
...Shift register (second storage means) 103...
Shift register (third storage means) FIG, 2(a) FIG, 2(b) FIG 3 FIG,! . Total of 237 types of bits) J# Eka part one stab -' X0O4 TOP-e← X0O1 TOP←Hee L →←X0O4(ro ALL NQ'#foot(→YOIO(
Confucianism, IIL

Claims (2)

【特許請求の範囲】[Claims] (1)リレーラダー回路をスイッチマトリックスに対応
させてその列情報および行情報回路の左方端側の列から
順次右方の出力部側に向けて論理演算を積み重ねるよう
にし、対応する行における出力の状態を算出してシーケ
ンスプログラムを実行するよう構成した列サイクリック
演算機能を備えるプログラマブルシーケンスコントロー
ラにおいて、リレーラダーの各要素に対応するパラメー
タに関する命令語と、リレーラダーの分岐に関する接点
の命令語と、前記パラメータをレジスタにロードする命
令語と、シーケンスプログラムのサブルーチンをコール
する命令語とを作成し、これらの命令語をコンパイルし
てシーケンスプログラムを形成することを特徴とするプ
ログラマブルシーケンスコントローラの演算処理方式。
(1) The relay ladder circuit is made to correspond to the switch matrix, and logical operations are stacked sequentially from the leftmost column of the column information and row information circuit toward the output section on the right side, and outputs in the corresponding rows. In a programmable sequence controller equipped with a column cyclic calculation function configured to calculate the state of a relay ladder and execute a sequence program, command words related to parameters corresponding to each element of a relay ladder, and command words of contacts related to branching of the relay ladder. , an arithmetic processing for a programmable sequence controller characterized in that an instruction word for loading the parameters into a register and an instruction word for calling a subroutine of a sequence program are created, and these instruction words are compiled to form a sequence program. method.
(2)特許請求の範囲第1項記載の演算処理方式におい
て、シーケンスプログラムを形成するコンパイルされる
命令語は、リレー、出力コイル、タイマ、カウンタ等の
データに関するパラメータをレジスタにロードする命令
語と、前記パラメータの処理手順を示すサブルーチンを
コールする命令語と、列サイクリック演算の列の境界を
示す命令で1列分の前記パラメータ論理演算を行うサブ
ルーチンをコールする命令語とからなるプログラマブル
シーケンスコントローラの演算処理方式。
(2) In the arithmetic processing method described in claim 1, the compiled instruction words forming the sequence program are instruction words for loading parameters related to data of relays, output coils, timers, counters, etc. into registers. , a programmable sequence controller comprising an instruction word that calls a subroutine that indicates a processing procedure for the parameters, and an instruction word that calls a subroutine that performs the parameter logical operation for one column with an instruction that indicates the column boundary of the column cyclic operation. calculation processing method.
JP29502886A 1986-12-12 1986-12-12 Arithmetic processing system for programmable sequence controller Pending JPS63148303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29502886A JPS63148303A (en) 1986-12-12 1986-12-12 Arithmetic processing system for programmable sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29502886A JPS63148303A (en) 1986-12-12 1986-12-12 Arithmetic processing system for programmable sequence controller

Publications (1)

Publication Number Publication Date
JPS63148303A true JPS63148303A (en) 1988-06-21

Family

ID=17815388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29502886A Pending JPS63148303A (en) 1986-12-12 1986-12-12 Arithmetic processing system for programmable sequence controller

Country Status (1)

Country Link
JP (1) JPS63148303A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194402A (en) * 1989-01-24 1990-08-01 Matsushita Electric Ind Co Ltd High-speed arithmetic processing system for programmable sequence controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194402A (en) * 1989-01-24 1990-08-01 Matsushita Electric Ind Co Ltd High-speed arithmetic processing system for programmable sequence controller
JP2618703B2 (en) * 1989-01-24 1997-06-11 松下電器産業株式会社 High-speed operation processing method of programmable sequence controller

Similar Documents

Publication Publication Date Title
EP0298275B1 (en) Pattern splicing system and method for scanning of electron beam system
JPS5942892B2 (en) programmable digital computer
US4432047A (en) Sequence control apparatus
JPS63148303A (en) Arithmetic processing system for programmable sequence controller
JP2557856B2 (en) CAD system
JPH0528431B2 (en)
JPS63148304A (en) Program storage system for programmable sequence controller
JP3099889B2 (en) Electronic computer, programmable logic circuit and program processing method
JPS61131124A (en) Conversation input processing system
JP2554169B2 (en) Relative Rank Analysis Method for Data Driven Processor
JPH0119167B2 (en)
JPS5952444B2 (en) Sequence control device
JP2556083B2 (en) Complex arithmetic pipeline circuit
JPS6217803A (en) Control system for programmable controller
Leung et al. CAD for pneumatic circuit design in low cost automation
JPH0221003B2 (en)
JPH0731527B2 (en) Programmable controller
JPH02171901A (en) Programmable controller
KR900005548B1 (en) Programmble controller
JPS63257038A (en) Attaching system for correspondent identification information in source program conversion
Leung et al. CAD FOR PNEUMATIC CIRCUIT DESIGN IN
JPS62123503A (en) Bit arithmetic circuit for sequencer
JPH07120172B2 (en) Programmable controller
JPH064348A (en) Program debugging system
JPS6329843A (en) Program control system