JPS6112281B2 - - Google Patents

Info

Publication number
JPS6112281B2
JPS6112281B2 JP8047179A JP8047179A JPS6112281B2 JP S6112281 B2 JPS6112281 B2 JP S6112281B2 JP 8047179 A JP8047179 A JP 8047179A JP 8047179 A JP8047179 A JP 8047179A JP S6112281 B2 JPS6112281 B2 JP S6112281B2
Authority
JP
Japan
Prior art keywords
channel
data
counter
cpu
data storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP8047179A
Other languages
Japanese (ja)
Other versions
JPS564803A (en
Inventor
Hidetaka Domoto
Shigeru Toyoda
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.)
Idec Corp
Original Assignee
Idec Izumi 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 Idec Izumi Corp filed Critical Idec Izumi Corp
Priority to JP8047179A priority Critical patent/JPS564803A/en
Publication of JPS564803A publication Critical patent/JPS564803A/en
Publication of JPS6112281B2 publication Critical patent/JPS6112281B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 本発明はシーケンスコントローラに関し、さら
に詳述すると、AND、OR、ジヤンプ、タイマー
等のオペレーシヨンデータと、入力信号状態、計
数値、時間等の歩進条件を指定するデータと、複
数個の出力端子ごとにオンかオフかを指定する出
力指定データを工程ステツプごとに貯蔵するプロ
グラムメモリを内蔵し、歩進条件が成立したとき
にプログラムが次のステツプへ進む方式の、いわ
ゆる工程歩進型ストアード・プログラム方式のシ
ーケンスコントローラに関する。
[Detailed Description of the Invention] The present invention relates to a sequence controller, and more specifically, operation data such as AND, OR, jump, and timer, and data specifying step conditions such as input signal status, count value, and time. This system has a built-in program memory that stores output designation data for each process step, specifying whether each of multiple output terminals is on or off, and the program advances to the next step when the step condition is met. The present invention relates to a so-called step-by-step stored program sequence controller.

従来のシーケンスコントローラは、ピンボート
によりプログラムを設定するものであつたから、
大型のプログラム装置を用いてもプログラムステ
ツプ数をそれ程多くとることができず、またデー
タ設定のために多数のデジタルスイツチを並設し
なければならないなどの欠点があつた。
Conventional sequence controllers set programs using pinboards, so
Even if a large-sized programming device is used, the number of programming steps cannot be increased to a large extent, and many digital switches must be installed in parallel for data setting.

これに対し本発明者は、マイクロプロセツサと
メモリを用い、キーボードからメモリにプログラ
ム設定を行うことができ、しかも、データ格納用
メモリの全ステツプを常時高速に走査する方式の
工程歩進型シーケンスコントローラを既に提案し
ている。
In contrast, the present inventor has developed a step-by-step process sequence system that uses a microprocessor and memory, allows program settings to be made from the keyboard to the memory, and also scans all steps of the data storage memory at high speed. A controller has already been proposed.

本発明の目的は、上記のマイクロプロセツサと
メモリを用いた工程歩進型シーケンスコントロー
ラを更に改良することにあり、複数の工程を並行
して同時処理することができるシーケンスコント
ローラを提供することにある。
An object of the present invention is to further improve the step-by-step sequence controller using the above-mentioned microprocessor and memory, and to provide a sequence controller that can process multiple steps in parallel. be.

以下、本発明の実施例を図面に基いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明実施例の前面パネルの構成を示
す。左上段には入力信号状態をランプ表示する入
力表示器1が設けられ、右上段には出力信号状態
をランプ表示する出力表示器2が設けられてい
る。中段には例示として3個の工程カウンタのス
テツプ信号をそれぞれ表示するための、ステツプ
表示器3A,3B,3Cが設けられ、その右隣
に、AND、OR、2−AND2−OR、TIM(時
間)、JMP(ジヤンプ)RPT(繰返し)、NOP
(オペレーシヨンなし)などのオペレーシヨンの
種類をランプ表示するオペレーシヨン表示器4が
設けられ、さらにその右隣に、歩進条件を指定す
るデータを表示するためそれぞれ2桁の数字表示
器から成る3個のデータ表示器5,6,7が並設
されている。
FIG. 1 shows the configuration of a front panel according to an embodiment of the present invention. An input display 1 for displaying the input signal status with a lamp is provided at the upper left stage, and an output display 2 for displaying the output signal status using a lamp at the upper right stage. In the middle stage, step indicators 3A, 3B, and 3C are provided to display the step signals of three process counters, respectively. ), JMP (jump) RPT (repeat), NOP
An operation display 4 is provided to display the type of operation such as (no operation) with a lamp, and to the right of the operation display 4, there is a two-digit numerical display for displaying data specifying step conditions. Three data displays 5, 6, and 7 are arranged in parallel.

下段中央部には、オペレーシヨンの種類を入力
するためのフアンクシヨンキー群8と、数値デー
タを入力するための数値入力キー群9が設けら
れ、下段右部には、モード選択スイツチ10、電
源スイツチ11などが配設されている。モード選
択スイツチ10はキーボードからプログラムの設
定を行うプログラムモード「P」、プログラムの
モニターを行うモニターモード「M」及び設定さ
れたプログラムに従い演算を実行する演算モード
「L」を任意に選択することができる。また、複
数の工程カウンタに対応するステツプ番号表示器
3A,3B,3C及びデータ表示器5,6,7
は、プロセスチヤネルデスプレイモード切換えに
よりそれぞれに対応した内容が表示される。
A function key group 8 for inputting the type of operation and a numeric input key group 9 for inputting numerical data are provided in the lower center, and a mode selection switch 10 and a power switch are provided in the lower right. A switch 11 and the like are provided. The mode selection switch 10 can arbitrarily select a program mode "P" for setting a program from the keyboard, a monitor mode "M" for monitoring the program, and a calculation mode "L" for performing calculations according to the set program. can. Also, step number displays 3A, 3B, 3C and data displays 5, 6, 7 corresponding to a plurality of process counters are provided.
The corresponding contents are displayed by switching the process channel display mode.

オペレーシヨンの種類を示すフアンクシヨンキ
ー群8の内容として、割込命令を示すキー
「INT」、プログラムの終了を示すキー「END」、
オペレーシヨンのないことを示すキー「NOP」、
否定論理を示すキー「NOT」、プログラムの繰返
しを示すキー「RPT」、プログラムステツプのジ
ヤンプを示すキー「JMP」、入力パルスの計数を
示すキー「CNT」、タイマーを示すキー
「TIM」、AND論理を示すキー「AND」、2−
AND論理を示すキー「2AND」OR論理を示すキ
ー「OR」、2−OR論理を示すキー「2OR」、プロ
セスセツトを指示するキー「P−SET」、出力せ
よを指示するキー「OUT」、書込みを指示するキ
ー「W」がある。さらに、フアンクシヨンキーの
アツプキー「↑」及びダウンキー「↓」は、プロ
グラムモードにおいて中央処理ユニツトCPUの
制御により工程カウンタ25A,25B,25C
の任意工程ステツプを「+1」又は「−1」し、
また、カセツト型磁気テープのテープデツキが外
部接続された場合には、その書込み又は読出しを
制御する機能を有している。
The contents of function key group 8 indicating the type of operation include a key "INT" indicating an interrupt command, a key "END" indicating the end of a program,
Key "NOP" indicating no operation,
The key "NOT" indicates negative logic, the key "RPT" indicates program repetition, the key "JMP" indicates program step jump, the key "CNT" indicates input pulse counting, the key "TIM" indicates timer, AND Key indicating logic "AND", 2-
The key "2AND" indicates AND logic, the key "OR" indicates OR logic, the key "2OR" indicates 2-OR logic, the key "P-SET" indicates process set, the key "OUT" indicates output, There is a key "W" that instructs writing. Furthermore, the up key "↑" and down key "↓" of the function keys are used to control the process counters 25A, 25B, 25C under the control of the central processing unit CPU in the program mode.
Add “+1” or “-1” to the arbitrary process step of
Furthermore, when a tape deck of cassette-type magnetic tape is externally connected, it has a function of controlling writing or reading thereof.

