JPS5916007A - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JPS5916007A
JPS5916007A JP12740182A JP12740182A JPS5916007A JP S5916007 A JPS5916007 A JP S5916007A JP 12740182 A JP12740182 A JP 12740182A JP 12740182 A JP12740182 A JP 12740182A JP S5916007 A JPS5916007 A JP S5916007A
Authority
JP
Japan
Prior art keywords
word
memory
bit
sequence control
output
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
JP12740182A
Other languages
Japanese (ja)
Inventor
Mitsuaki Tanno
淡野 光章
Masanobu Kashiwara
柏原 正信
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP12740182A priority Critical patent/JPS5916007A/en
Publication of JPS5916007A publication Critical patent/JPS5916007A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/052Linking several PLC's
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15127Bit and word, byte oriented instructions, boolean and arithmetic operations

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To speed up processing by allowing a bit and a word arithmetic means to read and write data in and out of a storage on time-division basis. CONSTITUTION:A program counter 25 is driven by the output of an oscillator 24. The program counter 25 indicates addresses of a memory 29. Sequence control instructions are supplied to the bit arithmetic means 28 consisting of microprocessor. A gate unit 27 is controlled by the output of the oscillator 24 and the bit arithmetic means 28 and a bit data memory 26 are connected to perform the arithmetic of both. The word arithmetic means 10 operates independently according to a system program memory 22. The word arithmetic means 10 is operated during the period when the sequence instructions are read and written. Therefore, there is no influence upon the speed of the bit arithmetic means 28.

Description

【発明の詳細な説明】 この発明はリレー凹路の演算処理、およびカウンタ タ
イマの処理およびデータ演算処理およびデータ転送を容
易にするシーケンス制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sequence control device that facilitates relay concave path calculation processing, counter timer processing, data calculation processing, and data transfer.

従来この種の装置として第1図に示すものがあつ1こ。One conventional device of this type is the one shown in Figure 1.

図において、(1月4発振器、(2jはこの発a&(1
]の発振局期毎に歩進するフ゛ロクラムカウンタ・(3
1は)゛ログラムカウンタの各段の出力によりアドレス
か与えられるシーケンス制御ブロクラムメモリである。
In the figure, (1/4 oscillator, (2j is this oscillator a&(1
) is a spherical counter that increments every oscillation period of (3
1 is a sequence control block memory whose address is given by the output of each stage of the program counter.

(4)はヒツト演算器であり、(5)はヒツト演算の一
時記憶メモリである。(6)は入力部であり(7a)〜
(7f月オ入力端子である。(8)は出力部であり(9
a)〜(9f)は出力端子である。
(4) is a hit calculation unit, and (5) is a temporary storage memory for hit calculations. (6) is an input section, and (7a) to
(7f is the input terminal. (8) is the output part and (9)
a) to (9f) are output terminals.

次に動作について説明する。発振器(υによって出力さ
れfこ一定局沢数信号は)”ログラムカウンタ(2)を
歩進させる。フ゛ロクラムカウンタ(2)の各段の出力
線は、シーケンス制御プログラムメモリ(3)のアドレ
スを歩進に従って一塾地毎に増加させ、シーケンヌ制御
フ”ログラムメモリ(3)のデータ線にシーケン7制御
プログラムメモリ(3)の記憶内容を遂次読み出させる
。シーケンス制御プログラムメモリ(3)の記憶内容は
一連の論理演算命令コードで。
Next, the operation will be explained. The oscillator (υ) outputs a constant local number signal f which increments the program counter (2). The program is increased one by one in accordance with the step, and the stored contents of the sequence 7 control program memory (3) are sequentially read out to the data line of the sequence control program memory (3). The contents of the sequence control program memory (3) are a series of logical operation instruction codes.

制御し1こい工作機械や自動j組立機械等の制御対象ノ
動作を満す様あらかじめシーケン7制御プログラムメモ
リ(30こ魯込才れている。ヒツト演算器(4)は遂次
読み出さ口た論理演算命令コードを判読し。
The sequence control program memory (30 pieces) is stored in advance to satisfy the operations of controlled objects such as machine tools and automatic assembly machines.The human computing unit (4) sequentially reads out the logic Interpret the operation instruction code.

外部入力端子(7a)〜(7f)および入力部(6)を
経てビット演算器(4)に導かれる入力信号間や、出力
部+8)に出力した論理値との闇での論理演算を実施す
る。
Performs hidden logical operations between the input signals led to the bit arithmetic unit (4) via the external input terminals (7a) to (7f) and the input section (6), and with the logical value output to the output section +8). do.

論理演算結果は最終的には出力部(8)に出力され。The logical operation result is finally output to the output section (8).

出力端子(9a)〜(9f)から制御対象を駆動する。The controlled object is driven from the output terminals (9a) to (9f).

ヒツト演算器+41は1ビット単位の論理演算を高速で
実行する演算器でフ”ログラムカウンタ(21の一巡局
期で再度同じ命令を実行するくり返し方式で、−巡局期
か短いため外部入力、および外部出力からは従来のリレ
ー制御盤のように並列に論理回路か働いている様にiえ
る。
Hit operator +41 is an arithmetic unit that executes logic operations in 1-bit units at high speed. And from the external output, it seems like logic circuits are working in parallel like a conventional relay control panel.

第1図に示す様な従来のシーケンス装置はヒツト演算器
を中心にしてm成されているので、データ処理を必要と
する場合にはビット演算を繰り返すしか力泳かrt<、
実際上不可能に等しかった。
Conventional sequence equipment as shown in Fig. 1 is built around a human computing unit, so when data processing is required, the only option is to repeat bit operations.
It was practically impossible.

別の従来のこの種の装置として、第2図に示すものかl
j)つ1こ。図において、 (10はマイクロプロセッ
サ、Oυは入力部であり、 (12a)〜(12f)は
入力端子である。α罎は出力部であり、 (14a)〜
(14f)は出力端子である。O椴はマイクロプロセッ
サを7−ケンスst+御装置として動作させるシステム
フ゛ロクラムメモリ、0c11.tシーケンス制御プロ
グラムメモリでj)ろ。
Another conventional device of this type is the one shown in Figure 2.
j) One. In the figure, (10 is a microprocessor, Oυ is an input section, (12a) to (12f) are input terminals, α is an output section, and (14a) to (12f) are input terminals.
(14f) is an output terminal. 0c11.0c11.0c11.0c11.0c11. j) with t sequence control program memory.

次に動作について説明する。マイクロッ”ロセツサ00
はシステムフ”ログラムメモリQFjに格納されている
システムプログラムによってシーケン7制御プログラム
メモリOQの一部を読み取り、その語のコードを判別し
、そのコードに応じたii+?+i理演算を実行する。
Next, the operation will be explained. micro'rosetsusa00
reads a part of the sequence 7 control program memory OQ by the system program stored in the system program memory QFj, determines the code of the word, and executes the logical operation ii+?+i according to the code.

この論理演算を実行するに際し、上記コードの一部であ
る入力部のアドレスを判別し。
When executing this logical operation, determine the address of the input part that is part of the above code.

外部入力端子(12a)〜(12f)より、入力部αb
によって必要な入力を選択しマイクロプロセッサO[)
の演算部に読み込む。シーケンヌ制御1μグラムの一部
の処理か終った後、システムフーログラムC′iンーケ
ンヌ制御プログラムメモリGf9の次の一部を読み取り
、そのコードを判別し、そのコードに給じTこ1理演算
を実行する。一連のシーケンス制御フ゛ロクラムの中で
出力命令に対応するコードかシーケンス制御プログラム
メモリQf9から読み出された場合はシステムプログラ
ムは出力部(至)の対応するアドレスに、それ以前のビ
ット演算結果を出力する。
From external input terminals (12a) to (12f), input section αb
Select the required input by microprocessor O[)
Read into the calculation section of. After processing a part of the sequence control 1 μgram, read the next part of the system fluorogram C′i to the sequence control program memory Gf9, determine its code, and input the code to perform the logical operation T. Execute. When a code corresponding to an output instruction in a series of sequence control blocks is read from the sequence control program memory Qf9, the system program outputs the previous bit operation result to the corresponding address of the output section (to). .

シーケン7制御フ゛ログラムの一部の処理を終えるには
シZテム制御フ゛ログラムの10〜207.テップの処
理を必要とする。反面データ処理命令はマイクロプロセ
ッサのデータ語長か8ヒツト又は16ビツトであるから
高速に演算出来る等の特徴を有している。
To complete the processing of part of the sequence 7 control program, follow steps 10 to 207 of the system control program Z. Requires step processing. On the other hand, the data processing command has the characteristic that it can be operated at high speed because the data word length of the microprocessor is 8 bits or 16 bits.

第2因に示される従来のシーケンス制御装置はD上のよ
うに構成されているので、データ処理は高速であるかビ
ット演算処理は遅い等の欠点があった。
Since the conventional sequence control device shown in the second factor is configured as shown in D, it has drawbacks such as high speed data processing and slow bit operation processing.

従来のもう一つの方式に、マイクロ10セツサoQとビ
ット演算器(4)とを組合せた第8図のような装置があ
る。図において、(ホ)はピットテータメモリでビット
演算時の一時記憶と、入力、出力のON。
Another conventional method is a device as shown in FIG. 8, which combines a micro 10 setter oQ and a bit arithmetic unit (4). In the figure, (e) is a pit data memory for temporary storage during bit operations and for turning on inputs and outputs.

OFFヒツト情報か格納される。■は双方向ゲートでJ
)す、  (101)はコントロール線で、これにより
双方向ケートト制r…し、ヒツトデータメモリへ接続さ
れるパスを選択する。(102)はビット演算アドレヌ
/データバメである。栃は一方面ゲートでi)す、コン
トロール線/線(101)ζこJって、シーケンス制御
1プログラムメモリ(3ンのデータをマイクロフ゛ロセ
ツサに接続する。(100) i−フラグ線で、マイク
ロフロセッサαQとヒツト演算器(4)の間で互いに起
[・停止要求を交換することか出来る。第4図に)はツ
ーログラム例であり、シーケンス制御フログラムメモリ
の内容を示す。
OFF hit information is stored. ■ is a two-way gate and J
), (101) is a control line that controls the bidirectional connection and selects the path connected to the human data memory. (102) is a bit operation address/data correction. The control line/line (101) ζ connects the data of sequence control 1 program memory (3) to the microprocessor. (100) i-flag line, It is possible to exchange start/stop requests between the microprocessor αQ and the hit calculator (4). Figure 4) is an example of a tourogram, which shows the contents of the sequence control program memory.

第5図は本例の動作タイミンク図であり、(L4の1.
tビット[[手段の動作状況、 G11eはマイクロッ
”ロセッサの動作状況を示す。(48a)〜(48e)
 、 (δOa)〜(50e )は動作の進行状況を示
しaからeへ移る。
FIG. 5 is an operation timing diagram of this example (L4 1.
G11e indicates the operating status of the microprocessor. (48a) to (48e)
, (δOa) to (50e) indicate the progress of the operation and move from a to e.

次に動作について説明する。Next, the operation will be explained.

フ゛ロクラムカウンタ(2」は&初0であり、シーケン
ス制御フロクラムメモリ(3]はステップ0のビット命
令をヒツト演算器(4月こ渥す。ヒツト演シ器(4ンは
受は取った命令かビット演算であるこ♂をフック線(1
00)を通してマイクロプロセッサo(Jに知らせる。
The flocram counter (2) is & the first 0, and the sequence control flocram memory (3) takes the bit instruction of step 0 to the hit operator (April). This is an instruction or a bit operation by hook line (1
00) to the microprocessor o(J).

従ってマイクロプロセッサOQは動作しない。Therefore, microprocessor OQ does not operate.

またコントロール線(101)によって、ビット演算ア
ドレス/データパスが双方向ゲート■を通してヒツトデ
ータメモリ(ホ)に接続される。MJ、1間(48a)
の間ヒツト演算が実行され5次に発振器(υからの信号
により、)′ログラムカウンタ(21が隻近しステップ
lのヒツト命令を、ヒツト演坏器(4目C渡される。ビ
ット演算は期間(48b)の間実行され1次にプログラ
ムカウンタ(2)が歩進しステップ゛2のワード命令か
ヒツト演算器に渡されると、ビット演算!?4 (4)
 it演葬休体l:期間(48c) $2:入り、フッ
ク線(100)を通じて、マイクロプロセッサ(10に
対してワード演算であることを伝える。と同時に双方向
ゲート■および一方面ゲートに)をコントロール線(1
01)ヲ1lllじて制御し、シーケンス制御1プログ
ラムメモリ(3)の出力データおよびビットデータメモ
リ(ホ)のアドレス、データ線をマイクロッ”ロセッサ
のアドレス/データパスQ1に接続する。まTこ制御線
(101)を通じて1発&器(1)の発振を停且させる
。マイクロフロセッサはフラグ線(100)によってワ
ード演算命令でJ〕ることを検知し、一方向ゲートに)
を通し、てワード演算の油類を読み出し1次にプログラ
ムカウンタ(2)を進めワード演算の変数アドレスを睨
み取り、ワード演算を期間(50b)の間に実行する。
The control line (101) also connects the bit operation address/data path to the human data memory (e) through the bidirectional gate (2). MJ, 1m (48a)
During the interval, the hit operation is executed, and then the oscillator (by the signal from υ)' program counter (21) approaches, and the hit command of step l is passed to the hit operator (4th C). (48b) is executed, the program counter (2) increments the first step, and when the word instruction in step 2 is passed to the human operator, the bit operation!?4 (4)
It performance rest l: Period (48c) $2: Enter, through the hook line (100), inform the microprocessor (10 that it is a word operation. At the same time, to the two-way gate ■ and one-sided gate) the control line (1
01) Connect the output data of the sequence control 1 program memory (3) and the address and data lines of the bit data memory (e) to the address/data path Q1 of the microprocessor. Through the line (101), the oscillation of the device (1) is stopped.The microprocessor detects the word operation instruction (J) through the flag line (100) and sends it to the one-way gate.
The program counter (2) is first read out through , the program counter (2) is advanced, the variable address of the word operation is read, and the word operation is executed during the period (50b).

実行完了後、フラグ線(100)を通じてワード演算完
了を、ビット演算器(4)fζ伝える。ビット演算器(
4月は双方向ゲート■と一方向ゲートaをヒツト演算器
1に制御すると同時に発振器(1)の発振を再開させ、
ステップ(8の命令を続いて実行する。−万マイクロフ
゛ロセツザOりは休止期間に入るかタイマによる割込は
% Fr受けつけ、ワードデータメモリ@内にあるタイ
マテープの内容を更新する。以−上の動作がシーケン7
制御プログラムに従ってくり返えされる。lFj後はエ
ンド命令かヒツト演算器(4)に送られると、マイクロ
フ゛ロセツサOF1 letフラク線(100)を通じ
て、こjlを知り期間(50e)に入りヒツトデータメ
モリ(ホ)の内容を読み取り、出力部−に出力すると同
時に入力部0υから外−1部信号を読み取ってビットデ
ータメモリ(ホ)に書込む。その後。
After the execution is completed, the word operation completion is transmitted to the bit operation unit (4) fζ through the flag line (100). Bitwise operation unit (
In April, the two-way gate ■ and the one-way gate a are controlled by the human operator 1, and at the same time, the oscillator (1) is restarted.
Step (Continuously executes the instruction in step 8. - The microprocessor enters the sleep period or interrupts by the timer are accepted, and the contents of the timer tape in the word data memory are updated. -The above operation is sequence 7
It is repeated according to the control program. After lFj, when the end command is sent to the hit calculator (4), the microprocessor OF1 learns this jl through the let flux line (100), enters the period (50e), and reads the contents of the hit data memory (e). At the same time as outputting to the output section -, the external signal is read from the input section 0υ and written to the bit data memory (E). after that.

フ′ログラウカウンタ(21をす七ソトして、ステップ
Flow counter (21 is set seven times and steps are taken.

Oからシーケンス制御グロダラムを実行させる。Execute the sequence control Grodarum from O.

従来のシーケン7制御装置は以上のようiζ構成されて
いるので、ビット演算とワード演算は一万か動作中の時
、他方が休止しているので全)′ログラムを実行するの
に時間かがかること、シーケン7制御プログラムの変更
、モニタは]ヒツト演算休止中に実施せねばならない等
、シーケンヌ制御フ”ログラムからワード演算の起動を
か番ブるため。
Since the conventional Sequence 7 controller is configured as described above, it takes time to execute the entire program because the bit operation and word operation are in operation while the other is at rest. In order to monitor the activation of word operations from the sequence control program, changes to the sequence control program, such as monitors, must be performed during hit operation pauses.

ビット演算がマスターで、ワード演算がヌレープの関係
か固定されており、データ処理主体の用途には不便であ
ること等の欠点がJlっだ。
The drawbacks are that bit operations are masters and word operations are fixed due to the Nurep relationship, which is inconvenient for data processing-based applications.

この発明は上記のような従来のものの欠点を除去獲るた
めになされたもので、ヒツト演算中段とワード演算手段
かデータメモリを時分割で共有する様ξζなし、高速の
ビット演算と高速のデータ演算を川面ならしめるシーケ
ン7制御装置を提供することを目的にしている。
This invention was made in order to eliminate the drawbacks of the conventional ones as described above, and it eliminates the need to share the middle stage of human operations and word operation means or data memory in a time-sharing manner, and enables high-speed bit operations and high-speed data operations. The purpose of this project is to provide a sequence 7 control device that smooths the surface of the river.

ま1こ本発町の別の目的は、cjLら演算手段と。Another purpose of this town is to use cjl and other calculation means.

送受m手段かデータメそりを時分割で共有する様にrt
 L 、応答性の良いり七−ト入出力機能を備えたシー
ケンス制御装置を提供することを目的としている。
RT to share the sending/receiving means or data mesori in a time-sharing manner.
The object of the present invention is to provide a sequence control device having seven input/output functions with good responsiveness.

史i乙本発明の別の目的はプログラムカウンタと。Another object of the present invention is to provide a program counter.

ワード演算手段かシーケン7制御プロタラムメモリを時
分割で共楢する様になし、ヒ゛ソト演算実行峙にもシー
ケンヌ制御フ′ログラムσ)i更、そ−1リングか容易
なシーケンス制御装置を提供することを目的としている
The word operation means and the sequence 7 control program memory are shared in a time-division manner, and the sequence control program σ)i is also used for execution of a series of operations. The purpose is to

以下この発明の一実施例を図番こつ0て説明する。An embodiment of the present invention will be described below with reference to drawing numbers.

第6図において輪はマイクロッ”ロセツサ憂こより構成
さ釘Tこワード演算手段、四(ばマイクロプロセッサの
システムプロクラムメモリて・データ演算処理タイマー
、カウンタ処理を実行するプロクラムと。
In FIG. 6, the ring is composed of a microprocessor, a word calculation means, a system program memory of the microprocessor, a data calculation processing timer, and a program for executing counter processing.

入出力制御用)”ログラムか入ってL)る。(1)l−
1このプログラム【ζよって制御される入力m、  t
soa)〜(80f)i、を入力端子である。ぐυは上
記入出力制御用フロクラムに誹って制御される出力部で
あり。
(1) l-
1 This program [inputs m, t controlled by ζ
soa) to (80f)i are input terminals. G is an output section that is controlled by the above input/output control flocram.

(81a)〜(81f)は出力端子である。CAはワー
トデータ処理時にデータを格納するワードデータメモリ
(81a) to (81f) are output terminals. CA is a word data memory that stores data during word data processing.

(財)は発振器であり、(ハ)はこの発振器により駆動
される演舞用のブロクラムカウンタ、(2)はこのブロ
クラムカウンタにより読み出されるシーケン7制御プロ
タラムメモリである。(ハ)はビット演算手段。
(Incorporated) is an oscillator, (C) is a blockram counter for performance driven by this oscillator, and (2) is a sequence 7 control program memory read out by this blockram counter. (c) is a bit operation means.

(ホ)はヒツトデータメモリである。@はゲートユニッ
トで1発振器(ハ)に誹って周期的にワード演算手段句
をヒツトデータメモリ(ホ)に、あるいはビット演算手
段(ハ)をヒツトデータメモリ(ホ)に接続する。
(E) is a human data memory. @ is a gate unit that uses one oscillator (c) to periodically connect the word operation means to the hit data memory (e) or the bit operation means (c) to the hit data memory (e).

またゲートユニット翰はワード演算手段の指令によって
、プログラムカウンタに)とワード演算器−を接続した
り、シーケン7制御プロタラムメモリ(2)とワード演
算手段−を接続したりする。鉛は割込要求線でヒツト演
算手段(ハ)からワード演算手段−に割込要求を伝える
。(財)はアドレヌ/データバヌでワード演算手段iζ
より制御される。第7図はビットデータメモリ(ホ)と
ワード演算手段−およびビット演算手段(ハ)の接続の
タイミングを表わすもので、coはビットデータメモリ
@とヒツト演算手段翰が接4.さ才「ているに;1間、
91jヒツトテータメモリ@とワード演算手段(ト)と
が払続さ第1ている期間である。
Further, the gate unit 10 connects the program counter (2) and the word arithmetic unit, or connects the sequence 7 control programm memory (2) and the word arithmetic unit, according to instructions from the word arithmetic means. The lead transmits an interrupt request from the hit calculation means (c) to the word calculation means through an interrupt request line. (Incorporated) is an address/data banu word operation means iζ
More controlled. FIG. 7 shows the timing of connections between the bit data memory (E), the word operation means and the bit operation means (C). Sasai: 1 hour,
91j This is the first period in which the data memory and the word calculation means (g) are continuously operated.

次に鉤(’p +4−>いて説明する。発振器■の出力
信号によって)゛ログラムカウンタ(ハ)か駆動される
Next, the program counter (C) is driven by the output signal of the oscillator (2).

フ”ログラムカウンタ(ハ)の各段の出力はケートユニ
ット(ハ)を経由してシーケンス制御フロクラムメモリ
翰のアドレス線を駆動し、シーケン7制御プロタラムメ
モリからシーケンス制御命令をビット演算手段(ハ)に
与える。一方こむと同期して発振器(財)の出力(Aゲ
ートユニット@を制御し、ビット演算手段(ハ)とヒツ
トデータメモリ(ホ)を接続する。ヒツト演算手段(ハ
)は受は取つtコシーケンヌ制御命令に従ってヒツトデ
ータメモリ(ホ)のビット間のヒツト演算を実施し、演
算結果をヒツト演算手段(ハ)内のビット演算結果レジ
スタに保持獲る。もしヒツト演算手段に与えられたシー
ケンス制御命令か出力命令であflは、演算結果レジス
タの内容をヒツトデータメモリ(ホ)に書き込(・。ワ
ード演算手段Q(Jはシステムプログラムメモリ(2)
に従って、ビット演算手段□□□とは独立に動作してお
り、抛々のデータ処理を実施している。ワード演訴手段
輪はビット演算手段@の演算結果か必要な場合はデータ
メモリ(ハ)に割当てら釘1こアドレノをアドレヌ/デ
ータパス(41−こ出し、待桟状態に入る。
The output of each stage of the program counter (c) drives the address line of the sequence control programm memory via the gate unit (c), and the sequence control command is transferred from the sequence control programm memory to the bit operation means ( On the other hand, in synchronization with the input, the output of the oscillator (A gate unit) is controlled, and the bit calculation means (C) and the hit data memory (E) are connected. The receiver executes a hit operation between the bits of the hit data memory (e) according to the control command it takes, and holds the operation result in the bit operation result register in the hit operation means (c). fl writes the contents of the operation result register to the human data memory (E) (... Word operation means Q (J is the system program memory (2)).
Accordingly, it operates independently of the bit operation means □□□ and performs various data processing. The word operation means outputs the operation result of the bit operation means @, if necessary, allocates it to the data memory (c) and outputs one nail from the address/data path (41-), and enters the standby state.

発振器@は高速でゲートユニット翰を制御し。The oscillator @ controls the gate unit at high speed.

前記のようにヒツトデータメモリ(ホ)とワード演算手
段■およびヒツト演舞手段(ハ)の接続を切り換えてい
るので、上記待機状態は一トtのうちに解除さf1第4
図の期間Ovの間にワード演算手段(7)はヒツトデー
タメモリ(ホ)の内容を読み取ることか出来るのである
。tyこシーケンス制御に必要1(外部入力情報はワー
ド演算手段−の指令により、入力端子(80a)〜(8
0f)および入力部四を介してワード演算手段(1)に
読み込ま口、ヒツトデータメモリ(イ)へ書込可fLる
。同様にヒツト演算手段(ハ)によって演算され1こシ
ーケンス制御情報は、ヒツトデータメモリ(ハ)へ書込
法れ、ワード演算手段に)にまっで読み出された後、出
力部なりへ出力され、出力端子(81a)〜(81f)
へ制御出力と出力される。
Since the connections between the human data memory (E), the word calculation means (2), and the human performance means (C) are switched as described above, the above standby state is released within one time (t).
During the period Ov in the figure, the word operation means (7) can read the contents of the human data memory (E). 1 required for sequence control (external input information is input from input terminals (80a) to (8
0f) and input section 4 into the word calculation means (1), and can be written into the human data memory (a) fL. Similarly, the sequence control information calculated by the human calculation means (c) is written to the human data memory (c), read out to the word calculation means (c), and then output to the output section. , output terminals (81a) to (81f)
is output as a control output.

シーケンス制御プログラムの中にワートデータ処理の命
令か書かf(でいる場合14.ビット演算手段(4)か
こ7’lを検知し1割込要求線−にワード演算手段句へ
の割込要求を出す。ワード演算手段■は割込要求を受は
取ると、現在実施しているプログラムとの優先JIII
J位を判定し、ヒツト演算手段(ハ)からの割込要求の
優先順位か高はわは、ケートユニット■を制御し、シー
ケンヌ制御プログラムメモリ(4)の内容を読み取り1
割込み要因を知り、必要な処理を行う。ワードデータ処
理が終了すれは。
If there is a word data processing instruction in the sequence control program, it detects 14.bit operation means (4) or 7'l and sends an interrupt request to the word operation means clause to the 1 interrupt request line -. When the word operation means receives an interrupt request, it takes priority over the currently executing program.
J rank is determined, and if the priority level of the interrupt request from the hit calculation means (c) is high, it controls the gate unit ■ and reads the contents of the sequence control program memory (4).
Know the interrupt cause and perform the necessary processing. Once word data processing is complete.

その結果かビットメそり弼に書込まれ、続いてビット演
算手段←か、それを用いて演算を続ける。
The result is written to the bit memory, and then the bit operation means ← or the operation is continued using it.

第8図はこの発も02具体的な実施例であり1図1(お
い−(−(108)は発&器(財)の出力線で一定局勘
の矩形波であり、フ゛ロクラムカウンタ(ハ)のパルス
入力に印力14される。C104)はフ′ロクラムカウ
ンタに)の各段の出力線でまり、シーケンスIII N
プログラムメモリに)のアドレスlIMiζ加えられる
。(105ンは)“ログラムカウンタ■のsrtmmの
出力線であり。
Figure 8 shows a specific example of this generator. 14 is applied to the pulse input of C104).
address lIMiζ) is added to the program memory. (105) is the srtmm output line of the program counter ■.

アトレスパフ切換ゲート−およびテ゛−タパス切換双方
向ゲー)([i3)の切換制御端子に接続される。
It is connected to the switching control terminal of the atres puff switching gate and the data path switching bidirectional gate ([i3).

(106)は制御フ゛ロクラムメモリ翰のデータ線テ本
fi++では8bitでJする。釦)は8 bitのラ
ッチであり。
(106) is 8 bits in the data line fi++ of the control block memory. button) is an 8-bit latch.

(107)はラッチの出力である。C109)liヒッ
lF具手段のアドレス線、 (108)はデータ線であ
り。
(107) is the output of the latch. C109) The address line of the liHIF tool means, (108) is the data line.

<111) i、t ワ−)’Si1手段のアドレスパ
ス、 (110)はデータ線である。(112)はビッ
トデータメモリ(イ)のアドレス線であり、  (11
8)はデータ線である。
<111) i, t ward)' Address path of Si1 means, (110) is a data line. (112) is the address line of the bit data memory (a), (11
8) is a data line.

第9図はシーケンス制御プログラムの命令語の構成を示
すものである。−は語長8bitのメモリを示し、(5
4a)〜(54d )はこのメモリのアドレスである。
FIG. 9 shows the structure of the command words of the sequence control program. - indicates memory with a word length of 8 bits, (5
4a) to (54d) are addresses of this memory.

(55a)、(55b)はシーケンス制御プログラムの
ヌテツフでJ)す、1ステツフ′は5bit+5bit
 O) 16bitの命名語長となっており、偶数アド
レスに上位8bit。
(55a) and (55b) are the steps of the sequence control program. 1 step' is 5 bits + 5 bits.
O) The naming word length is 16 bits, with the upper 8 bits at even addresses.

奇数アドレスに下位8 bitが格納されている。The lower 8 bits are stored at odd addresses.

第10図は第8図の実施例の動作を説明するtコめのタ
イミング図である。拘はブロクラムカウンタ最下位の出
力線(105)の信号波形であり、州はシーケンス制御
フーロクラムメモリ翰のデータM (106)上に出力
される命令コードのJo1番を示し、  (59a)(
59b)の/1114番に上位、T−位と出力される。
FIG. 10 is a timing diagram illustrating the operation of the embodiment of FIG. 8. (59a) is the signal waveform of the lowest output line (105) of the blockrum counter, state is the number Jo1 of the instruction code output on the data M (106) of the sequence control block memory wire, and (59a) (
59b) is output as the upper rank, T- rank, at number /1114.

−は8bitラツチ拘のラッチ指令パルスであり、旬は
ヒツト演算結果の書込みパルスである。霞はヒツトデー
タメモリのアドレスバス、データバスの切換状況を示し
、 C68a)はワード演算手段に、 (68b)はビ
ット演算手段に接続されている期間を示す。
- is a latch command pulse for an 8-bit latch lock, and symbol - is a write pulse for the human operation result. The haze indicates the switching status of the address bus and data bus of the human data memory, C68a) indicates the period during which it is connected to the word operation means, and (68b) indicates the period during which it is connected to the bit operation means.

次に動作Eζついて説明する。フ゛ログラムカウンタの
内容がII OIIの時シーケンヌ制御プログラムメモ
リ翰のアドレス0000の内容がデータ線(106)上
に出力され、8bitランチいりにラッチされる。
Next, the operation Eζ will be explained. When the content of the program counter is II OII, the content of address 0000 of the sequence control program memory is outputted to the data line (106) and latched with an 8-bit lunch.

こねはシーケンス制御プログラムのR1ステツフ“の命
令コード上位8 bitである。次に発振器(ハ)によ
りフ゛ログラムカウンタに)か進められ、アドレス00
01の内容かデータ線(106)上lと出力される。
This is the upper 8 bits of the instruction code of step R1 of the sequence control program.Next, the oscillator (c) advances the program counter () to address 00.
The content of 01 is output as 1 on the data line (106).

こねは第1ステツプの命令コードの下位8bitである
。これ番こよりラッチ値υの出力である上位8bitと
下位8 bitかヒツト演算手段例に加えらtL、ヒツ
ト演算か実行さf(る。この実行期間は第10図の(6
8b)の期間であり、この期間ではフ”ログラムカウン
タの最下位出力l1lj1(105) Iζよりビット
演算手段に)のアドレスおよびデータバスは切換ゲート
Ii+5關を制御することによりヒツトデータメモリ(
ホ)のアドレスおよびデータ線に接続されているので。
The key is the lower 8 bits of the instruction code of the first step. From this point on, the upper 8 bits and lower 8 bits that are the output of the latch value υ are added to the example of the hit calculation means tL, and the hit calculation is executed f(.This execution period is (6) in FIG.
8b), and in this period, the address and data bus of the lowest output l1lj1 (105) of the program counter (from Iζ to the bit operation means) are transferred to the data memory (105) by controlling the switching gate Ii+5.
e) because it is connected to the address and data lines.

ヒツトデータメモリ(ホ)の内容をデータとしてビット
演算が可能である。−万ワード演算手段輪かヒツトデー
タメモリ(ホ)の情報の読み書きする時は。
Bit operations can be performed using the contents of the human data memory (e) as data. - When reading and writing information from the 10,000 word calculation means or the human data memory (e).

(68a)の期間、すなわちシーケンス制御プログラム
の上位8 bitが読み出されている間に実施する。
This is carried out during the period (68a), that is, while the upper 8 bits of the sequence control program are being read.

(68a)の期間は前述のごとく切換ゲート優クーをプ
ログラムカウンタの最下位出力により制御しているので
ワード演s手段輪のバスとヒツトデータメモリ(ホ)が
接続されている。
During the period (68a), since the switching gate control is controlled by the lowest output of the program counter as described above, the bus of the word processing means and the human data memory (e) are connected.

以上この発明のA体向例ではシーケンス制hプログラム
の上位s bit読み出し期間にワード演算手段−がビ
ットデータメモリをアクセスすることにしたので、ヒツ
ト演算手段(ハ)の演算速度を低下させることなく、ワ
ード演算も出来る等の効果を得ることができる。
As described above, in the example A of this invention, the word operation means accesses the bit data memory during the reading period of the upper S bits of the sequence-based h program, so the operation speed of the hit operation means (c) is not reduced. , word operations can also be performed.

第11図は本発明の他の一実施例である。図に於て的は
送受信手段、(財)は信号伝送線であ、る。他の構成部
分は第6図と同じである。
FIG. 11 shows another embodiment of the present invention. In the figure, the target is the transmitting/receiving means, and the symbol is the signal transmission line. The other components are the same as those in FIG.

第12図は第11図の実施例を説明するためのタイミン
グ図であり、ゲートユニット(財)の動作を示す。
FIG. 12 is a timing diagram for explaining the embodiment of FIG. 11, and shows the operation of the gate unit.

発振器Hj、1ゲートユニット翰を駆動する。ゲートユ
ニット勿は第6図に示すまうに、ビットデータメモリ(
ホ)とビット演算手段(ハ)を期間(1)の間、接続し
、ビットデータメモリ(2)とワード演算手段−をIj
fifl eυの間、接続し、ビットデータメモリ(ホ
)と送受信手段(6)を期間に)の間、接続する。この
ようにしてヒツト演算およびワード演算の結果をヒツト
データメモリ(ホ)を介して送受信手段に)が読み出し
Oscillator Hj drives one gate unit. The gate unit also has a bit data memory (as shown in Figure 6).
(e) and bit operation means (c) are connected for period (1), and bit data memory (2) and word operation means - are connected to Ij
The bit data memory (e) and the transmitting/receiving means (6) are connected for a period of 50 seconds. In this way, the results of the hit operation and word operation are read out to the transmitting/receiving means via the hit data memory (e).

遠方へ信号伝送線す罎を経由して送信することが出来る
。ま1こ遠方の情報を信号伝送線的を経由して受信して
、ビットデータメモリに(ホ)書込むことが出来、ヒツ
ト演算およびワード演算の入力情報とすることか出来る
。ま1こ本発明では一連の演算か終了する迄送受信を休
止する必要がなく、応答性の良いリモート入出力機能か
拘られる。
It can be transmitted to a long distance via a signal transmission line. Information from a distant place can be received via a signal transmission line, written into a bit data memory, and can be used as input information for hit operations and word operations. First, in the present invention, there is no need to suspend transmission and reception until a series of calculations are completed, and a remote input/output function with good responsiveness can be achieved.

