JPS627563B2 - - Google Patents
Info
- Publication number
- JPS627563B2 JPS627563B2 JP53157179A JP15717978A JPS627563B2 JP S627563 B2 JPS627563 B2 JP S627563B2 JP 53157179 A JP53157179 A JP 53157179A JP 15717978 A JP15717978 A JP 15717978A JP S627563 B2 JPS627563 B2 JP S627563B2
- Authority
- JP
- Japan
- Prior art keywords
- key
- program
- command
- display
- process number
- 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
- 238000000034 method Methods 0.000 claims description 11
- 238000012544 monitoring process Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 230000004397 blinking Effects 0.000 description 1
- 238000013479 data entry Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
- Testing And Monitoring For Control Systems (AREA)
Description
【発明の詳細な説明】
本発明は歩進型のシーケンスコントローラに関
する。シーケンスコントローラには歩進型と走査
型とがある。歩進型は制御プログラムの或るステ
ツプに対応した動作が完了すると、その完了の検
出信号によつてプログラムが一ステツプ歩進せし
められて次のステツプの動作が開始されるように
制御を行なうものである。走査型は被制御系の状
態を示すデータが制御装置の入力装置に入力され
ており制御装置は常時繰返して入力装置を走査し
て被制御系の状態を検知し、その状態に対応して
定められた制御を行うようになつている。走査型
は制御が事実上連続的であるような制御が可能で
あるが制御プログラムの作成が難しく制御装置も
複雑高価なものとなる。歩進型の制御装置では被
制御系の動作は段階的となり、時にはぎこちない
制御しかできないと云う弱点もあるが、プログラ
ムの作成が簡単に誰にでも作ることができ制御装
置も比較的安価である上、実際上段階的制御で充
分な被制御対象も多いので、そのような対象に対
しては大へん経済的なシーケンスコントローラで
ある。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a step-by-step sequence controller. There are two types of sequence controllers: progressive type and scanning type. The step-by-step type controls in such a way that when the operation corresponding to a certain step of the control program is completed, the program is advanced by one step in response to the completion detection signal and the operation of the next step is started. It is. In the scanning type, data indicating the state of the controlled system is input to the input device of the control device, and the control device constantly scans the input device to detect the state of the controlled system and determines the state according to the state. It is now possible to carry out controlled controls. The scanning type allows virtually continuous control, but it is difficult to create a control program and the control device is complicated and expensive. Step-by-step control devices have the disadvantage that the controlled system operates in stages and can sometimes only be controlled in a clumsy manner, but programs can be easily created by anyone, and the control device is relatively inexpensive. Moreover, since there are many controlled objects for which stepwise control is actually sufficient, the sequence controller is very economical for such objects.
従来、歩進型シーケンスコントローラはプログ
ラムを作成し入力させるにはピンボードとピンを
用いていた。しかしピンボード式のシーケンスコ
ントローラではプログラムの各ステツプ毎にピン
ボードの所定段のピン孔列の所定位置にピンを挿
入することによりプログラムをシーケンスコント
ローラに入力させるので、作成したプログラムの
全体がピンの配置によつて表示されていると云う
利点がある反面、ピンの接触不良のため信頼性が
充分でなく、ピンが多数要るのでその管理が面倒
であり、プログラムのステツプ数が多い場合、ピ
ンボードの面積が大となる等の欠点がある。そこ
でプログラムをキーボードにおけるキーの操作で
シーケンスコントローラのメモリに入力するよう
にすればピンの管理、ピンの接触不良、プログラ
ムのステツプ数が多くなると大きなピンボードを
有するシーケンスコントローラとしなければなら
ないと云つた問題がなくなり、管理、信頼性、価
格(殊にプログラムステツプ数の多い場合)の面
でピンボード式のものより優れたものが得られる
ことになる。しかしながらキー操作によりプログ
ラムを入力させる方式ではキーを押す順序を間違
えたり全く誤つたキーを押したりする可能性があ
り、そのような誤操作により命令のフオーマツト
が乱れ、命令として全く無意味なものが入力され
ることになるので、キー操作を誤らないようにす
ることが必要となる。他方オペレータ、特に熟練
したオペレータはキー操作において、操作結果を
一々装置の表示部の表示を見て確めると云うよう
なことはせず、プログラムを書いたシートの方を
見ながらキー操作をするので却つて操作間違いに
仲々気付くことができないと云う問題がある。 Conventionally, progressive sequence controllers have used pinboards and pins to create and input programs. However, with a pinboard-type sequence controller, the program is input to the sequence controller by inserting a pin into a predetermined position in a pin hole row on a pinboard for each step of the program, so the entire program created is based on the pins. Although it has the advantage of being displayed due to its placement, it is not reliable enough due to poor pin contact, requires a large number of pins, and managing them is troublesome. There are disadvantages such as a large board area. Therefore, if the program is entered into the memory of the sequence controller by key operations on the keyboard, there will be problems with pin management, poor pin contact, and if the number of steps in the program increases, the sequence controller will have to have a large pin board. The problem is eliminated and the result is superior to the pinboard version in terms of management, reliability, and cost (especially when the number of program steps is large). However, with the method of inputting programs by key operations, there is a possibility of pressing the keys in the wrong order or pressing the wrong key altogether, and such erroneous operations can disrupt the format of the commands, resulting in the input of completely meaningless commands. Therefore, it is necessary to avoid making mistakes in key operation. On the other hand, operators, especially experienced operators, do not check the result of each operation by looking at the display on the device, but rather operate the keys while looking at the sheet on which the program is written. Therefore, there is a problem in that it is difficult for people to realize that they have made a mistake in operation.
従つて本発明はキー操作によつてプログラムを
入力する方式の歩進型シーケンスコントローラで
あつて、上述した問題点を解決するため、操作に
誤りがあつた場合、装置がその誤操作を検知して
警告音を発し、オペレータに誤操作を気付かせる
ようにしたシーケンスコントローラを提供するも
のである。以下実施例により本発明を説明する。 Therefore, the present invention is a step-by-step sequence controller in which a program is input by key operation, and in order to solve the above-mentioned problems, when an error occurs in the operation, the device detects the erroneous operation. To provide a sequence controller that emits a warning sound to alert an operator to an erroneous operation. The present invention will be explained below with reference to Examples.
第1図は本発明の一実施例のシーケンスコント
ローラの操作パネルの正面図である。パネルの右
下隅にある一群のキー1は命令、データ等の入力
キーで数字を記入したキーは命令の入力とデータ
数字の入力の両方兼用になつており、ローマ字の
記入されたキーは操作用のキーである。左上の上
下二段の表示部2,3は出力端子表示ランプの列
で1番から32番までの32個あり或るプログラムス
テツプで指定された出力端子を示す位置のランプ
が点灯するようになつている。右上の二段の表示
部4,4′は入力端子表示ランプの列でやはり1
番から32番まであり、或るプログラムステツプで
指定されている入力端子に入力が加わつたとき対
応するランプが点灯する。表示部3の下にある数
字表示部5は4個の枠51,52,53,54に
分れており、一番左の枠51は2桁でステツプ番
号を表示し、その右の枠52は命令の種類を1桁
の数で表わし図の例の4と云う数字は例えばアン
ドの命令を意味する。この命令語とそのコード数
字との対訳表が数字部5の下の枠6に記載してあ
る。数字表示部5で左から3番目、及び一番右の
枠53,54は夫々2桁の数字で夫々がデータの
数値を表わす。 FIG. 1 is a front view of an operation panel of a sequence controller according to an embodiment of the present invention. The group of keys 1 in the lower right corner of the panel are input keys for commands, data, etc. The keys with numbers written on them are used for both inputting commands and data numbers, and the keys with Roman letters written on them are for operation. This is the key. The two upper and lower display sections 2 and 3 on the upper left are rows of output terminal display lamps, numbered 32 from number 1 to number 32.The lamp at the position indicating the output terminal specified in a certain program step will light up. ing. The two-stage display section 4, 4' on the upper right is a row of input terminal display lamps.
There are numbers from No. 32 to No. 32, and when an input is applied to the input terminal specified in a certain program step, the corresponding lamp lights up. The number display section 5 below the display section 3 is divided into four frames 51, 52, 53, and 54. The leftmost frame 51 displays a two-digit step number, and the right frame 52 displays the step number. represents the type of instruction as a one-digit number, and the number 4 in the example shown in the figure means, for example, an AND instruction. A bilingual table of the command word and its code number is written in the frame 6 below the number section 5. The third frame from the left and the rightmost frame 53, 54 in the number display section 5 are two-digit numbers each representing a numerical value of data.
次に上記パネルにおける操作法の概略を述べ
る。プログラムの書込み。まず電源スイツチPS
をオン側に倒し、次にプログラムコンソールスイ
ツチCSをオン側に入れ、次にステツプを“0”
にするためスイツチS2をリセツト側に1個倒
す。また、こゝでプログラムを記憶するメモリは
すべてクリアされているものとする。そして、プ
ログラムの各ステツプを順次入力して行く。プロ
グラムの各ステツプは書込みの始めにキー群中の
INSのキーを押し次に命令のキーを押す。各ステ
ツプの命令は必ず一語なのでINSのキーの次に押
す数字キーは自動的に命令の入力操作となり、そ
の次以降のキー操作は自動的にデータの入力とな
る。従つて同じキーが書込み操作時押された順位
によつて命令入力用として働き或はデータ記入用
として働く。まず第0ステツプの命令を書込む。
INSのキーを押し、ついで数字2のキーを押す。
数字2のキーはリターン即ち出発点に戻れの命令
で、数字表示の左から第1枠51は“00”,第2
枠52は“2”となり第0ステツプはこれだけで
次にR/Wのキーを押す。これはメモリへの読出
し書込み指令のキーで、メモリにはリターンの命
令が記入され、R/Wのキーを押すことによりス
テツプが自動的に歩進せしめられ数字表示部の第
1枠51の表示は“01”となり他の枠は全部0と
なる。こゝで第1ステツプの命令を入力する。こ
のステツプが例えば入力端子1と3の入力のアン
ドによつて出力端子2と4に出力を出すと云う内
容であれば、まず形通りINSのキーを押しアンド
の命令を示す数字キー4を押すと数字表示部の枠
51の表示が4となる。命令は一語に限られるか
ら次に押すキーは当然にデータの入力操作とな
る。今の場合入力端子1と3の入力のアンドを採
れと云う命令なので数字キー“0”次に“1”を
押す。数字表示部の枠53の表示が01となり、次
に数字キー“0”を押し次いで“4”を押すと数
字表示部の枠54の表示が04となつて、数字表示
部はプログラムの第1ステツプの内容を“アン
ド”“01”“04”と表示する。次に出力端子を指定
すると云う意味でOUTのキーを押すと表示部3
の数字1のランプが点滅する。次にOFFのキー
を押すと表示部3の数字1の上のランプが消え数
字2の上のランプが点滅する。次にONのキーを
押すと数字2の上のランプが点灯して出力端子2
に出力すべしと云う命令内容が表示され次の数字
3の上のランプが点滅開始する。出力は端子2と
4とになされるので再びOFFのキーを押す。そ
こで上記OFFキーを押すことで表示部3の数字
の上のランプが消灯し、次にONのキーを押すこ
とにより4番目の出力端子が指定されたことにな
る。これで第1ステツプの命令の構成が終つたの
でR/Wのキーを押して第1ステツプの命令をメ
モリに記入すると共にプログラムのステツプを一
段歩進させて数字表示部5の第1枠51は“02”
を表示する。以下上述したような操作により1ス
テツプずつプログラム内容がメモリの入力されて
行く。このようにして最後のステツプがプログラ
ムの全部を15回繰返して実行せよと云う内容であ
るとすると、次の順序でキーを押す。「INS」
「8」(繰返せの命令のコード番号)「1」、「5」
(15回を意味する)「0」「1」(プログラムのステ
ツプ1からの意、即ちステツプ1からこのステツ
プまでを15回繰返すことになる。)「R/W」と云
うように押す。プログラムの形式上の最後は
「END」の命令で上記繰返しの命令の次のステツ
プで「INS」、「END」、「R/W」の順のキー操作
で全プログラムの記入が終る。 Next, we will outline the operation method for the above panel. Program writing. First, power switch PS
Turn the program console switch CS to the on side, then turn the step to “0”.
To do this, flip switch S2 to the reset side. Also, it is assumed here that all memory for storing programs has been cleared. Then, input each step of the program in sequence. Each step of the program starts with a key in the key group at the beginning of writing.
Press the INS key and then the command key. Since the command for each step is always one word, pressing the numeric key after the INS key automatically becomes a command input operation, and subsequent key operations automatically become data input. Therefore, the same key can function either for command input or for data entry, depending on the order in which it is pressed during a write operation. First, write the instruction for the 0th step.
Press the INS key, then press the number 2 key.
The number 2 key is a return command, that is, a command to return to the starting point, and the first frame 51 from the left of the number display is "00", the second
The frame 52 becomes "2" and the 0th step is completed, and then the R/W key is pressed. This is a key for commanding reading and writing to the memory.A return command is written in the memory, and by pressing the R/W key, the step is automatically advanced and the first frame 51 of the numeric display section is displayed. will be “01” and all other frames will be 0. Now input the command for the first step. For example, if this step is to output output to output terminals 2 and 4 by ANDing the inputs of input terminals 1 and 3, first press the INS key and press the number key 4, which indicates the AND command. 4 is displayed in the frame 51 of the number display section. Since a command is limited to one word, the next key pressed naturally becomes a data input operation. In this case, the command is to AND the inputs from input terminals 1 and 3, so press the number keys "0" and then "1". The display in the frame 53 of the number display section becomes 01, then press the number key "0" and then press "4", the display in the frame 54 of the number display section becomes 04, and the number display section is set to The contents of the step are displayed as “and”, “01”, and “04”. Next, press the OUT key to specify the output terminal, and the display 3
The number 1 lamp flashes. Next, when you press the OFF key, the lamp above the number 1 on the display section 3 disappears and the lamp above the number 2 blinks. Next, press the ON key, the lamp above the number 2 will light up, and the output terminal 2 will turn on.
The content of the command to be output is displayed, and the lamp above the next number 3 starts blinking. Output is made to terminals 2 and 4, so press the OFF key again. Then, by pressing the OFF key, the lamp above the number on the display section 3 goes out, and by pressing the ON key, the fourth output terminal is designated. Now that the configuration of the first step command is complete, press the R/W key to write the first step command in the memory and advance the program step one step. “02”
Display. Thereafter, the program contents are input into the memory step by step by the operations described above. Thus, if the last step is to run the entire program 15 times, press the keys in the following order: "INS"
"8" (code number of repeat command) "1", "5"
(Meaning 15 times) "0""1" (Meaning from step 1 of the program, that is, repeating from step 1 to this step 15 times.) Press "R/W". The formal end of the program is the ``END'' command, and in the next step after the above-mentioned repeat command, the entire program is completed by key operations in the order of ``INS'', ``END'', and ``R/W''.
次に上記したプログラムを実行させるには、プ
ログラムコンソールスイツチCSをOFF側に倒
し、スイツチS1を“自動”側に倒し、スタート
スイツチS3を下へ1度倒す。これでプログラム
の実行が開始される。プログラム実行中は数字表
示部5の右にある表示灯55が点灯している。数
字表示部5の各枠は今実行しつゝあるプログラム
ステツプ番号、プログラム内容等を数字で表示し
ている。例えば第1ステツプを実行中で数字表示
部5の第1枠51には01の数字が出て第1ステツ
プであることを示し、このステツプの命令が
ANDであるときには第2枠52は04の数字を示
し、AND条件が成立すべき二つの入力端子が1
番と3番とであると数字表示部の第3枠53には
01の数字が、また第4枠54には03の数字が表わ
れる。この第1ステツプでは指定された出力端子
2,4へ出力が出されるとゝもに表示部2のラン
プ2,4が点灯する。第1ステツプは入力端子1
と3とに共に入力信号が入つたらプログラムは一
ステツプ進行して数字表示部等の表示は第2ステ
ツプの内容表示に変わるとゝもに第2ステツプの
実行が開始される。即ちプログラムの進行は或る
ステツプの命令内容即ち設定条件が成立するとス
テツプが歩進されて次段のステツプの実行に移
る。 Next, to run the above program, turn the program console switch CS to the OFF side, turn the switch S1 to the "auto" side, and turn the start switch S3 downward once. The program will now start running. While the program is being executed, the indicator light 55 to the right of the number display section 5 is lit. Each frame of the numerical display section 5 numerically displays the program step number currently being executed, program contents, etc. For example, when the first step is being executed, the number 01 appears in the first frame 51 of the number display section 5, indicating that it is the first step, and the command for this step is executed.
When it is AND, the second frame 52 shows the number 04, and the two input terminals for which the AND condition should be satisfied are 1.
and number 3, the third frame 53 of the number display section shows
The number 01 appears, and the number 03 appears in the fourth frame 54. In this first step, when an output is output to the designated output terminals 2 and 4, the lamps 2 and 4 of the display section 2 are lit. The first step is input terminal 1
When an input signal is input to both 3 and 3, the program progresses by one step, and the display of the numeric display section changes to the content display of the second step, and at the same time, execution of the second step is started. That is, as the program progresses, when the command contents of a certain step, that is, the setting conditions are satisfied, the step is incremented and the next step is executed.
第2図は上述装置の内部構成を示すブロツク図
である。CPUと記入されたブロツクはこの装置
における中央制御装置でマイクロコンピユータで
あり、Mはこのシーケンス制御装置が実行すべき
プログラムを記憶させるメモリで前述したプログ
ラム書込み操作でプログラムが記憶せしめられて
いる。今プログラムの或るステツプを実行中でそ
のステツプで指定された出力を出しているものと
する。そのときCPUはメモリMから上記ステツ
プの命令を読出しCPU内のアキユームレータに
記憶させており、他方常時入力端子IN1〜INnを
走査してその入力状態を見ており、この入力状態
とアキユームレータに記憶させてあるそのステツ
プの命令中の入力端子番号及び条件とをCPU内
蔵の演算判別回路で比較し、両者が一致したらメ
モリMのアドレス指定数に1を加えて次のステツ
プを読出し、上と同様の操作を行う。即ちこの装
置は外部負荷の制御については歩進型であるが内
部的には走査型のシーケンス制御を行つている。
しかしこの走査型のシーケンス制御は外部に対し
て実行すべき動作とは無関係に上述したように一
定しており、この内部制御のプログラムはCPU
内の読出し専用メモリ(ROM)に記憶させてあ
る。外部負荷を制御するプログラムを書込む場
合、CPUはROMからプログラム書込み用の内部
制御プログラムを読出し、そのプログラムに従つ
て前述したパネルのキー群1及びコンソールスイ
ツチCS、スイツチS2等が接続されている内部
入力回路の入力状態を繰返し走査する。正確には
CPUはROMに書込まれた内部制御プログラムに
従い外部入力回路INの各入力端子IN1〜INn及び
内部入力端子に接続されたコンソールスイツチ
CS、スイツチS2等の開閉状態、キー群1等を
走査し内部入力回路における入力状態によつてプ
ログラムの書込みかプログラムの実行かその他の
動作かを識別し内部入力回路の入力状態に応じて
夫々の動作が実行されるようになつている。今の
場合内部入力回路の入力状態がプログラム書込み
となつているので上述したようにキー群1と内部
入力回路の走査のみが行われてキー群によりセツ
トされた命令は順次メモリMに書込まれて行く。
更にプログラムの書込み、実行その他の動作にお
いて、CPUは書込み中のプログラムのステツプ
の内容或は実行中のプログラムのステツプの内容
或はプログラム中の指定したステツプの内容等を
数字表示部5、表示部2、3等に表示する動作を
ROM内の内部制御プログラムに従い実行してい
る。 FIG. 2 is a block diagram showing the internal structure of the above-mentioned device. The block marked CPU is the central control unit in this device, which is a microcomputer, and M is the memory for storing the program to be executed by this sequence control device, and the program is stored by the above-mentioned program write operation. Assume that a certain step in a program is currently being executed and the output specified by that step is being output. At that time, the CPU reads out the instructions of the above steps from the memory M and stores them in the accumulator in the CPU.On the other hand, it constantly scans the input terminals IN1 to INn to check their input states, and records this input state and the accumulator. The CPU's built-in arithmetic judgment circuit compares the input terminal number and conditions in the instruction for that step stored in the mulrator, and if they match, 1 is added to the number of addresses specified in memory M, and the next step is read out. Perform the same operation as above. That is, this device uses a step-by-step type of external load control, but internally performs a scanning-type sequence control.
However, this scanning sequence control is constant as described above, regardless of the operations to be executed externally, and this internal control program is executed by the CPU.
It is stored in read-only memory (ROM) inside the computer. When writing a program to control an external load, the CPU reads an internal control program for program writing from the ROM, and according to the program, the aforementioned panel keys 1, console switch CS, switch S2, etc. are connected. Repeatedly scans the input state of the internal input circuit. To be exact
The CPU controls the console switch connected to each input terminal IN1 to INn of the external input circuit IN and the internal input terminal according to the internal control program written in the ROM.
It scans the open/closed status of CS, switch S2, etc., key group 1, etc., and identifies program writing, program execution, or other operations based on the input status of the internal input circuit. The following actions are now being performed. In this case, the input state of the internal input circuit is program writing, so as mentioned above, only key group 1 and the internal input circuit are scanned, and the commands set by the key group are sequentially written to memory M. Go.
Furthermore, during program writing, execution, and other operations, the CPU displays the contents of the steps of the program being written, the contents of the steps of the program being executed, the contents of specified steps in the program, etc. on the numerical display section 5 and the display section. The action to display on 2nd and 3rd etc.
Executes according to internal control program in ROM.
要するにCPUはROMに書込まれたCPU自身を
制御する内部制御プログラムによつて動作してお
り、内部入力回路の入力状態によつてCPUを制
御する内部制御プログラムが切換わつて装置全体
としての外部的動作が外部負荷制御プログラムの
書込み、同プログラムの実行等に切換わる。また
外部制御プログラムの実行においてステツプを歩
進させるステツプカウンタとしてランダムアクセ
スメモリMが用いられている。 In short, the CPU is operated by an internal control program written in the ROM that controls the CPU itself, and the internal control program that controls the CPU is switched depending on the input state of the internal input circuit. The target operation switches to writing the external load control program, executing the program, etc. Further, a random access memory M is used as a step counter for incrementing steps in the execution of an external control program.
以上で本発明装置の正常のプログラム書込み操
作及びプログラム実行時の動作について概要の説
明を終つたので、以下プログラム書込み時の誤操
作及びそのときの装置の対応動作について説明す
る。プログラム書込み操作における誤操作として
は例えば、一つのプログラムステツプの書込みは
R/Wのキーを押すことによつて終り表示部51
の表示は次段のステツプ番号を表示する。次のス
テツプの命令の書込みはINSのキーを押すことで
始まるから、一般にR/Wのキーを押した後は
INSキーを押すべきであり、既に書込んだ何段か
前のステツプの命令を確認したい、或はプログラ
ムを何段か飛ばして先のステツプに書込みをした
いと云う時にはSET STEPキーを押す。従つて
R/Wのキーを押した後直ちに数字キーを押す操
作は誤りである。またINSのキーを押したときは
命令を書込むのであるから命令語のキー、今の例
では命令語のキーは数字キーと併用なので数字キ
ー以外のキー例えばSET STEPキー或はOUTの
キー(命令において出力キーを指定する場合に押
す)を押すのは誤りである。 Now that the general description of the normal program writing operation and the operation of the apparatus of the present invention during program execution has been completed, the following will explain the erroneous operation during program writing and the corresponding operation of the apparatus at that time. An example of an erroneous operation in the program writing operation is when writing one program step is completed by pressing the R/W key.
The display indicates the next step number. Writing the next step command begins by pressing the INS key, so generally after pressing the R/W key,
You should press the INS key, and if you want to check the command of the previous step that has already been written, or if you want to skip the program several steps and write to the next step, press the SET STEP key. Therefore, it is wrong to press the numeric key immediately after pressing the R/W key. Also, when you press the INS key, you are writing a command, so the command key is used.In this example, the command key is used in conjunction with the numeric keys, so you need to use keys other than the numeric keys, such as the SET STEP key or the OUT key ( It is an error to press ) to specify an output key in a command.
以上のような誤操作が行われたときは装置は誤
操作を検知してブザー等により警告を発しオペレ
ータの注意をうながす。又誤操作の結果は全くメ
モリに入力されず、書込み動作は誤操作が行われ
る前の状態に止つている。従つてオペレータは表
示部2,3,5の表示を見、その表示によつて表
わされている内容に継続する正しい操作を行えば
よい。例えばINSのキーを押し次に数字キーを押
すべき所OUTのキーを押したときブザーが鳴る
から、直ちに所期の数字キーを押し直せばよい。 When an erroneous operation as described above is performed, the device detects the erroneous operation and issues a warning with a buzzer or the like to urge the operator's attention. Further, the result of the erroneous operation is not input to the memory at all, and the write operation remains in the state before the erroneous operation. Therefore, the operator only has to look at the displays on the displays 2, 3, and 5 and perform the correct operation to continue with the content represented by the displays. For example, when you press the INS key and then press the OUT key when you should press a number key, a buzzer will sound, so you can immediately press the desired number key again.
誤操作はプログラム書込み操作だけでなく書込
んだプログラムムをステツプを遡つて表示させプ
ログラムをチエツクするようなときにも起り得
る。このような場合前述したSET STEPキーを
押すがこのキーを押したときは次にはステツプ番
号を指定するため数字キーを押すべきであり、
INSキーを押したりR/Wキーを押すのは誤りで
ある。このような場合にも装置は警告の音を発
し、誤操作の結果は受けず装置は誤操作前の状態
に留つている。 Misoperations can occur not only during program writing operations, but also when retracing the steps of a written program and displaying it to check the program. In this case, press the SET STEP key mentioned above, but when you press this key, you should press a numeric key to specify the step number.
It is a mistake to press the INS key or the R/W key. Even in such a case, the device emits a warning sound, and the device remains in the state before the erroneous operation without receiving the consequences of the erroneous operation.
第3図は本発明装置における上述した動作のフ
ローチヤートで、この動作を実現するプログラム
は第2図のROM内に予め設定してある。CPUは
コンソールスイツチCS等のスイツチの開閉状
態、キー群1の状態等を繰返し走査しており、コ
ンソールスイツチCSがオンかオフかでオンなら
ばプログラム書込み或はプログラムのチエツクで
あるから、次にSET STEPキーが押されたかと
問い、NOならばINSキーが押されたかを問い、
NOならOUTキーが押されたかを問い、SET
STEPキーが押されておれば次に数字キーが押さ
れたかを問い、NOならば誤操作だからブザーを
鳴らし、SET STEPキーが押されておらずINSキ
ーが押されていたときは次に命令キー(実施例で
は数字キー)が押されたか否かを問いNOなら誤
操作だからブザーを鳴らす。同様にしてOUTキ
ーが押されて次にONキー或はOFFキーが押され
たのでなければ誤操作だからブザーを鳴らす。以
上のフローチヤートの説明で数字キーが押された
かと云う問いの形は便宜的にそのように書いただ
けで実際はこの段階では数字キー以外のキーが押
されたか否かをチエツクするのであり、単に数字
キーが押されていないと云うだけでブザーを鳴ら
すように動作するのではない。そうでないと
CPUによる走査は高速で行われているので例え
ばINSキーを押して次に数字キー(命令キー)を
押すまでには或る程度の空白時間があるから、そ
の空白時間中ブザーが鳴ることになつて大へんう
るさい状態となる。従つてフローチヤートの詳細
をSET STEPキーが押されたかと云う問い以降
のラインを代表として第4図に例示する。即ち
SET STEPキーが押されたかの問いにYESなら
ば数字キー以外のキーが押されたかを問い、この
問いにYESのときブザーを鳴らし、NOのとき数
字キーが押されたかを問い、NOならば数字キー
以外のキーが押されたかを問うステツプに戻ると
云う動作を数字キーが押されるまで繰返す。 FIG. 3 is a flowchart of the above-mentioned operation in the apparatus of the present invention, and a program for realizing this operation is preset in the ROM shown in FIG. 2. The CPU repeatedly scans the open/close status of switches such as console switch CS, the status of key group 1, etc., and determines whether the console switch CS is on or off. If it is on, it means writing a program or checking a program, so next Asks if the SET STEP key was pressed; if NO, asks if the INS key was pressed;
If NO, ask if the OUT key was pressed and set
If the STEP key was pressed, the next numeric key was pressed.If NO, it was an error and the buzzer sounds.If the SET STEP key was not pressed and the INS key was pressed, the next command key was pressed. A question is asked as to whether or not a key (in the embodiment, a numeric key) has been pressed, and if NO, it is an incorrect operation and a buzzer sounds. Similarly, if the OUT key is pressed and then the ON key or OFF key is not pressed, the buzzer will sound because it is an incorrect operation. In the explanation of the flowchart above, the question "Whether a numeric key was pressed" was written that way for convenience; in reality, at this stage, the question is whether or not a key other than the numeric key was pressed, and is simply It doesn't just sound a buzzer when a number key is not pressed. Otherwise
Since scanning by the CPU is performed at high speed, for example, there is a certain amount of blank time between pressing the INS key and pressing the next numeric key (command key), so the buzzer will sound during that blank time. It becomes very noisy. Therefore, the details of the flowchart are illustrated in FIG. 4, with the line after the question asking whether the SET STEP key has been pressed as a representative example. That is,
If YES to the question of whether the SET STEP key was pressed, it will ask whether a key other than the numeric key was pressed, and if YES to this question, it will sound a buzzer, if NO, it will ask if a numeric key was pressed, and if NO, it will press the numeric key. The operation of returning to the step of asking whether a key other than the key has been pressed is repeated until a numeric key is pressed.
第2図において上述動作によつてブザーを鳴ら
すべき状態と判定されたときはCPUからブザー
BZに駆動信号が出力され、メモリM、表示部
2,3,5の表示は誤操作前と変りがない。 In Fig. 2, when it is determined that the buzzer should sound due to the above operation, the CPU sends the buzzer.
A drive signal is output to BZ, and the display on memory M and display sections 2, 3, and 5 remains the same as before the erroneous operation.
本発明装置は上述したような構成で、誤操作が
なされたときは警告音が発せられるからオペレー
タは装置パネルをよく見ていなくても(実際上慣
れたオペレータは装置パネルは余り見ず専らプロ
グラムを書いたシートの方を見てキーを操作して
いる)、誤操作が聴覚に伝達されるので確実に誤
操作に気付き直ちに正しい操作をやり直すことが
でき、プログラムの書込み、チエツク等の操作が
能率的に行なわれることになる。 The device of the present invention has the above-mentioned configuration, and when an erroneous operation is performed, a warning sound is emitted, so that the operator does not have to look closely at the device panel (in fact, an experienced operator may not look at the device panel and only program the program). (You operate the keys while looking at the sheet you have written on), and since any erroneous operation is transmitted to your auditory senses, you can definitely notice the erroneous operation and immediately redo the correct operation, making operations such as writing and checking programs more efficient. It will be done.
図面は本発明の実施例を示し、第1図は装置正
面図、第2図は内部構成を示すブロツク図、第3
図は装置動作の主要部のフローチヤート、第4図
は同フローチヤートの一部の詳細フローチヤート
である。
1……キー群のキー、2,3,5……表示部、
CPU……中央制御装置、M……シーケンスコン
トロールプログラムを書込むメモリ。
The drawings show an embodiment of the present invention, and FIG. 1 is a front view of the device, FIG. 2 is a block diagram showing the internal configuration, and FIG.
The figure is a flowchart of the main part of the operation of the device, and FIG. 4 is a detailed flowchart of a part of the same flowchart. 1... Keys of the key group, 2, 3, 5... Display section,
CPU...Central control unit, M...Memory for writing sequence control programs.
Claims (1)
ーと、歩進条件をしめす命令キー、歩進条件の演
算対象となる要素を指定するデータ指定キー、出
力設定の開始を示す出力設定開始キー(OUT)、
各出力のON/OFFを設定するための一対の
ON/OFFキー、上記各キーの操作により作成さ
れた命令をメモリに書込むための書込みキー、工
程番号を示す工程番号表示器、歩進条件をマーク
で示すため、この工程番号表示器に隣接される命
令表示器、前記演算対象となる要素の番号を示す
ため、この命令表示器に隣接されるデータ表示
器、全出力を個別に表示する為の並設された複数
の表示灯と、上記工程番号指定キーから上記書込
みキーまでの各キーの操作が1工程の命令のフオ
ーマツトに関して適正か否かを判定し、不適正な
場合警報発生装置を起動させるとともに前記メモ
リへの書込みを禁止するキー操作監視手段、メモ
リから読み出された命令語に応じて、演算対象と
なる要素に関し歩進条件の成立が検出されると工
程を歩進し、歩進された工程で指定された全出力
のON/OFFを出力する演算処理装置を有する工
程歩進型シーケンスコントローラ。1. A process number specification key that indicates the start of specifying the process number, a command key that indicates the step condition, a data specification key that specifies the element to be calculated for the step condition, and an output setting start key that indicates the start of the output setting ( OUT),
A pair of buttons for setting ON/OFF of each output.
ON/OFF key, write key to write the command created by operating each key above to memory, process number display that shows the process number, adjacent to this process number display to indicate the step condition with a mark. a data display adjacent to the command display to indicate the number of the element to be calculated, a plurality of indicator lights arranged in parallel to individually display all outputs; A key that determines whether or not the operation of each key from the process number designation key to the above-mentioned write key is appropriate with respect to the format of the instruction for one process, and if it is inappropriate, activates the alarm generating device and prohibits writing to the memory. The operation monitoring means, in accordance with the command read from the memory, increments the process when it is detected that the increment condition is met for the element to be operated on, and outputs all the outputs specified in the incremented process. A step-by-step sequence controller with an arithmetic processing unit that outputs ON/OFF signals.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15717978A JPS5582303A (en) | 1978-12-18 | 1978-12-18 | Sequence controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15717978A JPS5582303A (en) | 1978-12-18 | 1978-12-18 | Sequence controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5582303A JPS5582303A (en) | 1980-06-21 |
| JPS627563B2 true JPS627563B2 (en) | 1987-02-18 |
Family
ID=15643904
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15717978A Granted JPS5582303A (en) | 1978-12-18 | 1978-12-18 | Sequence controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5582303A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01173085U (en) * | 1988-05-30 | 1989-12-07 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS582909A (en) * | 1981-06-29 | 1983-01-08 | Fujitsu Ltd | Erroneous set display system for operation system |
| JPS60147808A (en) * | 1984-01-13 | 1985-08-03 | Mitsubishi Electric Corp | Numerical controller |
-
1978
- 1978-12-18 JP JP15717978A patent/JPS5582303A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01173085U (en) * | 1988-05-30 | 1989-12-07 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5582303A (en) | 1980-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60262204A (en) | Programmable controller | |
| EP0121570B1 (en) | Method of displaying diagnostic result | |
| JPH0337202B2 (en) | ||
| JPS627563B2 (en) | ||
| JPS5929882B2 (en) | sequence controller | |
| TW452727B (en) | Micro-computer system and method for using reset to set different working modes | |
| JP3310481B2 (en) | Test mode execution device | |
| JPH0577143A (en) | Failure diagnosis device for automated line | |
| JPS6118205B2 (en) | ||
| JPS6118206B2 (en) | ||
| JPS603209B2 (en) | sequence controller | |
| JPS609281B2 (en) | sequence controller | |
| JPS6013481B2 (en) | sequence controller | |
| JPH0241189Y2 (en) | ||
| JP3224043B2 (en) | Initial processing method of intelligent graphic operation panel | |
| JPS63257042A (en) | Memory device for history of key operation | |
| JPH0566934A (en) | Programming device for programmable controller | |
| JPH0411881B2 (en) | ||
| JPH0373001B2 (en) | ||
| JPH1097307A (en) | Sequencer operation verification device and medium recording sequencer operation verification program | |
| JPH0447405A (en) | Programing device for programmable controller | |
| JPH0326583A (en) | Printer | |
| JPH01200406A (en) | Program comparing device for programmable controller | |
| JPS605964B2 (en) | sequence programmer | |
| JPS58221405A (en) | Programmable controller |