前面パネルの左下部にはプロセスチヤネルデス
プレイモード選択スイツチ12が設けられてお
り、チヤネル1、2又は3を選択することができ
る。入力表示器1、出力表示器2、オペレーシヨ
ン表示器4、及びデータ表示器5,6,7はこの
デスプレイモード選択スイツチ12により選択さ
れたチヤネルの内容を表示するよう構成されてい
る。
A process channel display mode selection switch 12 is provided at the lower left of the front panel, allowing selection of channel 1, 2, or 3. The input display 1, the output display 2, the operation display 4, and the data displays 5, 6, and 7 are configured to display the contents of the channel selected by the display mode selection switch 12.

第2図に本発明実施例の回路ブロツク構成図を
示す。フアンクシヨンキー8、数値入力キー9の
入力信号は中央処理ユニツトCPUに導入され、
主としてプログラムモードにおいてプログラムの
作成のために使用される。モード選択スイツチ1
0の信号もCPUに導入され、その選択モードに
応じて各回路部の作用を切換えている。CPU内
にはクロツク信号発生器及び分周器を内蔵してい
て、これを時間制御の時計として機能させること
ができ、オペレーシヨンとしてタイマー
「TIM」が指定されたときに用いられる。入力信
号I1〜I32に導入される入力信号のうち、CPUの指
定するものがデータセレクタ21により選択され
て入力信号I0となり、ゲート回路を経て計数カウ
ンタ23A,23B,23C又は工程カウンタ2
5A,25B,25Cに入力される。工程カウン
タ25A,25B,25Cは工程の歩進を制御す
るアツプダウンカウンタであつて、ANDゲート
26A,26B,26CがCPUの条件付歩進信
号C1A,C1B,C1Cと、選択された入力信号I0
一致を検出したとき、或いは、CPUの無条件歩
進信号C2A,C2B,C2Cが出力されたときに「+
1」するほか、CPUの退進信号により「−1」
することもできる。計数カウンタ23A,23
B,23CはANDゲート22A,22B,22
CによりCPUの計数指令C3A,C3B,C3Cが出力
されていることを条件として入力信号I0のパルス
信号数を計数し、その内容はCPU内のレジスタ
に転送される。
FIG. 2 shows a circuit block diagram of an embodiment of the present invention. The input signals from the function key 8 and numerical input key 9 are introduced into the central processing unit CPU.
It is mainly used for creating programs in program mode. Mode selection switch 1
A 0 signal is also introduced to the CPU, and the operation of each circuit section is switched depending on the selected mode. The CPU has a built-in clock signal generator and frequency divider, which can function as a time control clock, and is used when the timer "TIM" is specified as the operation. Among the input signals introduced into the input signals I 1 to I 32 , the one designated by the CPU is selected by the data selector 21 and becomes the input signal I 0 , which is sent to the counting counters 23A, 23B, 23C or the process counter 2 via the gate circuit.
It is input to 5A, 25B, and 25C. The process counters 25A, 25B, and 25C are up-down counters that control the step of the process, and the AND gates 26A, 26B, and 26C are connected to the CPU's conditional step signals C 1A , C 1B , and C 1C when selected. + _ _
In addition to "1", it also becomes "-1" due to the CPU's backward signal.
You can also. Counter 23A, 23
B, 23C are AND gates 22A, 22B, 22
The number of pulse signals of the input signal I 0 is counted by C on the condition that the CPU's counting commands C 3A , C 3B , and C 3C are output, and the contents are transferred to a register in the CPU.

