JP3374399B2 - Skip input device - Google Patents

Skip input device

Info

Publication number
JP3374399B2
JP3374399B2 JP23594891A JP23594891A JP3374399B2 JP 3374399 B2 JP3374399 B2 JP 3374399B2 JP 23594891 A JP23594891 A JP 23594891A JP 23594891 A JP23594891 A JP 23594891A JP 3374399 B2 JP3374399 B2 JP 3374399B2
Authority
JP
Japan
Prior art keywords
signal
skip
input device
becomes
executed
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 - Fee Related
Application number
JP23594891A
Other languages
Japanese (ja)
Other versions
JPH0573115A (en
Inventor
真一郎 山下
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP23594891A priority Critical patent/JP3374399B2/en
Publication of JPH0573115A publication Critical patent/JPH0573115A/en
Application granted granted Critical
Publication of JP3374399B2 publication Critical patent/JP3374399B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明はスキップ動作が可能なス
テップ式シーケンスプログラムに関するものである。 【0002】 【従来の技術】一般にステップ式のシーケンスプログラ
ムは、複数のステップに分割されたプログラムで構成さ
れる。各ステップはそれぞれに割り当てられた操作端に
対し操作指令の信号を送る。この操作指令の信号に従い
操作端は動作する。検出器は、その操作端の操作量、あ
るいはプロセスを検出し、操作端が実行すべき動作を完
了した状態とみなしたときにステップに対し完了条件の
信号を送る。完了条件の信号を受けたステップはそのス
テップを完了し、次のステップへと進む。ステップが操
作指令の信号を送ってから、ある時間経過しても、検出
器からの完了条件の信号が送られない場合には、何らか
の不具合が発生したものとして、操作指令の信号を止
め、CRT画面等の出力装置に、不具合が発生したとい
うこととそのステップを表示し、運転員に知らせる。運
転員はどこで不具合が発生したのか、その原因を調べ、
運転を再開させる。運転員は運転を再開させるために、
手動で操作端を操作し完了条件の信号が送られる状態に
する。しかし、不具合によってはどのように操作しても
完了条件の信号が送られないおそれがある。そのような
場合には、運転員の判断によりそのステップを強制的に
スキップさせ次のステップを実行させる必要がある。ス
キップさせるためには、完了条件の信号が送られる配線
の中から必要な配線を探し出しこれに完了条件の信号を
入力する必要がある。 【0003】 【発明が解決しようとする課題】この構造ではステップ
を完了させるには、不具合を直すか、強制的にそのステ
ップをスキップさせる完了条件の信号を入力する必要が
ある。しかし強制的に完了条件の信号を入力してステッ
プをスキップさせるには次のような問題がある。 1.一般にシーケンスプログラムを制御するための入力
装置と強制的に完了条件の信号を入力する場所は離れた
位置にあり、運転が円滑に進まない。 【0004】2.複数の配線の中から必要な配線を探し
出さねばならず、操作ミスを起こしやすい。 【0005】3.強制的に入力した信号をいつはずすか
を考慮しなければならない。 【0006】尚、このようにステップをスキップさせる
ことが必要となる原因は以下のことが考えられる。 【0007】1.操作端自体はステップの操作指令の信
号に従い適正に動作しているが検出器の故障等により、
完了条件の信号がステップに入らない場合。 【0008】2.操作端自体が適正に動作しないが、全
体の運転に重大な障害とならないので、全体の運転を優
先する場合。 【0009】3.シミュレーション試験等において目的
のステップを早く実行する場合。 【0010】本発明の目的は、通常運転では完了しない
ステップも、簡単な操作で確実に目的のステップを完了
させ、その次のステップに進めることである。 【0011】 【課題を解決するための手段】本発明の特徴は、ステッ
プ式シーケンスプログラムの実行中のステップのみをス
キップさせるスキップ入力装置を設けた点にある。前記
スキップ入力装置において、入力のあったとき、CPU
の演算周期の一周期の間だけ出力することに特徴をも
つ。この出力により実行中のステップのみをスキップす
ることができる。 【0012】 【作用】簡単な操作で確実にステップを進めることがで
き、円滑を運転が可能となる。 【0013】 【実施例】以下、本発明の実施例を図面を用いて説明す
る。 【0014】図1は本発明の特徴をもっともよく表わし
ている。スキップ入力装置を備えた場合のシーケンスプ
ログラムによる動作を示している。制御プログラム2は
CPUによって実行される。制御プログラム2からの信号
に従って割り当てられた操作端3が動作し、その操作量
あるいはプロセス4を検出器5によって検出し、その状
態が制御プログラム2の完了条件を満たしているときに
は、検出器5から制御プログラム2に信号を送り、その
制御プログラム2が完了する。検出器5から制御プログ
ラム2に信号が送られていないときにも、スキップ入力
装置1から信号が送られるとその制御プログラム2は完
了する。 【0015】図3はスキップ入力装置の詳細図である。
運転員がスイッチ7を閉じることにより、信号発生器8
から電気信号が送られ、1演算時間のみ信号出力9によ
りCPUの演算周期の一周期の間のみ信号が送られる。
制御装置12からどのステップか10で実行中のステッ
プを調べ、そのステップにスキップさせる11により信
号を制御装置に送りそのステップを完了させ次のステッ
プを実行させる。 【0016】図4は第3の点線で囲んだ部分をロジック
で示したものである。X13は信号発生器8からの信
号、Y16は制御装置12から各ステップが実行中かど
うかを示す信号、Z18はスキップさせる11の信号で
あり、Y16とZ18は同じステップから、スキップ入
力装置に信号を入出力することにより、実行中のステッ
プをスキップすることができる。14はデジタル入力信
号をそのまま出力する特殊演算子、15は2入力の片方
に論理否定のついた論理積演算子、17は論理積演算子
である。図3の1演算時間のみ信号出力9は図4の1
4,15に相当し、図3のどのステップか10とスキッ
プさせる11は図4の17に相当する。14,15,1
7の演算順序は15,14,17の順とする。図4のタ
イムチャートを図5、流れ図を図6に示す。X13が0
の状態から1に変化したとき、15の出力は1、14の
出力は1となるが、次の演算では15の出力は0、14
の出力は1となる。X13が1の状態から0に変化した
とき、15の出力は0、14の出力は0となり、そのま
まとなる。つまりX13が0から1に変化したとき、1
演算周期の間だけ15の出力は1となるがそれ以外は0
となる。15からの出力が1のときに、Y16が1、つ
まり、そのステップが実行中のときにZ18の信号は1
となり、そのステップにスキップの信号を送る。Y16
が0、つまり、そのステップは実行中でないときはZ1
8の信号は常に0となる。 【0017】図7は本発明を含めたステップのロジック
である。従来のステップのロジック図8にスキップ指令
を加えるため、14,15,17,28の演算子を追加
する。以下、図7のロジックを説明する。前ステップ完
了19はその前のステップがすでに完了している場合に
1となり、実行中あるいは未実行のときには0となる。
第1ステップでは、シーケンスプログラムを実行すると
きに0から1に変える。前ステップ完了19の信号が1
のとき、出力側のステップ操作指令29,ステップ渋滞
30,ステップ完了31のいずれか1つの信号が1とな
る。ステップ操作指令29は各ステップに割り当てられ
た操作端3を動作させるための指令である。ステップ完
了条件20はスキップ操作指令29の信号を受けた操作
端3の操作量あるいはプロセス検出器5で検出し、その
状態が、ステップの完了条件を満たしている場合に入力
信号が1となる。ステップ完了条件20の信号が1とな
ると、ステップ操作指令29およびステップ渋滞30の
信号は0となり、ステップ完了31の信号は1となる。
このステップ完了31の信号は次のステップの前ステッ
プ完入の信号と同じであり、ステップの完了と同時に次
のステップの開始がなされる。ステップ渋滞30の信号
は、ステップ操作指令29の信号が1となってからあら
かじめ定めた時間内にステップ完了条件20の信号が1
とならないときに、1となる。このときステップ操作指
令29の信号は1となる。ステップ渋滞30は、あらか
じめ定めた時間内に処理が完了しないことから、何らか
の不具合が発生したものとしてプログラムの実行を一時
中断するために設けている。スキップ指令21の信号が
1、つまり、操作員がスキップのスイップ7を閉じ、信
号発生器8の信号が1のとき、論理和演算子28によっ
て、ステップ操作指令29あるいはステップ渋滞30の
信号が1となっているステップに対して、ステップ完了
条件20の信号が1となったのと同じように、そのステ
ップのステップ完了31の信号が1となる。スキップ指
令の信号21は演算子14,15によってCPUの1演
算周期の間だけ1となるので、スキップ入力スイッチ7
が閉じられたままでも、実行中のステップのみを完了さ
せ次のステップを実行させることが可能となる。 【0018】シーケンスプログラムによって操作される
操作端3あるいはその操作量,プロセスを検出する検出
器5に何らかの不具合が生じて通常動作ではステップが
完了しない場合、またはシミュレーション試験等で目的
のステップまで進めたい場合に、スキップ入力装置のス
イッチ7を閉じることによって信号発生器8より発生し
た信号は、全てのステップ32にスキップ指令21の信
号として取り込まれるが、全てのステップ32の中か
ら、ステップ操作指令29の信号が1またはステップ渋
滞30の信号が1のステップのみに作用し、そのステッ
プを完了させ次のステップに進めることができる。従っ
て極めて簡単な操作で実行中のステップのみを完了させ
次のステップに進めることができ、円滑な運転がおこな
える。 【0019】 【発明の効果】以上詳述したように、本発明によれば、
簡単な操作で確実にステップを進めることができ、円滑
な運転が可能となる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a step-type sequence program capable of performing a skip operation. 2. Description of the Related Art Generally, a step-type sequence program is composed of a program divided into a plurality of steps. Each step sends an operation command signal to the operation terminal assigned to each step. The operation terminal operates according to the signal of the operation command. The detector detects the operation amount or process of the operation end, and sends a completion condition signal to the step when the operation end considers that the operation to be performed is completed. The step that receives the completion condition signal completes the step and proceeds to the next step. If the signal of the completion condition is not sent from the detector even after a certain time has passed since the step sent the signal of the operation command, it is considered that some trouble has occurred, the signal of the operation command is stopped, and the CRT is stopped. The fact that a problem has occurred and the step are displayed on an output device such as a screen to notify the operator. The operator investigates where the failure occurred, the cause,
Restart operation. The operator has to restart the operation
Operate the operation terminal manually to set the completion condition signal to be sent. However, depending on the malfunction, there is a possibility that the signal of the completion condition is not sent regardless of the operation. In such a case, it is necessary to forcibly skip the step and execute the next step according to the judgment of the operator. In order to perform the skip, it is necessary to find a necessary wiring from among the wirings to which the signal of the completion condition is sent and input the signal of the completion condition to this. In this structure, in order to complete a step, it is necessary to correct a defect or to input a signal of a completion condition for forcibly skipping the step. However, forcibly inputting the signal of the completion condition to skip the step has the following problems. 1. Generally, the input device for controlling the sequence program and the place where the signal of the completion condition are forcibly input are located at distant positions, and the operation does not proceed smoothly. [0004] 2. It is necessary to find a necessary wiring from a plurality of wirings, and an operation error easily occurs. [0005] 3. You have to consider when to remove the forced input signal. [0008] The cause of the necessity of skipping the steps is as follows. [0007] 1. The operation end itself is operating properly according to the signal of the operation command of the step, but due to the failure of the detector, etc.,
When the completion condition signal does not enter the step. [0008] 2. When the operation end itself does not operate properly, but does not cause a serious obstacle to the overall operation. 3. To execute the target step early in a simulation test or the like. [0010] It is an object of the present invention to surely complete a target step by a simple operation even if a step is not completed in normal operation, and to proceed to the next step. A feature of the present invention resides in that a skip input device for skipping only steps during execution of a step-type sequence program is provided. In the skip input device, when there is an input, the CPU
It is characterized in that it is output only during one operation cycle of. With this output, only the step being executed can be skipped. The steps can be reliably advanced by a simple operation, and the operation can be performed smoothly. Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 best illustrates the features of the present invention. 9 shows an operation according to a sequence program when a skip input device is provided. Control program 2
Executed by CPU. The operating end 3 assigned according to the signal from the control program 2 operates, the operation amount or the process 4 is detected by the detector 5, and when the state satisfies the completion condition of the control program 2, A signal is sent to the control program 2, and the control program 2 is completed. Even when no signal is sent from the detector 5 to the control program 2, if a signal is sent from the skip input device 1, the control program 2 is completed. FIG. 3 is a detailed view of the skip input device.
When the operator closes the switch 7, the signal generator 8
, An electric signal is sent, and a signal is sent by the signal output 9 for one operation time only during one operation period of the CPU.
The control unit 12 checks which step is being executed in which step 10 and sends a signal to the control unit 11 to skip to that step to complete the step and execute the next step. FIG. 4 shows a portion surrounded by a third dotted line by logic. X13 is a signal from the signal generator 8, Y16 is a signal from the controller 12 indicating whether each step is being executed, Z18 is a signal of 11 to be skipped, and Y16 and Z18 are signals from the same step to the skip input device. By inputting / outputting the step, the step being executed can be skipped. 14 is a special operator that outputs the digital input signal as it is, 15 is a logical product operator with one of two inputs having logical negation, and 17 is a logical product operator. The signal output 9 for only one operation time in FIG.
4 and 15 correspond to step 10 in FIG. 3 and 11 to be skipped correspond to 17 in FIG. 14, 15, 1
7 is in the order of 15, 14, and 17. The time chart of FIG. 4 is shown in FIG. 5, and the flowchart is shown in FIG. X13 is 0
When the state changes from 1 to 1, the output of 15 becomes 1 and the output of 14 becomes 1, but in the next operation, the output of 15 becomes 0 and 14
Is 1. When X13 changes from the state of 1 to 0, the output of 15 becomes 0, the output of 14 becomes 0, and remains as it is. That is, when X13 changes from 0 to 1, 1
The output of 15 becomes 1 only during the operation cycle, but is 0 otherwise.
It becomes. 15 is 1, the signal of Y16 is 1, that is, the signal of Z18 is 1 when the step is being executed.
And a skip signal is sent to that step. Y16
Is 0, that is, when the step is not being executed, Z1
The signal of 8 is always 0. FIG. 7 shows the logic of the steps including the present invention. In order to add the skip command to the logic diagram of the conventional step, operators 14, 15, 17, and 28 are added. Hereinafter, the logic of FIG. 7 will be described. The previous step completion 19 becomes 1 when the previous step has already been completed, and becomes 0 when it is being executed or has not been executed.
In the first step, 0 is changed to 1 when the sequence program is executed. Previous step completion 19 signal is 1
At this time, any one signal of the step operation command 29, the step congestion 30, and the step completion 31 on the output side becomes 1. The step operation command 29 is a command for operating the operation terminal 3 assigned to each step. The step completion condition 20 is detected by the operation amount of the operation end 3 receiving the signal of the skip operation command 29 or by the process detector 5, and the input signal becomes 1 when the state satisfies the step completion condition. When the signal of the step completion condition 20 becomes 1, the signal of the step operation command 29 and the signal of the step congestion 30 become 0, and the signal of the step completion 31 becomes 1.
The signal of the step completion 31 is the same as the signal of the completion of the step before the next step, and the next step is started simultaneously with the completion of the step. The signal of the step congestion 30 is such that the signal of the step completion condition 20 becomes 1 within a predetermined time after the signal of the step operation command 29 becomes 1.
When it does not become 1, it becomes 1. At this time, the signal of the step operation command 29 becomes 1. The step congestion 30 is provided to temporarily suspend the execution of the program on the assumption that some trouble has occurred since the processing is not completed within a predetermined time. When the signal of the skip command 21 is 1, that is, when the operator closes the skip switch 7 and the signal of the signal generator 8 is 1, the OR operation 28 causes the step operation command 29 or the signal of the step congestion 30 to be 1 In the same way that the signal of the step completion condition 20 becomes 1 for the step of, the signal of the step completion 31 of that step becomes 1. Since the skip command signal 21 becomes 1 only during one operation cycle of the CPU by the operators 14 and 15, the skip input switch 7
Even if is kept closed, it is possible to complete only the step being executed and execute the next step. If the operation end 3 operated by the sequence program, the operation amount thereof, and the detector 5 for detecting the process have some trouble and the step is not completed in the normal operation, or it is desired to proceed to the target step in a simulation test or the like. In this case, the signal generated by the signal generator 8 by closing the switch 7 of the skip input device is taken in as the signal of the skip command 21 in all the steps 32. Signal is 1 or the signal of step congestion 30 acts on only one step, and that step can be completed and proceed to the next step. Therefore, only the step being executed can be completed with a very simple operation, and the process can proceed to the next step, so that a smooth operation can be performed. As described in detail above, according to the present invention,
The steps can be surely advanced by a simple operation, and smooth operation can be performed.

【図面の簡単な説明】 【図1】本発明を含むシステムのブロック図である。 【図2】従来のシステムのブロック図である。 【図3】スキップ入力装置のロジック図であ。 【図4】1演算周期のみ出力し実行中のステップのみを
スキップさせるためのロジック図である。 【図5】図4のタイムチャートである。 【図6】図4の流れ図である。 【図7】本発明を含むステップのロジック図である。 【図8】従来のステップのロジック図である。 【符号の説明】 7…スキップ入力装置のスイッチ、13…信号発生器8
からの信号、14…デジタル信号をそのまま出力する特
殊演算子、15…2入力の片方に論理否定のついた論理
積演算子、16…制御装置12からステップが実行中か
を示す信号、17…論理積演算子、18…スキップさせ
る11の信号、22…論理和演算子、26…オンディレ
イタイマ、28…セット優先フリップフロップ。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a system including the present invention. FIG. 2 is a block diagram of a conventional system. FIG. 3 is a logic diagram of a skip input device. FIG. 4 is a logic diagram for outputting only one operation cycle and skipping only the step being executed; FIG. 5 is a time chart of FIG. 4; FIG. 6 is a flowchart of FIG. 4; FIG. 7 is a logic diagram of the steps involving the present invention. FIG. 8 is a logic diagram of a conventional step. [Description of Signs] 7: Switch of skip input device, 13: Signal generator 8
, A special operator that outputs a digital signal as it is, a logical AND operator with one of two inputs having a logical negation, a signal indicating whether a step is being executed from the control device, AND operator, 18 ... 11 signals to be skipped, 22 ... OR operator, 26 ... On delay timer, 28 ... Set priority flip-flop.

Claims (1)

(57)【特許請求の範囲】 【請求項1】ステップ式シーケンスプログラムの実行時
に、実行中のステップをスキップさせ次のステップを実
行させるためのスキップ入力装置において、スキップ操
作信号を発生させるための信号発生手段と、複数のステ
ップの中から実行中のステップを識別するための識別手
段と、前記実行中のステップのみにスキップ信号を出力
するための出力手段を備え、前記信号発生手段はステッ
プ式シーケンスプログラムを演算処理する制御部の演算
周期の1周期の間だけ信号を発生させることを特徴とす
るスキップ入力装置。
(1) In a skip input device for skipping a step being executed and executing the next step when a step-type sequence program is executed, a skip operation signal is generated. a signal generating means comprises an identification means for identifying the step in execution among multiple steps, the output means for outputting the skip signal only step in the execution, the signal generating means step
Operation of the control unit that performs arithmetic processing on the step-type sequence program
A skip input device for generating a signal for only one cycle of the cycle .
JP23594891A 1991-09-17 1991-09-17 Skip input device Expired - Fee Related JP3374399B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23594891A JP3374399B2 (en) 1991-09-17 1991-09-17 Skip input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23594891A JP3374399B2 (en) 1991-09-17 1991-09-17 Skip input device

Publications (2)

Publication Number Publication Date
JPH0573115A JPH0573115A (en) 1993-03-26
JP3374399B2 true JP3374399B2 (en) 2003-02-04

Family

ID=16993592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23594891A Expired - Fee Related JP3374399B2 (en) 1991-09-17 1991-09-17 Skip input device

Country Status (1)

Country Link
JP (1) JP3374399B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3679844B2 (en) * 1995-11-09 2005-08-03 ファナック株式会社 Sequence program execution device

Also Published As

Publication number Publication date
JPH0573115A (en) 1993-03-26

Similar Documents

Publication Publication Date Title
JPH0816435A (en) Triggerable occurrence log for machine diagnosis
US20100070260A1 (en) Verification device, verifying apparatus and verification system
JPS60122407A (en) Programmable controller
JP3374399B2 (en) Skip input device
US4498130A (en) Apparatus for remotely operating output terminals of a copying machine or the like during self-diagnosis
JPH07121576A (en) Failure simulation device
JPS61813A (en) Deciding system for faulty area of sequence controller
JP2000293208A (en) Sequence control system
JPH08272407A (en) Monitoring device for programmable controller
JPH04284504A (en) Equipment diagnosing method for programmable controller
JPH1091215A (en) Programmable controller
KR0125945B1 (en) Method of operating monitoring for processor
JPS5831458A (en) Address matching device
JPS6120900B2 (en)
JP2599795B2 (en) Test method for circuits with microprocessor
JPH07287660A (en) Interruption processing method for programmable controller
JPH0895612A (en) Sfc program development device
JP3127528B2 (en) Vending machine input / output check device
JPH06282353A (en) Timer device having time shortening function
JPH0547843B2 (en)
JPH08286714A (en) Monitor device for programmable display device
JP3034491B2 (en) Control device for injection molding machine
JPH0651815A (en) Abnormality recovering device for sequence controller
JPH11202913A (en) Controller for pmc
JPH08314533A (en) Facility state monitor device and method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071129

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081129

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081129

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091129

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101129

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees