JPS6236570B2 - - Google Patents
Info
- Publication number
- JPS6236570B2 JPS6236570B2 JP55185644A JP18564480A JPS6236570B2 JP S6236570 B2 JPS6236570 B2 JP S6236570B2 JP 55185644 A JP55185644 A JP 55185644A JP 18564480 A JP18564480 A JP 18564480A JP S6236570 B2 JPS6236570 B2 JP S6236570B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- display
- state
- key
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/10—Program control other than numerical control, i.e. in sequence controllers or logic controllers using selector switches
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Programmable Controllers (AREA)
Description
【発明の詳細な説明】
本発明はシーケンスコントローラに関し、さら
に詳述すると、マイクロプロセツサとメモリとキ
ーボードを備え、キーボードによりメモリにプロ
グラムを設定し、歩進条件が成立したときにプロ
グラムが次のステツプへ進む方式、いわゆるスト
ワード・プログラム方式の工程歩進型シーケンス
コントローラに関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sequence controller, and more specifically, it is equipped with a microprocessor, a memory, and a keyboard, a program is set in the memory by the keyboard, and when a step condition is met, the program is executed next. The present invention relates to a step-by-step sequence controller that uses a so-called "stoward program" method.
本発明者らは、複数系列のプログラムを並列に
設定し実行すると共に、ある一つの系列の所定ス
テツプと他の系列の所定ステツプとを内部フラツ
グを媒体としてリンクさせることにより異なるプ
ログラム相互間のプログラムの移行を任意且つ現
象の進行に合わせて制御し得るシーケンスコント
ローラを提案している。本発明はこれに関連して
なされたものである。 The present inventors set up and execute multiple series of programs in parallel, and linked a predetermined step of one series with a predetermined step of another series using an internal flag as a medium, thereby making it possible to create programs between different programs. We have proposed a sequence controller that can control the transition arbitrarily and according to the progress of the phenomenon. The present invention has been made in this regard.
本発明の目的は、複数系列(ブロツク)のプロ
グラムを並列に設定し実行する工程歩進型シーケ
ンスコントローラにおいて、第1の状態のときは
指定されたブロツクの現在実行中の工程ステツプ
に係る歩進条件(SET−A,SET−B,SET−
C)を表示するための数字表示器の表示内容が、
単一のキー(ブロツク・インクリメント・キー)
の操作のみによつて、第1の状態においてはその
キーを押すごとにブロツクが所定の順序に従つ
て、例えばブロツクW→ブロツクX→ブロツクY
の順序で切換わり、上記ブロツクYにおいてその
キーを押すと上記数字表示器が各ブロツクごとの
ステツプ番号を表示する第2の状態に切換わり、
この第2の状態においてそのキーを押すと上記ブ
ロツクWに係る表示に戻るシーケンスコントロー
ラを提供することにある。 An object of the present invention is to provide a step-by-step sequence controller that sets and executes multiple series (blocks) of programs in parallel. Conditions (SET-A, SET-B, SET-
The display content of the numeric display for displaying C) is
Single key (block increment key)
In the first state, each time the key is pressed, the blocks are moved in a predetermined order, for example, block W → block X → block Y.
When the key is pressed in block Y, the numeric display switches to the second state in which the step number of each block is displayed.
The object of the present invention is to provide a sequence controller which returns to the display related to block W when the key is pressed in this second state.
以下、3ブロツク並列運転の本発明実施例を図
面に基いて説明する。 Hereinafter, an embodiment of the present invention in which three blocks are operated in parallel will be described with reference to the drawings.
第1図に本発明実施例のコンソール前面パネル
の構成を示す。 FIG. 1 shows the configuration of a console front panel according to an embodiment of the present invention.
左上段には入力信号及び内部フラツグのいずれ
かをランプ表示する入力兼内部フラツグ表示器1
が設けられ、右上段には出力信号をランプ表示す
る出力表示器2が設けられている。なお入力及び
出力は01番から32番までの各32個があり、内部フ
ラツグは33番から48番までの16個があり、内部フ
ラツグ表示は入力表示の01番から16番までのラン
プと兼用している。 In the upper left corner is an input/internal flag indicator 1 that displays either the input signal or internal flag as a lamp.
An output display 2 for displaying the output signal with a lamp is provided at the upper right stage. There are 32 inputs and outputs numbered 01 to 32, and 16 internal flags numbered 33 to 48.The internal flag display also serves as the input display lamps numbered 01 to 16. are doing.
中段には左から順に、W,X,Yの各ブロツク
をランプ表示するブロツク表示器3、ステツプ番
号を数字表示するステツプ表示器4、TIM(時
間)、CNT(計数)、AND,OR,JMP(ジヤン
プ)、RPT(繰返し)SET、2−OR/ANDなど
のオペレーシヨンの種類をランプ表示するオペレ
ーシヨン表示器5並びに各オペレーシヨンごとの
3種のデータA,B,Cの意味を教示する教示板
6、オペレーシヨンのデータA,B,Cの内容を
表示する2桁の数字表示器から成るデータ表示器
7,8,9、POWER、RUNなどの機械の運転状
態を表示する運転状態表示ランプ10がそれぞれ
並設されている。 In the middle row, from the left, block display 3 displays the W, X, and Y blocks with lamps, step display 4 displays the step number numerically, TIM (time), CNT (count), AND, OR, JMP. (jump), RPT (repetition) SET, 2-OR/AND, etc., and the meaning of the three types of data A, B, and C for each operation are taught. A teaching board 6, data displays 7, 8, and 9 consisting of two-digit numerical displays that display the contents of operation data A, B, and C, and an operating status display that displays the operating status of the machine such as POWER and RUN. The lamps 10 are arranged in parallel.
下段中央部にはキーボード11が設けられてい
る。キーの種類として、数字キー0〜9、タイマ
ーを指示するキー「TIM」、カウンタを指示する
キー「CNT」、AND論理を指示するキー
「AND」、OR論理を指示するキー「OR」、ジヤン
プを指示するキー「JMP」、繰返しを指示するキ
ー「RPT」、内部フラツグのセツト又はリセツト
を指示するキー「SET」、2−AND又は2−OR
を指示するキー「2AND/OR」、プログラムの終
了を指示するキー「END」、外部割込み発生時の
運転停止等を指示するキー「RET」、オペレーシ
ヨンのないことを指示するキー「NOP」、反転を
指示するキー「NOT」、データの書き込みを指示
するキー「W」、出力を指示するキー「OUT」、
プロセスセツトを指示するキー「RSET」、出力
ONを指示するキー「ON」、出力OFFを指示する
キー「OFF」、内部フラツグの状態を確認するキ
ー「IR」、ブロツクの切換えを指示するキー
「BLC−INC」11Aがある。このキー「BLC−
INC」11Aの機能は本発明の最も重要な特徴を
なすものであり、後で詳述する。 A keyboard 11 is provided at the center of the lower stage. Types of keys include number keys 0 to 9, key to instruct timer "TIM", key to instruct counter "CNT", key to instruct AND logic "AND", key to instruct OR logic "OR", jump key. Key "JMP" to instruct repeat, key "RPT" to instruct repeat, key "SET" to instruct setting or resetting of internal flag, 2-AND or 2-OR
``2AND/OR'' key to instruct program termination, ``END'' key to instruct program termination, ``RET'' key to instruct to stop operation when external interrupt occurs, ``NOP'' key to instruct no operation, Key "NOT" to instruct inversion, key "W" to instruct data writing, key "OUT" to instruct output,
Key “RSET” to instruct process set, output
There are a key "ON" for instructing ON, a key "OFF" for instructing output OFF, a key "IR" for checking the state of internal flags, and a key "BLC-INC" 11A for instructing block switching. This key “BLC−
The function of "INC" 11A is the most important feature of the present invention and will be described in detail later.
下段右端部にはモード切換スイツチ12が設け
られている。このスイツチ12により選択される
モードは「プログラムモード」「ロツクモード」
「モニタモード」の3種類である。プログラムモ
ードは、キーボード11から内蔵メモリ内へプロ
グラムを設定するときに用いられる。ロツクモー
ドはシーケンスコントローラとして制御を実行す
るときに用いられる運転モードで、キーボードの
キーは「IR」及び「BLC−INC」キーのみ有効に
機能する。モニタモードは制御の実行中にプログ
ラムの内容をモニタするとき用いられるモード
で、キーボードのキーは「IR」、「BLC−INC」
「PSET」及び数字キーのみ有効に機能する。 A mode changeover switch 12 is provided at the lower right end. The modes selected by this switch 12 are "program mode" and "lock mode".
There are three types of "monitor mode". The program mode is used when setting a program from the keyboard 11 into the built-in memory. Lock mode is an operation mode used when executing control as a sequence controller, and only the "IR" and "BLC-INC" keys on the keyboard function effectively. Monitor mode is a mode used to monitor the program contents during control execution, and the keys on the keyboard are "IR" and "BLC-INC".
Only "PSET" and number keys function effectively.
第2図に本発明実施例の電気的構成を示す。装
置全体はマイクロプロセツサ21及びマイクロプ
ロセツサに接続されたバスライン22に各種モジ
ユール回路部、及び各種メモリを接続した形で構
成されている。 FIG. 2 shows the electrical configuration of the embodiment of the present invention. The entire device consists of a microprocessor 21 and a bus line 22 connected to the microprocessor, with various module circuits and various memories connected thereto.
キーボード11の各入力信号はコード信号に変
換されてからキー入力インターフエイス24内に
一時記憶され、「W」キーの操作によりデータバ
ス221に送り込まれる。表示装置25は、第1
図において説明したように、入力兼内部フラツグ
表示器1、出力表示器2、ブロツク表示器3、ス
テツプ表示器4、オペレーシヨン表示器5、デー
タ表示器7,8,9から構成されており、これら
の各表示器はアドレスバス222の制御信号に従
いデータバス221のデータを取り込む表示用イ
ンターフエイス26により駆動制御される。 Each input signal from the keyboard 11 is converted into a code signal, temporarily stored in the key input interface 24, and sent to the data bus 221 by operating the "W" key. The display device 25 is the first
As explained in the figure, it is composed of an input/internal flag display 1, an output display 2, a block display 3, a step display 4, an operation display 5, and data displays 7, 8, and 9. Each of these displays is driven and controlled by a display interface 26 which takes in data from a data bus 221 in accordance with control signals from an address bus 222.
32個の入力端子I1〜I32は入力用モジユール27
に接続され、入力用モジユール27に内蔵された
データセレクタにより順次走査され、選択された
信号はデータバス221に送り込まれてCPU2
1に取り込まれる。データセレクタはアドレスバ
ス222により制御されている。 32 input terminals I 1 to I 32 are input module 27
are connected to the input module 27, and are sequentially scanned by a data selector built into the input module 27, and the selected signals are sent to the data bus 221 and sent to the CPU 2.
1. The data selector is controlled by address bus 222.
当該シーケンスコントローラから制御対象に送
り出される出力信号は、出力用モジユール28を
介して32個の出力端子O1〜O32に出力される。出
力用モジユール28には、各出力端子線に対応す
る32ビツト容量のラツチ回路を内蔵しており、歩
進条件が成立するまでの間その出力状態を保持し
つづける。出力用モジユール28はアドレスバス
222により制御され、データバス221の信号
を取り込んで作動する。 Output signals sent from the sequence controller to the controlled object are outputted to 32 output terminals O 1 to O 32 via the output module 28 . The output module 28 has a built-in latch circuit with a 32-bit capacity corresponding to each output terminal line, and continues to maintain its output state until the step condition is satisfied. The output module 28 is controlled by the address bus 222 and operates by taking in signals from the data bus 221.
また、バスライン22にはオーデイオ用カセツ
ト型磁気テープを外部接続するためのテープデツ
キ用インターフエイス34が接続されている。 Also connected to the bus line 22 is a tape deck interface 34 for externally connecting an audio cassette type magnetic tape.
メモリは、システムプログラムエリア29、ユ
ーザプログラムエリア30、及びワーキングエリ
ア31から構成されている。システムプログラム
エリア29はリードオンリーメモリから成り、
CPU21と協同して実行する各種のルーチンプ
ログラムを固定的に記憶している。ユーザプログ
ラムエリア30はランダムアクセスメモリから成
り、キーボード11から書き込み或いは変更でき
るエリアであつて、後述するW,X,Yの3ブロ
ツクのプログラムエリアから構成されている。ワ
ーキングエリア31もランダムアクセスメモリか
ら成り、ユーザプログラムエリア30からW,
X,Y各ブロツクの実行中のステツプのプログラ
ム内容だけを取り出して一時記憶するエリア、並
びに33番乃至48番の内部フラツグから構成され、
これらの内容に基いてCPU21が出力制御を行
う。なお、内部フラツグはプログラミングにより
制御され、入力I1〜I32と同様に歩進条件として用
いられる。 The memory consists of a system program area 29, a user program area 30, and a working area 31. The system program area 29 consists of read-only memory;
Various routine programs executed in cooperation with the CPU 21 are permanently stored. The user program area 30 is made up of a random access memory, and is an area that can be written or changed using the keyboard 11, and is made up of three program areas W, X, and Y, which will be described later. The working area 31 also consists of a random access memory, and is connected to the user program area 30 to W,
It consists of an area for extracting and temporarily storing only the program contents of the step being executed in each block X and Y, and internal flags Nos. 33 to 48.
The CPU 21 performs output control based on these contents. Note that the internal flags are controlled by programming and are used as step conditions in the same way as the inputs I1 to I32 .
ユーザプログラムエリア30に記憶されるプロ
グラム命令語の構成を第3図に示す。これはオペ
レーシヨンの種類を示す8ビツト構成の命令コー
ド301、歩進条件を示すSET−A,SET−
B,SET−Cからなる3×8ビツト構成のコー
ド302及び、32個の出力端子について、歩進条
件成立後に出力されるべき制御命令が“ON”で
あるか“OFF”であるかを示す32ビツト構成の
出力設定コード303から構成されている。
SET−A,SET−B,SET−Cの内容はオペレ
ーシヨンの種類によりそれぞれ予め定められてお
り、オペレーシヨンの種類によつては一部又は全
部が不要になる場合がある。従つて8ビツト構成
のメモリを用いる場合、所要番地数がオペレーシ
ヨンの種類に応じて変化する。 The structure of the program command words stored in the user program area 30 is shown in FIG. This is an 8-bit instruction code 301 indicating the type of operation, SET-A, SET- indicating the step condition.
For the code 302 of 3 x 8 bits consisting of B, SET-C and 32 output terminals, it indicates whether the control command to be output after the step condition is satisfied is "ON" or "OFF". It consists of a 32-bit output setting code 303.
The contents of SET-A, SET-B, and SET-C are determined in advance depending on the type of operation, and some or all of them may be unnecessary depending on the type of operation. Therefore, when using an 8-bit memory, the number of required addresses changes depending on the type of operation.
ユーザプログラムエリア30は第3図に示した
プログラム命令語を複数個記憶するエリアから構
成されており、これの全体構成例を第4図に示
す。すなわち、W,X,Yブロツクから構成さ
れ、各ブロツクはステツプ01からステツプ85まで
の85ステツプから構成されている。 The user program area 30 is composed of an area for storing a plurality of program command words shown in FIG. 3, and an example of the overall configuration thereof is shown in FIG. 4. That is, it is composed of W, X, and Y blocks, and each block is composed of 85 steps from step 01 to step 85.
外部制御入力33はブロツク選択入力と制御入
力から構成されれ、両入力を組合わせて各ブロツ
ク別に外部から運転できるようにしている。ブロ
ツク選択入力として「ブロツクW」「ブロツク
X」「ブロツクY」があり、制御入力として「リ
セツト」「ストツプ」「ステツプ」「スタート」「プ
ロセスストツプ」がある。選択された信号はデー
タバス221に送り込まれてCPU21に取り込
まれる。 The external control input 33 is composed of a block selection input and a control input, and these inputs are combined so that each block can be operated from the outside. Block selection inputs include "Block W,""BlockX," and "Block Y," and control inputs include "Reset,""Stop,""Step,""Start," and "Process Stop." The selected signal is sent to the data bus 221 and taken into the CPU 21.
CPU21の構成の概要を第5図に示す。これ
は、市販のマイクロプロセツサを使用することが
できる。 An outline of the configuration of the CPU 21 is shown in FIG. A commercially available microprocessor can be used for this.
CPU21は、クロツク発生器を内蔵したタイ
ミングおよび制御部211、命令デコーダ21
2、命令レジスタ213、演算部214、アキユ
ムレータ215、アドレスバス222に対しアド
レス信号を送り出すためのプログラムカウンタ2
16、及びアドレスバツフア217、その他の各
種レジスタ群218、データバス221に対しデ
ータの授受を行うためのデータバツフア219な
どを有し、各種レジスタ群218の中に、当該シ
ーケンスコントローラのプログラムステツプを各
ブロツクごとに規定する工程ステツプカウンタ2
24、各ブロツクごとの時計用カウンタ225、
各ブロツクごとに入力パルス信号数を計数する計
数用カウンタ226、WXYのブロツク制御信号
を出力する3進リングからなるブロツクカウンタ
227が含まれている。データバス221は8本
のラインから成り、アドレスバス222は16本の
ラインから成つている。 The CPU 21 includes a timing and control unit 211 including a clock generator, and an instruction decoder 21.
2. Program counter 2 for sending address signals to the instruction register 213, arithmetic unit 214, accumulator 215, and address bus 222.
16, an address buffer 217, a group of other registers 218, a data buffer 219 for sending and receiving data to and from a data bus 221, etc. In the group of registers 218, each program step of the sequence controller is stored. Process step counter 2 defined for each block
24. Clock counter 225 for each block;
Each block includes a counting counter 226 for counting the number of input pulse signals, and a block counter 227 consisting of a ternary ring for outputting WXY block control signals. Data bus 221 consists of 8 lines, and address bus 222 consists of 16 lines.
次に、第3図に示したユーザプログラムの命令
語の内容がオペレーシヨンの種類によつてどのよ
うに定められているかについて第6図を参照しつ
つ説明する。 Next, how the contents of the instruction words of the user program shown in FIG. 3 are determined depending on the type of operation will be explained with reference to FIG. 6.
時間を設定する「TIM」命令の場合、第6図
Aに示すように、SET−Aに分、SET−Bに
秒、SET−Cに1/10秒が設定される。従つ
て、0から99分59秒9までの時間を自在に設定す
ることができる。 In the case of the "TIM" command for setting time, as shown in FIG. 6A, minutes are set in SET-A, seconds in SET-B, and 1/10 second in SET-C. Therefore, the time can be freely set from 0 to 99 minutes, 59 seconds, and 9 seconds.
計数値を設定する「CNT」命令の場合、第6
図Bに示すように、SET−Aに入力端子番号を
指定し、SET−B乃至SET−Cの4桁に計数値
が設定される。従つて、最大9999個まで設定する
ことができる。 In the case of the "CNT" command that sets the count value, the 6th
As shown in FIG. B, the input terminal number is specified in SET-A, and the count value is set in the four digits SET-B to SET-C. Therefore, a maximum of 9999 can be set.
論理演算「AND」命令の場合、第6図Cに示
すように、SET−A,SET−B,SET−Cにそ
れぞれ入力端子番号を指定し、いずれの入力端子
にも信号「1」が到来したとき歩進条件が成立す
る。 In the case of the logical operation "AND" instruction, as shown in Figure 6C, input terminal numbers are specified for SET-A, SET-B, and SET-C, and the signal "1" arrives at all input terminals. When this happens, the step condition is satisfied.
論理演算「OR」命令の場合は、SET−A,
SET−B,SET−Cにそれぞれ入力端子番号を
指定し、いずれか1つの入力端子に信号「1」が
到来したとき歩進条件が成立する。 For logical operation "OR" instruction, SET-A,
Input terminal numbers are designated for SET-B and SET-C, and the step condition is satisfied when a signal "1" arrives at any one input terminal.
ジヤンプ「JMP」命令の場合は、第6図Dに示
すように、SET−Aに指令した入力端子番号の
入力信号が「1」になつたとき歩進条件が成立
し、次にSET−Bに指定されているステツプへ
ジヤンプする。この命令において、SET−C及
び出力設定エリアは使用されない。 In the case of jump "JMP" command, as shown in Figure 6D, the step condition is satisfied when the input signal of the input terminal number commanded to SET-A becomes "1", and then Jump to the specified step. In this command, SET-C and output setting area are not used.
繰返し「RPT」命令の場合、第6図Eに示す
ようにSET−Aにはじめ繰返すべき回数を設定
し、SET−Bに繰返し中に次にジヤンプすべき
ステツプ番号を設定する。また実行中CPU21
の制御により1回繰返すごとにSET−Aの内容
が−1づつ減算される。この命令において、
SET−C及び出力設定エリアは使用されない。 In the case of a repeat "RPT" command, as shown in FIG. 6E, the number of repetitions to be repeated is initially set in SET-A, and the step number to be jumped next during repetition is set in SET-B. Also running CPU21
Under the control of , the contents of SET-A are decremented by -1 each time it is repeated. In this command,
SET-C and output setting area are not used.
プログラムの終了を示す「END」命令の場合
は、第6図Fに示すように、SET−Aに指定さ
れたステツプへ直ちにジヤンプする。特に、
SET−Aの指定ステツプが0番又は1番の場合
は継続してプログラムがスタートする。この命令
において、SET−B,SET−C、出力設定エリ
アは使用されない。 In the case of an "END" command indicating the end of the program, the program immediately jumps to the step designated by SET-A, as shown in FIG. 6F. especially,
If the designated step of SET-A is number 0 or 1, the program will continue to start. In this command, SET-B, SET-C, and output setting areas are not used.
リターンを指定する「RET」命令、ノン・オ
ペレーシヨンを指示する「NOP」命令の場合
は、第6図G,Hに示すように、SET−A,
B,C及び出力設定エリアはいずれも使用されな
い。 In the case of a "RET" command that specifies a return, or a "NOP" command that specifies a non-operation, as shown in Figure 6G and H, SET-A,
B, C and output setting areas are all unused.
否定論理演算「NOT」命令は、単独では使用
されず、「AND」「OR」「CNT」「JMP」「SET」
等の入力に関する他の命令と併用され、その入力
信号を修飾する形で使用される。すなわち、第6
図Iに示すように、SET−A,B,Cに指定さ
れた入力端子番号の入力状態「1」又は「0」を
反転して論理演算する。 Negative logic operation "NOT" instruction is not used alone, but "AND", "OR", "CNT", "JMP", "SET"
It is used in conjunction with other commands related to input such as, and is used to modify the input signal. That is, the sixth
As shown in FIG. I, the input states "1" or "0" of the input terminal numbers designated as SET-A, B, and C are inverted and logically operated.
入力条件に応じて内部フラツグを設定する
「SET」命令の場合は、第6図Jに示すように、
SET−Aに入力端子番号を指定し、SET−B,
SET−Cに内部フラツグ番号を指定する。
「NOT」と併用したときは当該内部フラツグのリ
セツト命令となり、データ表示器8又は9の小数
点が点灯してこれを表示する。 In the case of the "SET" command that sets internal flags according to input conditions, as shown in Figure 6 J,
Specify the input terminal number in SET-A, SET-B,
Specify the internal flag number in SET-C.
When used in conjunction with "NOT", it becomes a command to reset the internal flag, and the decimal point of data display 8 or 9 lights up to display this.
第7図に上記実施例によりWXY、3ブロツク
並列運転させる場合のプログラムシートの要部抜
粋を示し、第8図にその作用説明図を示す。 FIG. 7 shows an excerpt of the main part of a program sheet for WXY, 3-block parallel operation according to the above embodiment, and FIG. 8 shows an explanatory diagram of its operation.
各ブロツク間のリンク動作は、内部フラツグの
状態を各ブロツクの歩進条件に使用することによ
り行つている。「SET」命令においてSET−Aの
入力条件が00のとき、無条件にSET−B,SET
−Cに指定されている内部フラツグがセツト又は
リセツトされる。従つて、ブロツクWのステツプ
aにおいて内部フラツグ33番と34番がセツトされ
ると、直ちにブロツクXのステツプ1のAND論
理及びブロツクYのステツプ1のAND論理が成
立して両ブロツクともステツプ2以後へ歩進し、
3ブロツクが並列に進行する。ブロツクXのステ
ツプcにおいて「SET」命令により内部フラツ
グ33番がリセツトされると、ブロツクWのステツ
プbにおけるAND論理が成立してプログラムは
ブロツクW,XのものがWに統合された形とな
り、同様にブロツクYのステツプdにおいて
「SET」命令により内部フラツグ34番がリセツト
されると、ブロツクWのステツプeにおける
AND論理が成立してブロツクYのプログラムが
Wに統合される。 Link operations between blocks are performed by using the state of internal flags as step conditions for each block. When the input condition of SET-A is 00 in the "SET" command, SET-B, SET are unconditionally
-The internal flag specified by C is set or reset. Therefore, when internal flags 33 and 34 are set at step a of block W, the AND logic of step 1 of block Step forward to
Three blocks proceed in parallel. When internal flag No. 33 is reset by the "SET" command at step c of block Similarly, when internal flag No. 34 is reset by the "SET" command at step d of block Y, it is reset at step e of block W.
The AND logic is established and the program of block Y is integrated into W.
ロツク・モードにおいては、ユーザプログラム
エリアから次に実行すべきブロツクごとのステツ
プの内容がワーキングエリアに転送された貯蔵さ
れる。スタート入力があるとプログラムが開始さ
れ、ワーキングエリアへ転送された命令が解読さ
れ、歩進条件に従いブロツクごとの演算が実行さ
れる。各ブロツクごとの演算はCPUに内蔵され
ているブロツクカウンタ227を歩進させてブロ
ツクW→ブロツクX→ブロツクY→ブロツクWの
順序で繰返し実行され、いずれかのブロツクで歩
進条件が成立するとそのブロツクのプログラム内
容が次のステツプのものに入れ替えられ、当該ブ
ロツクに係る工程カウンタが+1歩進する。ただ
し、「JMP」「RET」「RPT」のような非順序ステ
ツプの場合は工程カウンタの内容が命令で指定さ
れた次に進むべきステツプ番号に置換されてその
ステツプへジヤンプする。 In the lock mode, the contents of the steps for each block to be executed next from the user program area are transferred to the working area and stored. When a start input is received, the program is started, the instructions transferred to the working area are decoded, and operations are executed for each block according to the step condition. The calculation for each block is performed repeatedly in the order of block W → block X → block Y → block W by incrementing the block counter 227 built in the CPU. The program contents of the block are replaced with those of the next step, and the process counter related to the block is incremented by +1. However, in the case of non-sequential steps such as "JMP", "RET", and "RPT", the contents of the process counter are replaced with the next step number specified by the command, and the process jumps to that step.
第9図に、ロツクモードにおけるシステムプロ
グラムの内容のうち、「BLC−INC」キー11A
に関する部分をフローチヤートにより示し、第1
0図に表示装置のうちブロツク表示器3、ステツ
プ表示器4、オペレーシヨン表示器5及び3個の
数字表示器7,8,9の表示例を示す。 Figure 9 shows the "BLC-INC" key 11A among the contents of the system program in lock mode.
The relevant part is shown in a flowchart, and the first
FIG. 0 shows a display example of a block display 3, a step display 4, an operation display 5, and three numeric displays 7, 8, and 9 of the display device.
第9図に示すプログラムは、モード切換えスイ
ツチ32がロツクモードに切換えられたときから
開始される。はじめの状態91は、表示装置がブ
ロツクWの現在実行中のステツプ番号に係る状態
を表示する。この状態では例えば第10図の状態
1Wに示すようにブロツク表示器3のランプWが
点灯し、ステツプ表示器4が実行中のステツプ番
号例えば(05)を表示し、そのステツプにおける
オペレーシヨン(TIM)に関するデータ(01,
20,00)を数字表示器7,8,9が表示する。こ
の状態のとき「BLC−INC」キー11Aが押され
ると状態93に変わる。この状態はブロツクXの
現在実行中のステツプ番号に係る状態を表示す
る。すなわち、例えば第10図の状態1Xに示す
ように、ブロツク表示器3のランプXが点灯し、
ステツプ表示器4が実行中のステツプ番号、例え
ば(25)を表示し、そのステツプにおけるオペレ
ーシヨン(CNT)に関するデータ(25,10,
00)を数字表示器7,8,9が表示する。この状
態のとき「BLC−INC」キー11Aが押される
と、次は状態95に変つて、各表示装置はブロツク
Yの現在実行中のステツプに係る内容を表示す
る。この内容を第10図の状態1Yに例示する。
この状態のときに「BLC−INC」キー11Aが押
されると、いままで、各ブロツク内容を順次ブロ
ツク別に表示していた状態と全く異る状態97に移
行する。この状態は第10図の状態2に例示する
ように、ブロツク表示器3、ステツプ表示器4及
びオペレーシヨン表示器5の表示が消去され、数
字表示器7にブロツクWの実行ステツプ、数字表
示器8にブロツクXの実行ステツプ、数字表示器
9にブロツクYの実行ステツプが、例えば(05,
25,63)のように一斉表示される。この状態のと
き「BLC−INC」キー11Aが押されると前述し
た状態91に戻り、以降「BLC−INC」キーを押す
ごとに同じ順序切換えを繰返す。なお、ランプ表
示器10の運転表示ランプ「RUN」は、状態
91,93,95においては、選択されているブロツク
が運転状態であれば点灯し、状態97においては、
いずれか一つのブロツクが運転状態にあれば点灯
する。本発明において、数字表示器7,8,9が
実行中ステツプのオペレーシヨンに関するデータ
を表示する状態を第1の状態とし、ブロツクごと
のステツプ番号を表示する状態を第2の状態とし
ている。 The program shown in FIG. 9 is started when the mode selector switch 32 is switched to the lock mode. In the initial state 91, the display device displays the state of the step number of the block W currently being executed. In this state, for example, the state shown in Figure 10
As shown in 1W, the lamp W of the block display 3 lights up, the step display 4 displays the step number being executed, for example (05), and the data (01,
20,00) are displayed on the numerical displays 7, 8, and 9. In this state, if the "BLC-INC" key 11A is pressed, the state changes to state 93. This status indicates the status related to the step number of block X currently being executed. That is, for example, as shown in state 1X in FIG. 10, the lamp X of the block display 3 lights up,
The step display 4 displays the step number being executed, for example (25), and displays data (25, 10,
00) is displayed on the numerical displays 7, 8, and 9. When the "BLC-INC" key 11A is pressed in this state, the state changes to state 95, and each display device displays the contents of the step currently being executed in block Y. This content is illustrated in state 1Y in FIG.
When the "BLC-INC" key 11A is pressed in this state, the state shifts to state 97, which is completely different from the state in which the contents of each block were displayed one after another. In this state, as illustrated in state 2 in FIG. 10, the displays on the block display 3, step display 4, and operation display 5 are erased, and the execution step of block W is displayed on the numeric display 7. 8 shows the execution step of block X, and the number display 9 shows the execution step of block Y, for example (05,
25, 63) are displayed all at once. When the "BLC-INC" key 11A is pressed in this state, the process returns to the above-mentioned state 91, and the same order switching is repeated every time the "BLC-INC" key is pressed thereafter. In addition, the operation indicator lamp "RUN" on the lamp indicator 10 indicates the status.
In states 91, 93, and 95, the light will turn on if the selected block is in operation, and in state 97,
Lights up if any one block is in operation. In the present invention, the first state is the state in which the numerical displays 7, 8, and 9 display data related to the operation of the step being executed, and the second state is the state in which the numerical displays 7, 8, and 9 display the step number for each block.
本発明によれば、シーケンスコントローラ1台
で複数の制御対象を互に関連させて制御しなが
ら、従来から備わつていたデータ表示器を活用し
て、動作中状態のブロツク別表示と、ブロツク
W,X,Yの実行中のステツプ番号の一斉表示と
を、単一のキーの操作のみにより順次切換え表示
することができるから、表示器の数を増加させる
ことなく、使用に便利な多数種類の表示を行うこ
とができる。 According to the present invention, a single sequence controller can control a plurality of control objects in relation to each other, while utilizing a conventionally provided data display to display the operating status of each block and The simultaneous display of W, can be displayed.
第1図乃至第8図はいずれも本発明実施例に係
る図面であつて、第1図はその外観正面図、第2
図は電気回路のブロツク図、第3図はユーザプロ
グラムエリア30に記憶されるプログラム命令語
の構成を示す図、第4図はユーザプログラムエリ
ア30のステツプ構成を示す図、第5図はCPU
21の構成を示すブロツク図、第6図は第3図に
示した命令語の使用状態における内容例を示す
図、第7図は複数ブロツクを並列運転させる場合
のプログラムシートの要部抜粋図、第8図は第7
図に示すプログラムの作用説明図、第9図はシス
テムプログラムの要部を示すフローチヤート、第
10図は第1図に示す表示装置の作用説明図であ
る。
1……入力表示器、2……出力表示器、3……
ブロツク表示器、4……ステツプ表示器、5……
オペレーシヨン表示器、7,8,9……数字表示
器、11……キーボード、11A……「BLC−
INC」キー、21……CPU、29……システムプ
ログラムエリア。
1 to 8 are drawings related to an embodiment of the present invention, and FIG. 1 is an external front view thereof, and FIG.
3 is a block diagram of the electric circuit, FIG. 3 is a diagram showing the configuration of program command words stored in the user program area 30, FIG. 4 is a diagram showing the step configuration of the user program area 30, and FIG.
21, FIG. 6 is a diagram showing an example of the contents of the instruction words shown in FIG. Figure 8 is the 7th
FIG. 9 is a flowchart showing the essential parts of the system program, and FIG. 10 is an explanatory diagram of the operation of the display device shown in FIG. 1. 1...Input display, 2...Output display, 3...
Block indicator, 4... Step indicator, 5...
Operation display, 7, 8, 9...Numeric display, 11...Keyboard, 11A..."BLC-
INC” key, 21…CPU, 29…System program area.
Claims (1)
端子と、オペレーシヨンの種類、歩進条件を指定
するデータ及び出力指令データを工程ステツプご
とに貯蔵するプログラムメモリと、上記プログラ
ムメモリにオペレーシヨンの種類、データ数値等
を書き込むためのキーボードと、中央処理ユニツ
トとを備え、歩進条件が成立したときプログラム
が次のステツプへ進む方式のシーケンスコントロ
ーラにおいて、複数ブロツクごとの工程ステツプ
を計数する複数個の工程カウンタと、上記複数ブ
ロツクの工程ステツプごとに上記プログラム内容
を書き込むユーザプログラムメモリ・エリアと、
ブロツクの種類を表示するブロツク表示器と、複
数種類のデータを表示する数字表示器と、上記ブ
ロツク表示器に表示されているブロツクの工程ス
テツプ数を表示する工程ステツプ表示器と、上記
数字表示器が上記ブロツク表示器及び上記工程ス
テツプ表示器に表示されているステツプに係る歩
進条件を示すデータ(SET−A,SET−B,
SET−C)を表示する第1の状態と、上記数字
表示器が上記各ブロツクごとのステツプ番号を表
示する第2の状態と、上記状態を切換えるキー
(ブロツク・インクリメント・キー)を設け、上
記キーを押すごとに上記第1の状態においてはブ
ロツクが所定の順序に従つて切換わり、かつその
所定の順序の最終ブロツクから上記第2の状態に
切換わり、上記第2の状態から上記第1の状態の
上記所定順序の最初のブロツクに切換わるよう構
成された工程歩進型シーケンスコントローラ。1. A plurality of input signal terminals, a plurality of output signal terminals, a program memory that stores data specifying the type of operation, step conditions, and output command data for each process step, and a program memory that stores the operation information in the program memory. A sequence controller that is equipped with a keyboard for writing types of data, data values, etc., and a central processing unit, and in which the program advances to the next step when a step condition is met, has a plurality of controllers that count process steps for each of multiple blocks. a user program memory area in which the program contents are written for each process step of the plurality of blocks;
A block display that displays the type of block, a numeric display that displays multiple types of data, a process step display that displays the number of process steps of the block displayed on the block display, and the numeric display is data (SET-A, SET-B,
SET-C), a second state in which the numeric display displays the step number for each block, and a key (block increment key) for switching between the above states. Each time the key is pressed, the blocks in the first state are switched according to a predetermined order, and the blocks are switched from the last block in the predetermined order to the second state, and from the second state to the first state. A step-by-step sequence controller configured to switch to the first block in the predetermined order in the state of.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55185644A JPS57111704A (en) | 1980-12-29 | 1980-12-29 | Process count-up type sequence controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55185644A JPS57111704A (en) | 1980-12-29 | 1980-12-29 | Process count-up type sequence controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57111704A JPS57111704A (en) | 1982-07-12 |
| JPS6236570B2 true JPS6236570B2 (en) | 1987-08-07 |
Family
ID=16174371
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55185644A Granted JPS57111704A (en) | 1980-12-29 | 1980-12-29 | Process count-up type sequence controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57111704A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020175348A1 (en) * | 2019-02-25 | 2020-09-03 | 株式会社福永事務所 | Evaluation system pertaining to person's conduct, person's ability, company, or matter |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5331169A (en) * | 1976-09-03 | 1978-03-24 | Seiko Epson Corp | Multifunction digital display watch |
| DE2642481C3 (en) * | 1976-09-17 | 1984-04-05 | Mannesmann AG, 4000 Düsseldorf | Method and device for aligning a US test facility |
| JPS592923B2 (en) * | 1978-08-23 | 1984-01-21 | オムロン株式会社 | sequence programmer |
| JPS603208B2 (en) * | 1978-09-06 | 1985-01-26 | オムロン株式会社 | programmable controller |
-
1980
- 1980-12-29 JP JP55185644A patent/JPS57111704A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020175348A1 (en) * | 2019-02-25 | 2020-09-03 | 株式会社福永事務所 | Evaluation system pertaining to person's conduct, person's ability, company, or matter |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57111704A (en) | 1982-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3938104A (en) | System for modifying a logic controller instruction set | |
| US4792918A (en) | Programmable controller monitoring system for simultaneous multiple line display of original and updated data program execution | |
| JPS6236563B2 (en) | ||
| JPS6236570B2 (en) | ||
| JPS6236569B2 (en) | ||
| JPH01177609A (en) | Simulation system for pc | |
| JPS6236565B2 (en) | ||
| JPS6236566B2 (en) | ||
| JPS6236568B2 (en) | ||
| JPS6236567B2 (en) | ||
| JPS6236564B2 (en) | ||
| JPS58178408A (en) | Programmable controller having simulating function | |
| EP0923010B1 (en) | Programmable controller | |
| JP2731166B2 (en) | Programmable controller | |
| JP2526894B2 (en) | Programmable controller arithmetic unit | |
| JPS6326889B2 (en) | ||
| JPS6041102A (en) | Sequence control device | |
| JPS5856121B2 (en) | sequence programmer | |
| JPH0615318Y2 (en) | Electronic scheduler | |
| JPH0337024Y2 (en) | ||
| JPS6033475Y2 (en) | Small electronic calculator with program | |
| JPS58105304A (en) | Monitor displaying system of programmable controller | |
| JPH06259264A (en) | Clock control circuit | |
| JPS5949609A (en) | Programmable controller equipped with simulation performing function | |
| JPH1011285A (en) | Programmable controller and recording medium |