メモリ26は、CPUの処理手順を記憶するた
めのCPU処理用プログラムメモリ27と、複数
個の工程カウンタのステツプごとにあらかじめ定
められたデータを格納するためのデータ格納用メ
モリ28とを有し、データ格納用メモリ28に
は、チヤネル1に係るステツプ1からステツプn
までのデータを格納するデータエリア28A、チ
ヤネル2に係るステツプ1からステツプnまでの
データを格納するデータエリア28B、及びチヤ
ネル3に係るステツプ1からステツプnまでのデ
ータを格納するデータエリア28Cが設けられて
あり、各ステツプエリアには、オペレーシヨンの
種類、データ1〜データ3、及び出力信号の状態
オン又はオフを指示する出力信号がそれぞれ書き
込まれる。
The memory 26 includes a CPU processing program memory 27 for storing CPU processing procedures, and a data storage memory 28 for storing predetermined data for each step of a plurality of process counters. The data storage memory 28 stores steps 1 to n related to channel 1.
A data area 28A for storing data from step 1 to step n regarding channel 2, a data area 28B for storing data from step 1 to step n regarding channel 3, and a data area 28C for storing data from step 1 to step n regarding channel 3 are provided. The type of operation, data 1 to data 3, and an output signal instructing the state of the output signal to be on or off are written in each step area.

入力表示器1はデータセレクタ21により選択
されている入力信号端子の番号を表示し出力表示
器2は出力オンが指定されている出力信号端子の
番号を表示し、ステツプ表示器3A,3B,3C
はステツプ工程カウンタ25A,25B,25C
の状態を表示する。また、オペレーシヨン表示器
4、データ表示器5,6,7はそれぞれデータ格
納用メモリ28のオペレーシヨンデータ、データ
1、データ2、及びデータ3の内容を表示する。
なおモニターモードが選択されている場合には、
各表示器はラツチ回路の記憶により、演算の実行
内容にかかわらず、モニターしている工程のプロ
グラム内容を表示するよう構成されている。
The input display 1 displays the number of the input signal terminal selected by the data selector 21, the output display 2 displays the number of the output signal terminal designated to be output on, and the step display 3A, 3B, 3C
are step process counters 25A, 25B, 25C
Display the status of. Further, the operation display 4 and the data displays 5, 6, and 7 display the contents of the operation data, data 1, data 2, and data 3 in the data storage memory 28, respectively.
If monitor mode is selected,
Each display is configured to display the program contents of the process being monitored, regardless of the execution contents of the calculations, by the memory of the latch circuit.

第3図に、CPU処理用プログラムのうち本発
明の特徴部分に関する部分のフローチヤートを示
す。まずはじめに、31にてCPUがデータ格納
用メモリ28の例えばチヤネル1、ステツプ1の
ステツプ1に書込まれているオペレーシヨンデー
タを読んでそのルーチンプログラムを選択し、つ
づいて32,33にて、そのルーチンプログラム
の内容を実行し出力プログラムを処理する。次に
34にて、オペレーシヨンの内容が成立している
か否かの判断を行い、成立しておれば次に35へ
進み、工程カウンタ25Aを歩進させて次の36
へ進み、成立していなければ35をスキツプして
直接36へ進む。36にてCPUに内蔵されてい
る3進リングカウンタにより成るチヤネルカウン
タを歩進させてチヤネル1の処理からチヤネル2
の処理へ切換え、37においてチヤネルカウンタ
の状態に対応する工程カウンタの内容、即ちいま
はチヤネル2の工程カウンタの工程1に対応した
プログラム内容、即ちチヤネル2、ステツプ1の
内容をCPUがデータ格納用メモリ28から取込
んで元の31へ戻る。このようにして、最初はチ
ヤネル1のステツプ1→チヤネル2のステツプ1
→チヤネル3のステツプ1の順序で次々とデータ
格納用メモリの内容をCPUに取込んでその内容
が実行され、歩進条件が成立したチヤネルのステ
ツプのみステツプ番号順に次の工程に対応するオ
ペレーシヨンデータがCPUに取込まれ、歩進条
件が成立しないチヤネルはそのステツプが変化せ
ず、走査ごとに同一工程に対応するオペレーシヨ
ンデータがCPUに取込まれて、それぞれのチヤ
ネルごとにオペレーシヨンデータの内容が実行さ
れる。最終ステツプの取込みが終ると再びステツ
プ1に戻つて走査が繰返される。全メモリの走査
に要する時間はせいぜい百分の一秒程度であり、
一方シーケンスコントローラの制御対象の現象は
長い場合数時間を経てようやくオペレーシヨンの
内容が成立することがあり、最も短い場合であつ
てもリレーの応答速度(数十ミリ秒)で抑えられ
るため通常はコンピユータの制御時間に比べて格
段に長いから、チヤネル数が増大することによる
制御誤差は実質的に存在しない。次に、上記実施
例に基づく作用例をAND又はORのオペレーシヨ
ンについて説明する。
FIG. 3 shows a flowchart of a portion of the CPU processing program relating to the characteristic portion of the present invention. First, at 31, the CPU reads the operation data written in, for example, channel 1, step 1 of the data storage memory 28, and selects the routine program, and then at 32 and 33, It executes the contents of the routine program and processes the output program. Next, in step 34, it is determined whether or not the contents of the operation are established, and if they are established, the process proceeds to step 35, where the process counter 25A is incremented and the next step 36 is performed.
If it is not established, skip step 35 and proceed directly to step 36. At step 36, the channel counter consisting of a ternary ring counter built into the CPU is incremented, and processing from channel 1 to channel 2 is performed.
At step 37, the content of the process counter corresponding to the state of the channel counter, that is, the program content corresponding to process 1 of the process counter of channel 2, that is, the content of channel 2, step 1, is stored by the CPU for data storage. Take in from memory 28 and return to original 31. In this way, first step 1 of channel 1 → step 1 of channel 2
→The contents of the data storage memory are loaded into the CPU one after another in the order of step 1 of channel 3, and the contents are executed, and only in the step of the channel where the step condition is satisfied, the operation corresponding to the next process is executed in the order of the step number. Data is loaded into the CPU, and the steps of channels for which the step condition is not satisfied do not change, and operation data corresponding to the same process is loaded into the CPU for each scan, and the operation data is updated for each channel. The contents of are executed. When the final step is completed, the process returns to step 1 and the scanning is repeated. The time required to scan the entire memory is at most one hundredth of a second;
On the other hand, in the case of a phenomenon to be controlled by a sequence controller, the content of the operation may be established only after several hours in the case of a long period of time, and even in the shortest case, it can be suppressed by the response speed of the relay (several tens of milliseconds). Since the control time is much longer than the computer control time, there is virtually no control error due to an increase in the number of channels. Next, an example of the operation based on the above embodiment will be described with respect to an AND or OR operation.

工程カウンタ25Aの工程ステツプ例えばK番
において、データ格納用メモリのチヤネル1ステ
ツプKの内容がオペレーシヨンの種類「AND」
データ1に「11」、データ2「12」、データ3に
「13」が書込まれており、出力データとして出力
番号1がON、2がON、3がON、残余4〜32が
OFFと指定されているものとする。従つてチヤ
ネル1に係るステツプ表示器3Aは数値Kを表示
している。ここで、プロセスチヤネルデスプレイ
モード選択スイツチ12が工程カウンタ25Aを
選択しておれば、オペレーシヨン表示器4は
「AND」のランプが点灯し、データ表示器5,
6,7はそれぞれ「11」「12」「13」を表示し、出
力表示器2は出力番号「1」「2」「3」のランプ
が点灯し、出力端子の状態は、プロセスチヤネル
デスプレイモードの選択に関係なく、O1,O2
O3がONとなる。
At process step K of process counter 25A, for example, the contents of channel 1 step K of the data storage memory indicate the operation type "AND".
"11" is written to data 1, "12" is written to data 2, and "13" is written to data 3. As output data, output number 1 is ON, 2 is ON, 3 is ON, and the remaining numbers 4 to 32 are
Assume that it is specified as OFF. Therefore, the step display 3A for channel 1 is displaying the numerical value K. Here, if the process channel display mode selection switch 12 selects the process counter 25A, the "AND" lamp lights up on the operation display 4, and the data display 5,
6 and 7 display "11", "12" and "13" respectively, output display 2 lights up the output number "1", "2" and "3" lamps, and the output terminal status is in process channel display mode. Regardless of the selection of O 1 , O 2 ,
O3 is turned on.