また上記実施例では、ケートユニット(財)でビットデ
ータメモリ(ホ)と他の手段の時分割接続のみについて
説明したかゲートユニット銘でンーケンス制御フ′ロク
ラムメモリ(ホ)とフ”ログラムカウンタに)胸、シー
ケン:AI!制御フ゛ロクラムメモリ翰とワード演算手
段−間を時分割接続する機能を追加すれは。
In addition, in the above embodiment, only the time-sharing connection between the bit data memory (e) and other means in the gate unit was explained. Chest, Sequence: AI! Add a function to time-share the connection between the control block memory and the word calculation means.

ビット演IK動作中のシーケンス制御プロダラムの読み
出し、書込み等か出来る。
It is possible to read and write the sequence control program during bit operation IK operation.

以上のように、この発明によれは、ビットデータメモリ
とワード演算手段、ヒツト演算手段、送受信手段との各
々の間、シーケンス制御フ゛ログラムメモリとプログラ
ムカウンタ、ワード演算手段との各々の間を時分割で接
続するようにし1こので。
As described above, according to the present invention, it is possible to control the timing between the bit data memory and the word calculation means, the hit calculation means, and the transmission/reception means, and between the sequence control program memory and the program counter and the word calculation means. Try to connect it by dividing it into 1.

互に関連を持つヒツト演算とワード演算が高速に実行で
き、また、互に独立にプログラムを作成出来ろ等フ”ロ
グラムか容易にでき、さらにビット演算実行中のシーク
ンスプログラムのモニタリンク5および変更も容易であ
り、その上応答性の良いリモート入出力機能か得られる
等の効果かある。ま1こワード演算手段によって一定周
期のタイマ内部割込をヒツト演算結果によって計数獲る
ことにより容易にタイマー機能を得ることが出来るし、
ビットrji算結果をワード演お手段で計数することに
Jり容易Eζカウンタ機能を得られろ等の効果も有する
Human operations and word operations that are related to each other can be executed at high speed, programs can be easily created independently of each other, and the sequence program monitor link 5 and It is easy to change, and has the effect of providing a remote input/output function with good responsiveness.Also, by using the word calculation means to count the internal interrupts of the timer at a constant period based on the human calculation results, it is easy to use. You can get a timer function,
By counting the bit rji calculation results using the word calculation means, there is also an effect that an Eζ counter function can be easily obtained.

【図面の簡単な説明】 第1図は従来のシーケンヌ制卸装瓢を示1ブロック図、
第2図は別の従来のシーケンヌ制御装置を示すブロック
図、第8図は更に別の従来のシークンヌ制御装飯を示イ
ブロック図、第4図は第8図を説明する1こめのプロク
ラム例を示す説明図。 第5図は第8図のタイミング図、第6丙はこの発明の一
実施例によるシーケンヌ制御装置を示すブロック図、第
7図はこの発明の一実施例を説明するタイミング図、第
8図はこの発明の一実施例の具体例を示すブロック図、
第9図は第8図の実施例のプログラムの命令語の構成を
示す説明図、第10図は第8図の例のタイミング図、第
11図はこの発明の他の実施例を示すブロック図、第1
2図この−発明の他の実施例を説明するタイミング図で
ある。 図中、(ハ)はビット演算手段、(ホ)はビットデータ
メモリ(記憶手段又は第1の記憶手段)1句はワード演
算手段、働は送受信手段、(2)はシーケンス制御フロ
グラムメモリ(第2の記憶手段)である。 なお1図中同一行号は同−又は相当部分を示す。 代理人 島野信− 第11て 第2図 第3図 ttti 第4図 第5図 7伏ソ「り込ヌク、1里 第6図 第 71ン1 第8図 第9図 第10図 0 ト 続 補 正 書(自発) 昭和58 イ1昂 仔  日 :3 補止をする者 0、fm it: LIJ J! M 明細書の発明の詳細な説明の欄 6、補止の内容 (1)明A(it書を下記のとj3り訂正する。
[Brief explanation of the drawings] Figure 1 is a block diagram of a conventional sequence control system.
FIG. 2 is a block diagram showing another conventional sequence control device, FIG. 8 is a block diagram showing still another conventional sequence control device, and FIG. 4 is an example of a program for explaining FIG. 8. An explanatory diagram showing. 5 is a timing diagram of FIG. 8, 6C is a block diagram showing a sequence control device according to an embodiment of the present invention, FIG. 7 is a timing diagram explaining an embodiment of this invention, and FIG. A block diagram showing a specific example of an embodiment of the present invention,
FIG. 9 is an explanatory diagram showing the structure of the command word of the program of the embodiment of FIG. 8, FIG. 10 is a timing diagram of the example of FIG. 8, and FIG. 11 is a block diagram showing another embodiment of the present invention. , 1st
FIG. 2 is a timing diagram illustrating another embodiment of this invention. In the figure, (c) is a bit operation means, (e) is a bit data memory (storage means or first storage means), one phrase is a word operation means, the function is a transmitting/receiving means, and (2) is a sequence control program memory (the first storage means). (2) storage means). Note that the same line numbers in Figure 1 indicate the same or equivalent parts. Agent Makoto Shimano - 11th Figure 2 Figure 3 ttti Figure 4 Figure 5 Figure 7 Fukuso "Rikomi Nuku, 1 Ri Figure 6 Figure 71-1 Figure 8 Figure 9 Figure 10 Figure 0 Continuation Amendment (spontaneous) 1978 I1 Kotai Date: 3 Person making the amendment 0, fm it: LIJ J! M Column 6 of the detailed explanation of the invention in the specification, Contents of the amendment (1) Clear A (Correct the following in the IT document.

Claims (1)

【特許請求の範囲】 (1ノヒット演シ4手段と、入力情報、出力情報、およ
び内部一時記録情報を記憶する記憶手段と、ワード演算
手段とを有し、上記記憶手段0〕記憶書込み、読み出し
を上記ビット演算手段と上記ワード@算手段とにより時
分割で実施させるよう憂としtこことを特徴とするシー
ケンス制御装置。 (2)ビット演算手段と、入力情報、出力情報、および
内部一時記憶情報を記憶する記憶手段と、ワード演算手
段と、送受信手段とを有し、上記記憶手段の記憶書込み
、読み出しを上記ビット演算手段、上記ワード演算手段
、上記送受信手段1こより時分割で実施さセるようにし
rこことを特徴とするシーケンス制御装置。 (3)ヒツト演算手段と、入力情報、出力情報、および
内部一時記憶情報を記憶する第1の記憶手段と、シーケ
ンス制御プログラムを記憶する第2の記憶手段と、ワー
ド演算手段を有し、上記第1の記憶手段の記憶書込み、
読み出し、を上記ビット演算手段と、上tピワード演算
手島とにより時分割で実施させるようにするとともに、
上記第2の記憶手段の記憶読み出しを、上記ワード演算
手段と上記ヒツト演算手段とにより1時分割で実施させ
るようにしtこことを特徴とするシーケンス制御装置。 (4ノヒット演算手段と、入力情報、出力情報、および
内fil>一時記憶情報を記憶する第1の記憶手段と、
シーケンス制御プログラムを記憶する第2の記憶手段と
、ワード演算手段と、送受信手段とを有し、上記第1の
記憶手段の記憶書込み、読み出しを上記ビット演算手段
と上記ワード@算手段と上記送受信手段とにより時分割
で実施させると共に上記第2の記憶手段の記憶、読み出
しを上記ワード演算手段と上記ビット演算手段とにより
時分割で実施させるようにし1こことを特徴とするシー
ケンス制御装置。
[Claims] (Comprising four means for one-hit performance, a storage means for storing input information, output information, and internal temporary record information, and a word calculation means, the storage means 0) Memory writing, reading A sequence control device characterized in that the bit operation means and the word operation means perform the operation in a time-sharing manner. (2) The bit operation means, input information, output information, and internal temporary storage. It has a memory means for storing information, a word operation means, and a transmitting/receiving means, and the memory writing and reading of the memory means are carried out in a time-sharing manner by the bit operation means, the word operation means, and the transmitting/receiving means 1. A sequence control device characterized in that: (3) a hit calculation means, a first storage means for storing input information, output information, and internal temporary storage information; and a first storage means for storing a sequence control program. 2 storage means and a word operation means, the memory writing of the first storage means;
The reading is carried out in a time-sharing manner by the bit operation means and the upper t-word operation Teshima, and
A sequence control device characterized in that the memory readout of the second storage means is carried out in one time division by the word calculation means and the hit calculation means. (4-no-hit calculation means; a first storage means for storing input information, output information, and temporary storage information;
It has a second storage means for storing a sequence control program, a word operation means, and a transmitting/receiving means, and the writing and reading of the memory in the first storage means is performed by the bit operation means, the word @ calculation means, and the transmitting/receiving means. 1. A sequence control device characterized in that the storage and readout of the second storage means are performed in a time-division manner by the word operation means and the bit operation means.
JP12740182A 1982-07-19 1982-07-19 Sequence controller Pending JPS5916007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12740182A JPS5916007A (en) 1982-07-19 1982-07-19 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12740182A JPS5916007A (en) 1982-07-19 1982-07-19 Sequence controller

Publications (1)

Publication Number Publication Date
JPS5916007A true JPS5916007A (en) 1984-01-27

Family

ID=14959073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12740182A Pending JPS5916007A (en) 1982-07-19 1982-07-19 Sequence controller

Country Status (1)

Country Link
JP (1) JPS5916007A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60237503A (en) * 1984-05-09 1985-11-26 Sharp Corp High-speed processing system of sequence controller
JPS61100802A (en) * 1984-10-22 1986-05-19 Toshiba Mach Co Ltd Operation processing system of programmable sequence controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60237503A (en) * 1984-05-09 1985-11-26 Sharp Corp High-speed processing system of sequence controller
JPS61100802A (en) * 1984-10-22 1986-05-19 Toshiba Mach Co Ltd Operation processing system of programmable sequence controller

Similar Documents

Publication Publication Date Title
US5117498A (en) Processer with flexible return from subroutine
US4006465A (en) Apparatus for control and data transfer between a serial data transmission medium and a plurality of devices
US4209839A (en) Shared synchronous memory multiprocessing arrangement
JPH07168791A (en) Coprocessor architecture
JPS6134182B2 (en)
JPS5916007A (en) Sequence controller
JPH07311708A (en) Memory card
JPH0227696B2 (en) JOHOSHORISOCHI
JPS6315628B2 (en)
JPH02158824A (en) Storage control device for disk device
JPS61175834A (en) Data processor provided with microprogram debug function
JP3035966B2 (en) Storage device
JPH0542525Y2 (en)
JPS61160107A (en) I/o card selecting system of programmable controller
Thomas Jr Programming the MBD model II
JPH0452986B2 (en)
JP2001136186A (en) Multiple communication equipment
JPS5958549A (en) Microprogram control system
KR930003993B1 (en) Method of transmitting data in multi-processor
JP2003150382A (en) Microcontroller and compiler
JPS58103253A (en) Communication controller
JPH0683486A (en) Microcomputer
JPH04309139A (en) Semiconductor integrated circuit device
JPS5840618A (en) Process input and output controlling system
JPH0432422B2 (en)