このような状態において、入力信号端子I11
I12,I13のすべての端子に信号が到来したとき
「AND」の演算が成立して工程カウンタ25Aが
KからK+1へ歩進する。歩進と同時に各表示内
容及び入力制御はK+1工程に対応したものに切
換わる。
In this state, the input signal terminals I 11 ,
When the signals arrive at all the terminals I 12 and I 13 , the "AND" operation is established and the process counter 25A increments from K to K+1. Simultaneously with the step, each display content and input control are switched to those corresponding to the K+1 process.

上述した工程カウンタ25AのK工程における
オペレーシヨン「AND」と並行して工程カウン
タ25BのK工程においてオペレーシヨン
「OR」が指定され、データ1に「13」、データ2
に「14」、データ3に「15」が書込まれ、出力デ
ータとして出力番号4がON、5がONに指定され
ているものとする。このようなときプロセスチヤ
ネルデスプレイモード選択スイツチ12が1チヤ
ネルを選択しているのでオペレーシヨン表示器、
データ表示器、出力表示器は共に工程カウンタ2
5AのK工程の内容を表示しているが、もし、プ
ロセスチヤネルデスプレイモード12が2チヤネ
ルに切換えられれば、工程カウンタ25Bのm工
程の内容に対応した表示がなされる。演算は表示
と関係なく実行され、出力端子はO4とO5がONに
なつている。
In parallel with the operation "AND" in the K process of the process counter 25A described above, the operation "OR" is specified in the K process of the process counter 25B, and data 1 is "13" and data 2 is
It is assumed that "14" is written in "14" and "15" is written in data 3, and output numbers 4 and 5 are designated as ON as output data. In such a case, since the process channel display mode selection switch 12 has selected channel 1, the operation display,
Both the data display and output display are process counter 2.
Although the contents of the K process of 5A are displayed, if the process channel display mode 12 is switched to 2 channels, a display corresponding to the contents of the m process of the process counter 25B will be made. Calculations are executed regardless of the display, and output terminals O 4 and O 5 are turned on.

そこで、入力信号端子I13或はI14のいずれかに
信号が到来すると、「OR」の演算が成立し工程カ
ウンタ25Bはm工程からm+1工程へ歩進す
る。
Therefore, when a signal arrives at either the input signal terminal I13 or I14 , the "OR" operation is established and the process counter 25B increments from the m process to the m+1 process.

このようにして複数個の工程カウンタを設けて
各工程カウンタをそれぞれの演算内容に応じて互
に独立的に歩進させ、同時並列制御を行うことが
できる。
In this way, by providing a plurality of process counters, each process counter can be incremented independently of each other according to the respective calculation contents, and simultaneous parallel control can be performed.

従つて、3台の機械装置を互に異なるプログラ
ムで制御する場合、従来ならば3台のシーケンス
コントローラを必要とし各コントローラを連絡す
るためのプログラムをも必要としたが、本発明に
よれば1台のシーケンスコントローラで3台の機
械装置を制御することが可能となるばかりでな
く、各装置間を同期させるための制御信号の授受
のための入出力装置が不要となり、制御の信頼性
が向上し、制御装置も小型軽量化される。
Therefore, if three mechanical devices were to be controlled by different programs, conventionally three sequence controllers and a program for communicating with each controller would be required, but according to the present invention, only one sequence controller is required. This not only makes it possible to control three mechanical devices with one sequence controller, but also eliminates the need for input/output devices for sending and receiving control signals to synchronize each device, improving control reliability. The control device is also made smaller and lighter.

また本発明によれば、チヤネルを制御するチヤ
ネルカウンタと各チヤネルごとの工程を制御する
複数個の工程カウンタを設けるとともに、プログ
ラムの1回の走査ごとにチヤネルカウンタを歩進
させながら、歩進条件の成立した工程についての
み工程カウンタを歩進させるプログラムを設け、
且つ、工程カウンタの内容に対応するステツプエ
リアのオペレーシヨンデータをデータ格納用メモ
リからCPUに取込んで全チヤネルを順次並列に
高速に実行するよう構成しているので、入力キー
によるプログラムの作成が容易であつて、且つ、
どのチヤネルについても実質的時間遅れなくプロ
グラムが実行される。
Further, according to the present invention, a channel counter for controlling channels and a plurality of process counters for controlling processes for each channel are provided, and while the channel counter is incremented for each scan of the program, the increment condition is A program is set up that increments the process counter only for processes that have been established.
In addition, the operation data in the step area corresponding to the contents of the process counter is loaded from the data storage memory into the CPU and all channels are executed in parallel at high speed, making it easy to create programs using input keys. It is easy and
Programs are executed on any channel without substantial time delay.

なお、上記実施例において、工程カウンタ、計
数カウンタ及びこれらに関係するAND回路、OR
回路をCPUの外に設けるものとして説明した
が、これは説明の便宜上のことであつて、通常は
CPU内蔵の回路を使用して実施する。
In addition, in the above embodiment, a process counter, a counting counter, an AND circuit related to these, an OR
Although the circuit has been explained as being provided outside the CPU, this is for convenience of explanation and is normally
This is done using a circuit built into the CPU.

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

第1図は本発明実施例の前面パネルの構成図、
第2図は上記実施例の回路ブロツク図、第3図は
上記実施例のCPUのプログラムを示すフローチ
ヤートである。 1……入力表示器、2……出力表示器、3A…
…チヤネル1に係る工程表示器、3B……チヤネ
ル2に係る工程表示器、3C……チヤネル3に係
る工程表示器、4……オペレーシヨン表示器、
5,6,7……データ表示器、12……プロセス
チヤネルデスプレイモード選択、25A……チヤ
ネル1に係る工程カウンタ、25B……チヤネル
2に係る工程カウンタ、25C……チヤネル3に
係る工程カウンタ、26……メモリ、28A……
チヤネル1に係るデータ格納用メモリ、28B…
…チヤネル2に係るデータ格納用メモリ、28C
……チヤネル3に係るデータ格納用メモリ。
FIG. 1 is a configuration diagram of the front panel of the embodiment of the present invention;
FIG. 2 is a circuit block diagram of the above embodiment, and FIG. 3 is a flowchart showing a program of the CPU of the above embodiment. 1...Input display, 2...Output display, 3A...
... Process indicator related to channel 1, 3B... Process indicator related to channel 2, 3C... Process indicator related to channel 3, 4... Operation indicator,
5, 6, 7... Data display, 12... Process channel display mode selection, 25A... Process counter related to channel 1, 25B... Process counter related to channel 2, 25C... Process counter related to channel 3, 26...Memory, 28A...
Data storage memory related to channel 1, 28B...
...Memory for data storage related to channel 2, 28C
...Memory for storing data related to channel 3.

Claims (1)

【特許請求の範囲】 1 複数個の入力信号端子と、複数個の出力信号
端子と、オペレーシヨンの種類、歩進条件を指定
するデータ及び出力指令データを工程ステツプご
とに貯蔵するオペレーシヨンデータ格納用メモリ
と、上記オペレーシヨンデータ格納用メモリにオ
ペレーシヨンの種類、データ数値等を書き込むた
めのフアンクシヨンキー並びに数値入力キーと、
中央処理ユニツト(CPU)とを備え、歩進条件
が成立したときプログラムが次のステツプへ進む
方式のシーケンスコントローラにおいて、チヤネ
ル数に対応するリングカウンタよりなるチヤネル
カウンタ、及び、複数チヤネルごとの工程ステツ
プを計数する複数個の工程カウンタを設けると共
に、上記オペレーシヨンデータ格納用メモリには
上記複数チヤネルの工程ステツプごとに上記オペ
レーシヨンデータが書き込まれ、CPU処理用プ
ログラムメモリには、1回の走査ごとに上記チヤ
ネルカウンタを歩進させる命令語と、オペレーシ
ヨンの内容が成立しているときにそのチヤネルに
係る上記工程カウンタの内容を歩進させ、且つ、
オペレーシヨンの内容が成立していないときにそ
のチヤネルに係る上記工程カウンタの内容を歩進
させない命令語と、そのチヤネルに係る上記工程
カウンタの状態に対応したオペレーシヨンデータ
を上記データ格納用メモリからCPUへ取込んで
その内容を実行するための命令語が書き込まれて
おり、上記オペレーシヨンデータ格納用メモリの
走査と同期して上記各工程カウンタを互に独立的
に歩進制御するよう構成したことを特徴とするシ
ーケンスコントローラ。 2 上記CPU処理用プログラムメモリの1回の
走査所要時間が当該シーケンスコントローラの制
御対象の現象時間(数十ミリ秒乃至数時間)より
も短く設定されている、特許請求の範囲第1項記
載のシーケンスコントローラ。
[Claims] 1. Operation data storage that stores a plurality of input signal terminals, a plurality of output signal terminals, data specifying the type of operation, step conditions, and output command data for each process step. function keys and numerical input keys for writing operation types, data values, etc. into the operation data storage memory;
In a sequence controller that is equipped with a central processing unit (CPU) and in which the program advances to the next step when step conditions are met, a channel counter consisting of a ring counter corresponding to the number of channels and a process step for each plurality of channels are used. In addition to providing a plurality of process counters for counting, the operation data is written to the operation data storage memory for each process step of the plurality of channels, and the CPU processing program memory is written for each scan. a command word that increments the channel counter, and increments the content of the process counter related to the channel when the content of the operation is established, and
A command word that does not increment the contents of the process counter related to that channel when the contents of the operation are not established, and operation data corresponding to the state of the process counter related to that channel are extracted from the data storage memory. Instruction words are written to be read into the CPU and executed, and each of the process counters is controlled independently of each other in synchronization with the scanning of the operation data storage memory. A sequence controller characterized by: 2. The method according to claim 1, wherein the time required for one scan of the CPU processing program memory is set shorter than the phenomenon time (several tens of milliseconds to several hours) of the object to be controlled by the sequence controller. sequence controller.
JP8047179A 1979-06-25 1979-06-25 Sequence controller Granted JPS564803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8047179A JPS564803A (en) 1979-06-25 1979-06-25 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8047179A JPS564803A (en) 1979-06-25 1979-06-25 Sequence controller

Publications (2)

Publication Number Publication Date
JPS564803A JPS564803A (en) 1981-01-19
JPS6112281B2 true JPS6112281B2 (en) 1986-04-07

Family

ID=13719169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8047179A Granted JPS564803A (en) 1979-06-25 1979-06-25 Sequence controller

Country Status (1)

Country Link
JP (1) JPS564803A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59138906U (en) * 1983-03-03 1984-09-17 太陽鉄工株式会社 sequence controller
JPS60164838A (en) * 1984-02-07 1985-08-27 Nippon Electric Ind Co Ltd Flowchart graphic language for programmable controller
JP2649034B2 (en) * 1984-04-16 1997-09-03 住友化学工業株式会社 Control device
JPS61120206A (en) * 1984-11-16 1986-06-07 Mitsubishi Electric Corp Sequence controller
JPS61170803A (en) * 1985-01-25 1986-08-01 Hitachi Ltd Sequence control method

Also Published As

Publication number Publication date
JPS564803A (en) 1981-01-19

Similar Documents

Publication Publication Date Title
US4006464A (en) Industrial process controller
US4115853A (en) Jump structure for a digital control system
US4623961A (en) Programmable controller having automatic contact line solving
US4683549A (en) Sequence control method and apparatus
US4504900A (en) Sequence instruction display system
US4736340A (en) Processor generating control programs for a programmable controller
US5042002A (en) Programmable controller with a directed sequencer
JPS6112281B2 (en)
KR910004639B1 (en) Output pulse generator
JPH0728509A (en) Programmable controller
JPS6211367B2 (en)
US3958225A (en) Apparatus and method for controlling a communications terminal
JPS6114524B2 (en)
JPS58178408A (en) Programmable controller having simulating function
EP0256149B1 (en) Computer system
JPH02220102A (en) Sequence program editing system
JPS5958507A (en) Display device for operating state of plant
JPS6236569B2 (en)
KR910002021B1 (en) Programmable controller
JP2526894B2 (en) Programmable controller arithmetic unit
JPS6236568B2 (en)
JPS6236566B2 (en)
JPS62224805A (en) Ladder diagram display system for program of sequence programmable controller
CA1202727A (en) Microcomputer variable duty cycle signal generator
US3157862A (en) Controller for a computer apparatus