JPS62221705A - Automatic teaching and reproducing device - Google Patents

Automatic teaching and reproducing device

Info

Publication number
JPS62221705A
JPS62221705A JP6410886A JP6410886A JPS62221705A JP S62221705 A JPS62221705 A JP S62221705A JP 6410886 A JP6410886 A JP 6410886A JP 6410886 A JP6410886 A JP 6410886A JP S62221705 A JPS62221705 A JP S62221705A
Authority
JP
Japan
Prior art keywords
state
stored
input
information
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6410886A
Other languages
Japanese (ja)
Inventor
Isao Kobayashi
功 小林
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
Hitachi Keiyo Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Keiyo Engineering Co 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, Hitachi Keiyo Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP6410886A priority Critical patent/JPS62221705A/en
Publication of JPS62221705A publication Critical patent/JPS62221705A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the automatic control of a controlled system and furthermore to perform teaching and reproduction of manual operations by a memory part of smaller capacity, by storing successively the control forms of manual operations and then reproducing these stored control forms. CONSTITUTION:The control forms of manual operations are successively stored and then reproduced. An element setting process means STM decides previously a level element, an edge element or a timer element to recognize an input device. A teaching process means THM has a function to store successively the simulated operations of the controlled system carried out by an operator. A reproduction process means PBM has a function to control the controlled system in a desired state based on the storage contents of the means THM. When a basic program stored in a ROM is started, the state of a mode changeover switch M provided to a program device PGM is supplied at first. Then a mode is decided in steps 6b, 6c and 6d respectively. Then the processing is shifted to the means STM with the element setting mode, to the means THM with the teaching mode and to the means PBM with the reproduction mode respectively. Thus the prescribed processing is carried out.

Description

【発明の詳細な説明】 〔産業上の利用分封〕 本発明は制御対象の状態を多数の2値信号で入力し、こ
れらの信号の状態に応じて制御対象を2値制御するシー
ケンス制#装置に利用して好適な自動教示・再生制御装
置に関する。
[Detailed Description of the Invention] [Industrial Application] The present invention is a sequence control device that inputs the state of a controlled object in the form of a large number of binary signals and performs binary control of the controlled object according to the state of these signals. The present invention relates to an automatic teaching/reproduction control device suitable for use in.

〔従来の技術〕[Conventional technology]

制御対象の状態を2値状態で検出する入力機器からの2
値信号を入力する入力部と、前dピ制御対象を2値状態
で制御操作する出力機器に2値信号を出力する出力部を
備え、記1.1しに予め記憶した前記入力機器の2値条
件に応じて前記出力機器を所定の状態に制御操作するシ
ーケンス制御装置は、入力と出力との関係をプール代数
等により予め足置し、こねに基つい作成したブロクラム
を前記記憶部に記憶するようにし7ている。そして、当
該プログラムの実′t′Ti/(−より制御対象を所望
の状態に制御操作する。しかし2ながら、)タリえ汀、
制側ヅ・1象か天井クレーンのような場合で、しかも吊
り十けた荷の振りを目的地で最小Q′Cする必要のある
制御操作等においては、そのプログラムの作成が極めて
難しい。そこで、従来、この柿の制御操作は専ら操作員
の経験による手動操作に頼っているのが現状である。
2 from an input device that detects the state of the controlled object in binary state.
It is equipped with an input section for inputting a value signal, and an output section for outputting a binary signal to an output device that controls and operates the previous dpi control target in a binary state, and includes two of the input devices stored in advance in 1.1. A sequence control device that controls the output device to a predetermined state according to value conditions sets the relationship between input and output in advance using pool algebra or the like, and stores a block diagram created based on the kneading in the storage unit. 7. Then, the actual program 't'Ti/(-) controls the controlled object to the desired state.
It is extremely difficult to create a program for control operations such as overhead cranes, where the swing of a suspended load requires a minimum Q'C at the destination. Therefore, the current situation is that the control operation of this persimmon has conventionally relied solely on manual operation based on the operator's experience.

制御対象を操作員により手動操作し、当該操作を順次記
憶し、これを再生することによって制御対象を自141
J匍J御するようにすれは、前記の問題点は解決可1ヒ
である。この虞に水目して成さrまたものとしては、制
御対象を手動操作し、予め定めた時間間隔で入出力機器
の2値状炒を順次記憶しこの記憶山谷全順次再生するよ
うにしたものがある。
The controlled object is manually operated by the operator, the operations are memorized sequentially, and the controlled object is reproduced.
As long as you control the system, the above problems can be solved. In view of this possibility, we manually operated the control target to sequentially memorize the binary states of the input/output devices at predetermined time intervals, and sequentially reproduced all the peaks and valleys of this memory. There is something.

取手の技術の奈考になるものとしては、舶開昭55−4
4644号9%開昭57−206908号9%開昭57
−176414号、特開昭55−43614刊がある。
One of the most important examples of the technique of handles is the 55-4
No. 4644 9% 1986-206908 9% 1982
-176414, published in Japanese Patent Application Laid-open No. 55-43614.

〔発明か解決しようとする問題ル〕[Invention or problem to be solved]

手動操作における制御の形態を予め足めた時間間隔でl
lI4次記憶するようにした従来のものにおいては、入
出力機器の状態情報を取り込む時間間隔を短かくしなけ
れは、きめ卸1かな制御を実現することができない。し
かしなから、この時間間隔を短かくすれは、制御対象の
−通りの動作を記憶するための記憶部の容量か膨大にな
ってし1い、シーケンス制御装置においては実用的では
ない。
The form of control in manual operation is controlled at predetermined time intervals.
In the conventional device that uses quaternary storage, it is not possible to achieve precise control unless the time interval for capturing status information of input/output devices is shortened. However, if this time interval is shortened, the capacity of the storage section for storing the various operations of the controlled object becomes enormous, which is not practical in a sequence control device.

本発明は上記の点に鑑みて成されたものであり、その目
的とするところは、手動操作における制御形態をl1l
Ii次記憶し、これを再生することによって制(財)対
象を自動制御でき、しかもより少ない容量の記憶部で、
手動操作を教示、tI′+生ずることのできる自動教示
・4Q生装筐を得ることにある。
The present invention has been made in view of the above points, and its purpose is to improve the control form in manual operation.
By storing and reproducing the data, it is possible to automatically control the controlled object, and with a smaller storage capacity,
The object of the present invention is to obtain an automatic teaching/4Q production case that can teach manual operation and produce tI'+.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

シーケンス制御1においては、各榊押卸スイッチ。 In sequence control 1, each Sakaki push-down switch.

リミットスイッチ等の入力状態が複数棟組み合わされ、
この組み合せの午件によって出力状態か決定さhる。こ
れら入力状態を解析すると、3つの要素に分けることが
できる。その1つは、入力機器の状態、すなわちON、
OFFに対応したレベル要素、2つ目は入力様器の状態
変化時点に対応した立止りエツジ、立下りエツジで衣わ
さ冶るエツジ要素、3つ目は入力機器の状態変化時点か
らの時間経過で次わされるタイマ要素である。
Multiple input states such as limit switches are combined,
The output state is determined by the condition of this combination. When these input states are analyzed, they can be divided into three elements. One of them is the state of the input device, that is, ON,
The level element corresponding to OFF, the second is the stopping edge corresponding to the state change point of the input device, the edge element that changes the change at the falling edge, and the third is the time from the state change point of the input device This is a timer element that is passed in time.

本発明はシーケンス制御において、出力状態か複数の入
力の状態によって決定されること、及び入力状態は3つ
の要素に代衣されることに層目して成さ力たものであり
、手動操作時における出力状態の変化を検出し、当該変
化時点における入出力の状態を111次記憶し、これを
刊年ずることによって所期の目的を達成するものでめる
The present invention focuses on the fact that in sequence control, the output state is determined by the state of a plurality of inputs, and the input state is substituted by three elements. The desired purpose can be achieved by detecting a change in the output state at the time of the change, storing the input/output state at the time of the change in 111th order, and dividing the publication year.

すなわち、本発明によれは、入力機器の状態情報を、少
なくとも任意の1つの入力機器については当該機器の状
態変化時点からの時間経過情報と共に記憶する単位状態
記憶部を多数備えた状態記憶手段と、前記制御対象を手
動・自動操作指定する切替手段とを備える。そして、当
該切替手段からの手動操作指定情報に基づいて前記出力
機器の状態変化を検出する検出手段を備え、当該検出手
段からの変化検出情報の各々に応答し、当該各時点にお
ける前記入力様器の2値状態情報と時間経過情報とを前
記状態記憶手段の各単位状態記憶部に順次記憶する教示
処理手段を備える。更に、前記切替手段からの自動操作
指令情報に基づいて、前記入力機器の状態を逐次検出し
、各時廣における前記入力機器の状態を前記各単位状態
記憶部の対応する記憶内容と比較しこれらの一致を検出
する状態利足手段を備え、当該判定手段の一致検出に応
答して当該単位状態記憶部VC記憶した前記出力機器に
対する′時報に基づいて前記出力機器をml]御操作す
る再生処理手段を備える。
That is, according to the present invention, the state storage means includes a large number of unit state storage sections that store state information of input devices, for at least one arbitrary input device, together with time elapsed information from the time when the state of the device changes. , and a switching means for specifying manual/automatic operation of the control target. and detecting means for detecting a change in the state of the output device based on the manual operation designation information from the switching means, and responsive to each change detection information from the detecting means, the input device at each point in time and teaching processing means for sequentially storing binary state information and time elapsed information in each unit state storage section of the state storage means. Furthermore, the state of the input device is sequentially detected based on the automatic operation command information from the switching means, and the state of the input device at each time period is compared with the corresponding storage contents of each unit state storage section. a reproduction process for controlling the output device based on a time signal for the output device stored in the unit state storage unit VC in response to the detection of the coincidence by the determination device; Have the means.

〔作用〕[Effect]

上記のように構成すれは、制御対象の手動操作時に、検
出手段は出力機器の状態変化を常時監視し、とtに変化
かあれは教示処理手段は当該変化時点における各入力機
器の状態情報を、状態記憶手段の各単位状態記憶部に1
111次記憶する。したがって、状態記憶手段に記憶さ
れるのは出力機器の状態変化時における各種入出力機器
の状態であることから、制御対象の一連の動作の記憶に
際し、状態記憶手段の記憶容量は極めて小さくなる。
With the above configuration, when the controlled object is manually operated, the detection means constantly monitors the state change of the output device, and if there is a change at t, the teaching processing means collects the state information of each input device at the time of the change. , 1 in each unit state storage section of the state storage means.
Stores 111th order. Therefore, since what is stored in the state storage means is the state of various input/output devices when the state of the output device changes, the storage capacity of the state storage means becomes extremely small when storing a series of operations of the controlled object.

再生時においては、状態記憶手段か入力機器の状態を常
時監視し、状態記憶手段の各単位記憶部の記憶内容をト
照して出力機器の制御操作時点を判定し、これに基づい
て再生処理手段か出力機器を所望の状態に制御挽・作す
る。
During playback, the state of the state storage means or the input device is constantly monitored, the storage contents of each unit storage section of the state storage means are checked to determine the point of control operation of the output device, and the playback process is performed based on this. Controlling and creating a means or output device to a desired state.

以上VCより、操作員によって操作されたと同様に制御
対象か制御婆れることとなる。
As described above, the control object is controlled by the VC in the same manner as if it were operated by the operator.

〔実施例〕〔Example〕

以下、図を参照して本発明の一実施例について飲明する
。第2図は制御対象の一例を示す天井クレーンの概略を
示したものである。この天井クレーンを便って、A地や
Kある荷PをBj1!!廣に移動させる場合、一般的に
はA、  B地染間の荷Pの振れの制限、及びB地涜到
看時の待機れなしが要不される。通常、この様な天井ク
レーン荷振れ止め制御は、複雑な演算か必要とされる。
An embodiment of the present invention will be explained below with reference to the drawings. FIG. 2 schematically shows an overhead crane, which is an example of a controlled object. Use this overhead crane to transport a load P from land A or K to Bj1! ! When moving to a wide area, it is generally not necessary to limit the swing of the load P between A and B dyeing areas, and to not wait when the B area is reached. Normally, such overhead crane load swing control requires complicated calculations.

しかし、クレーン運転熟練者は、長年の感でこの待機れ
運転を行なっている。従かつて、運転者によって手動模
擬操作を行な−、その操作パターンを順次記憶し、これ
を再現するようにすれは、クレーンの待機tを止める運
転か可能である。
However, experienced crane operators have been performing this standby operation for many years. In the past, it was possible to stop the crane from waiting by having the operator perform a manual simulation operation, sequentially memorizing the operation pattern, and reproducing it.

第3図(a)に、荷Pの撮れかB地ルで止1つだ場合に
おける台車Tの速度パターンを示す。この速度パターン
は、第3図(blに示す台車Tの0N−OFF制御で実
現できる。第4図は自動運転における各種人、出力信号
の状態の一例を示すタイム・チャートである。ここで、
aは台車Tを移動駆動する台車移動出力信号、bは自動
運転モードであることを示す自動モード入力信号、Cは
運転開始を指示する運転開始釦等からの入力信号、dは
台車Tの停止位置STに配置したリミットスイッチ等か
らの入力信号である。後記する実施例において、手動模
擬運転時における教示操作時には、台車移動出力信号a
か手動出カバターンとして読み込1れ、他の信号す、 
 c、 dは入カバターンとして絖み込1れることとな
る。
FIG. 3(a) shows the speed pattern of the cart T when the load P is stuck on the ground or B. This speed pattern can be realized by ON-OFF control of the trolley T shown in FIG.
a is a trolley movement output signal that drives the trolley T to move, b is an automatic mode input signal indicating that it is in automatic operation mode, C is an input signal from a drive start button etc. that instructs to start driving, d is a stop of the trolley T This is an input signal from a limit switch or the like placed at position ST. In the embodiment described later, during the teaching operation during manual simulation driving, the trolley movement output signal a
or read as a manual output pattern, other signals,
C and d will be recessed as input cover turns.

第5図は実施例の全体の構成を示すブロック図である。FIG. 5 is a block diagram showing the overall configuration of the embodiment.

EIBはシステムバスであり、ごれにはマイクロプロセ
ッサMPU(以下、単1cMPUという。)、リード・
オンリ記憶装置EOM(以下、息にROMという。)、
ランダム・アクセス記憶装置RAM(以下、単にRAM
という。)、プロセス入出力インターフェイス&[P工
0.および入力装置としてのプログラム装置tPGMを
接続する。ROMKは制御対象の手動模擬操作を記憶し
、これを再生するところの後述する神々の基本プログラ
ムが格納してあり、RAMには手動模擬操作した際の木
出力機器の状態′bv報、および基本プログラムの実行
に必要な各種情報を記憶する各種記憶部が設定しである
。プロセス入出力インタフェース装厭P工0は各袖押釦
スイッチ、リミットスイッチ等の入力機器、および電磁
接触器等の出力機器の状態情報を入出力する多数の入出
力回路を備える。そして、入出力回路の各々は予め足め
た入出力機器にそれぞれ接続する。更に、これら各々の
回路は、ROMに格納した基本プログラムの実行に当り
、必要に応じてMPUがその状態を読み込み、あるいは
書き込みができるよう構成しであると共に、各回路には
それぞれ異なったアドレスが割り付けである。MPUは
当該アドレスの指定により、H1定の入出力機器の状態
を読み込み、あるいは書き込み可能となる。プログラム
装置PGMは多数のキーKB等、および表示部DS、P
を備え、後述する各褌の設定、モード等の切替えを指示
可能としである。特に、グログラム装置PGMに備えた
モード切替スイッチMは、要素設定・手動・自動切替ス
イッチであり、これにより各モードか指定される。衣示
9DBPは当該プログラム装置PGMからの入力情報、
あるいは装置側からの各種の指令を操作員に知らせるだ
めのものである。
The EIB is a system bus, and includes a microprocessor MPU (hereinafter referred to as single cMPU), a read bus,
Only storage device EOM (hereinafter referred to as ROM),
Random access storage RAM (hereinafter simply referred to as RAM)
That's what it means. ), process input/output interface & [P engineering 0. and a programming device tPGM as an input device. The ROMK stores the basic program of the gods, which will be described later, for storing and reproducing the manual simulated operation of the controlled object, and the RAM stores the state'bv information of the tree output device when the manual simulated operation is performed, and the basic program. Various storage units are set up to store various information necessary for executing the program. The process input/output interface device P0 includes a large number of input/output circuits for inputting and outputting status information of input devices such as sleeve push button switches and limit switches, and output devices such as electromagnetic contactors. Each of the input/output circuits is connected to a predetermined input/output device. Furthermore, each of these circuits is configured so that the MPU can read or write the state as necessary when executing the basic program stored in the ROM, and each circuit has a different address. It is an assignment. By specifying the address, the MPU can read or write the status of the H1-defined input/output device. The program device PGM has a large number of keys KB, etc., and display sections DS and P.
It is possible to instruct the setting of each loincloth, switching of modes, etc., which will be described later. In particular, the mode changeover switch M provided in the grogram device PGM is an element setting/manual/automatic changeover switch, and each mode is designated by this switch. Iji 9DBP is input information from the program device PGM,
Alternatively, it is used to notify the operator of various commands from the equipment side.

以下、ROMに格納した基本プログラムについて説明す
る。第6図は肖該基庫プログラムの概略を示したフロー
チャートである。この基本プログラムは大きく3つに分
かh7ている。すなわち、要素設定子gzsTM、教示
処理手段THM、そして再生処理手段PBMである。要
素設定処理手段ST’Mはプロセス入出力インターフエ
イス装ftPIOの各入力回路に接続した入力機器を前
記した3つの要素、すなわちレベル要素、エツジ要素、
タイマ要素のいずハで認識するかを予め設定するもので
ある。教示処理手段THMは運転者による制御対象の模
擬操作を順次記憶する機能を有し、再生処理手段PBM
はこの記僧内答に基づいて制御対象を所望の状態に制御
する榛1指を有する。この基本プロクラムは起動される
と、甘すステップ6aでプログラム装置PGMに配:t
i!eL、たモード切替スイッチMの状態を入力する。
The basic program stored in the ROM will be explained below. FIG. 6 is a flowchart showing an outline of the portrait storage program. This basic program is divided into three major parts. That is, the element setter gzsTM, the teaching processing means THM, and the reproduction processing means PBM. The element setting processing means ST'M sets the input devices connected to each input circuit of the process input/output interface device ftPIO to the three elements described above, that is, the level element, the edge element,
This is to set in advance which timer element is to be recognized. The teaching processing means THM has a function of sequentially storing simulated operations of the controlled object by the driver, and the reproducing processing means PBM
has a finger that controls the controlled object to a desired state based on this internal answer. When this basic program is started, it is distributed to the program device PGM in step 6a.
i! eL, input the state of the mode changeover switch M.

そして、ステップ6b、’6c、6dでモードを判足し
、これか要素設定モードであれはその処理をステップ6
θで示す要素設定処理手段STMに移し、手動運転モー
ド、すなわち教示モードであれはその処理をステップ6
fで示す教示処理手段THMに移し、自動運転モード、
すなわち再生モードであわはその処理をステップ6gで
示す再生処理手49PBMK移し、所定の処理を実行す
る。
Then, in steps 6b, '6c, and 6d, the mode is added, and if it is this or element setting mode, the process is carried out in step 6.
The process is transferred to the element setting processing means STM indicated by θ, and if it is a manual operation mode, that is, a teaching mode, the process is performed in step 6.
Transfer to the teaching processing means THM indicated by f, automatic operation mode,
That is, in the reproduction mode, the processing is transferred to the reproduction processing unit 49PBMK shown in step 6g, and predetermined processing is executed.

以下、各処理手段STM、THM、PBMの各各につい
て詳細に説明する。なお、これら各処理手段EITM、
THM、PBMの実行にあたり、RA、Mには第7図に
示すように各種記憶部を割り当てる。ELMは要素設定
記憶部であり、プロセス入用カインターフエイス装置f
kPIoの入力回路と同数の単位要素記憶部ESMI、
  88M2.・・・・・・。
Each of the processing means STM, THM, and PBM will be explained in detail below. Note that each of these processing means EITM,
When executing THM and PBM, various storage units are allocated to RA and M as shown in FIG. ELM is an element setting storage unit, and is an interface device for process use.
The same number of unit element storage units ESMI as the input circuits of kPIo,
88M2. .......

ESMiを備え、各記憶部EEIMI、ESM2゜・・
・・・・、ESMiはフロセス入出力インターフェイス
装置PIOの入力謙1路のそれぞれに対応させである。
Equipped with ESMi, each storage section EEIMI, ESM2゜...
..., ESMi correspond to each of the input terminals of the processor input/output interface device PIO.

各単位要素記憶部ESMI、  88M2.・・・・・
・、ESMiの各々は、更に、要素、すなわちレベル要
素、立上がりエツジ要素、立下がりエツジ要素、立上が
りタイマ要素、立下がりタイマ要素のいずれかを設定記
憶する。TCMは一時状態記憶部であり、こ汎はプロセ
ス入出力インターフエイス装置P工Oの入力回路と同数
の単位記憶部TOMI、TC!M2. ・・・・・、T
CMmを備え各記憶部はこの入力回路のそれぞれに対応
させである。
Each unit element storage unit ESMI, 88M2.・・・・・・
, ESMi further sets and stores any of the following elements: level element, rising edge element, falling edge element, rising timer element, and falling timer element. TCM is a temporary state memory unit, which has the same number of unit memory units TOMI, TC! as the input circuits of the process input/output interface device P/O. M2. ......,T
CMm, and each memory section corresponds to each of the input circuits.

単位記憶部TOMI、TOM2. ・=・、TOMmの
各々は、更に、対応する入出力N路に接続された入出力
機器の状態情報を記憶する記憶部Maと、タイマ経過値
を記憶する記憶部Mbとからなる。
Unit storage units TOMI, TOM2. .=., each TOMm further includes a storage section Ma that stores status information of input/output devices connected to the corresponding input/output N path, and a storage section Mb that stores timer elapsed values.

なお、この場合、対応する入出力回路がタイマ要素とし
て認識されない場合には、当該記憶部の記憶部Mbは使
用感ねない。TMは状態記憶部であり、これは多数の単
位状態記憶部TMI、TM2゜・・・・・・、TMnか
らなり、この各単位状態記憶部TMl、TM2.−・・
−、TMnは一時状態記憶部TCMと同一構成で、これ
に更に出力状態を記憶する記憶部OUTを有する構成と
しである。これら各単位状態記憶部TMI、TM2.・
・・・・、TMnは運転者による手動模擬操作時におい
て、出力機器に状態変化が起こる度毎に、当該時点にお
ける対応する入出力機器の状!P3情報等を111次記
憶する。
In this case, if the corresponding input/output circuit is not recognized as a timer element, the storage section Mb of the storage section does not feel usable. TM is a state storage section, which consists of a large number of unit state storage sections TMI, TM2゜..., TMn, and each unit state storage section TMl, TM2 . −・・
-, TMn has the same structure as the temporary state storage section TCM, and further includes a storage section OUT for storing the output state. Each of these unit state storage units TMI, TM2 .・
..., TMn is the state of the corresponding input/output device at that time every time a state change occurs in the output device during manual simulation operation by the driver! P3 information etc. are stored 111 times.

BBAD、  EADP、  TOMP、  TMP、
  0UTPはプログラムを処理実行するに当り、予め
RAMの所定アドレスに設定した各種記憶部である。
BBAD, EADP, TOMP, TMP,
0UTP is various storage units that are set in advance to predetermined addresses in the RAM when executing the program.

以下、第7図を参照し、第6図にステップ6e。Hereinafter, referring to FIG. 7, step 6e is shown in FIG.

6f、6gで示した、要素設定処理手段STM、教示処
理手段THM、再生処理手段PBMの各々につき詳細に
説明する。
Each of the element setting processing means STM, teaching processing means THM, and reproduction processing means PBM indicated by 6f and 6g will be explained in detail.

第8図は要素設定処理手段STMを示すフローチャート
であり、当該手段STMは起動さ九る七、1ずステップ
8aで要素設定記憶部ESMをクリアする。次に、ステ
ップ8bで要素設定する入力機器のアドレスの入力を要
求する。操作員はこの要求に基づいてプログラム装置P
GMから所定のアドレスを入力する。
FIG. 8 is a flowchart showing the element setting processing means STM. When the means STM is activated, it first clears the element setting storage ESM in step 8a. Next, in step 8b, input of the address of the input device for element setting is requested. Based on this request, the operator
Enter the specified address from the GM.

本実施例の場合、この入力アドレスが予め定めた特定の
情報であることにより、当該手段STMの処理の終了を
判定することとしである。ステップ8cはこの判定処理
である。処理か終了でなけf′Lは、ステップ8bにて
入力したアドレス情報は、ステップ8dで、RAMの予
め定めたアドレスに設定した要素設定アドレス記憶部E
SADに一時格納する。続く、ステップ8θでは当該入
力機器の認識する要素を入力する。要素は前記したレベ
ル要素、立上りエツジ要素、立下りエツジ要素、立上り
タイマ要素、立下りタイマ要素のいすtかであり、本実
施例ではレベル要素を「L」、立上りエツジ要素をrE
UJ、立下りエツジ要素をrnD」、立上りタイマ要素
をrTUJ、立下りタイマ要素を「TD」として入力す
ることとしである。
In the case of this embodiment, the end of the processing of the means STM is determined based on the fact that this input address is predetermined specific information. Step 8c is this determination process. When the process is finished, the address information input in step 8b is stored in the element setting address storage section E set at a predetermined address in the RAM in step 8d.
Temporarily stored in SAD. Subsequently, in step 8θ, elements recognized by the input device are input. The elements are any of the above-mentioned level elements, rising edge elements, falling edge elements, rising timer elements, and falling timer elements, and in this embodiment, the level element is "L" and the rising edge element is rE.
The falling edge element is input as ``UJ'', the falling edge element as ``rnD'', the rising timer element as rTUJ, and the falling timer element as ``TD''.

したがって、操作員は予め決定した要素に基づき、rL
J、rEUJ、rEDJ、  rTUJ、  rTDJ
のいずれかをプログラム装[PGMのキーKBにより入
力する。ステップ8fではこの入力さ力た要素情報を要
素設定アドレス記憶部E EI A DK記憶したアド
レスと対応するアドレスの単位要素記憶部BSMI、E
EIM2.・・・・・・、FiSMiに記憶し、処理を
ステップ8bK柊す。以後はステップ8b、’8c、 
 8d、  8e、  8fを繰り返し、プロセス入出
力インターフエイス装置P工OK接続した所望の入力機
器に所望の認識する要素を設定する。これを第4図の各
入力機器す、  c、  dについて言えは、次の通り
となる。すなわち、自動モード人力すはレベル要素であ
ることからrLJか設定され、運転開始釦入力Cは立上
りタイマ要素であることがらrTUJが設定され、リミ
ット人力dは立下りエツジ要素であることがらrEDJ
が設定される。
Therefore, based on predetermined factors, the operator
J, rEUJ, rEDJ, rTUJ, rTDJ
Input one of the following on the program device [PGM key KB]. In step 8f, this inputted element information is stored in the element setting address storage section EEI A DK, and in the unit element storage section BSMI, E of the address corresponding to the stored address.
EIM2. . . . is stored in FiSMi, and the processing is performed in step 8bK. After that, steps 8b, '8c,
Repeat steps 8d, 8e, and 8f to set the desired recognition element to the desired input device connected to the process input/output interface device P. The following can be said about each input device (i), (c), (d) in Fig. 4. That is, rLJ is set because the automatic mode manual input is a level element, rTUJ is set because the operation start button input C is a rising timer element, and rEDJ is set because the limit manual input d is a falling edge element.
is set.

第1図は教示処理手段TI(Mを示すフローチャートで
あり、当該手段THMが起動さり、ると、まずステップ
1aでは一時状態記憶部TOM、状態記憶m’rM、 
およびボ(タンEADP、TOMP。
FIG. 1 is a flowchart showing the teaching processing means TI(M). When the means THM is activated, first, in step 1a, the temporary state memory TOM, the state memory m'rM,
and buttons (tan EADP, TOMP.

TMPを初期設定する。ポインタEADPは要素設定記
憶部ELMの各単位記憶部EEIMI、ESM2.・・
・・・、ESMiを順次走査指定するポインタであり、
ポインタTOMPは一時状態記憶部TCMの各単位記憶
部TOMI、TCM2. ・・・・・・。
Initialize TMP. Pointer EADP points to each unit memory unit EEIMI, ESM2 .・・・
. . . is a pointer that specifies sequential scanning of ESMi,
Pointer TOMP indicates each unit storage unit TOMI, TCM2 . .......

TOMmを順次走査指定するポインタであり、ポインタ
TMPは状態記憶部TMの各単位記憶部TMl、TM2
.・・・・・・、TMnを順次走査指定するポインタで
ある。これらポインタEADP、T。
This is a pointer that sequentially scans and specifies TOMm, and pointer TMP points to each unit storage unit TMl, TM2 of the state storage unit TM.
.. . . . is a pointer that specifies sequential scanning of TMn. These pointers EADP,T.

MP、TMPは第7図に示すようにRAMの予め設定し
たアドレスに配置する。各ポインタEADP、TOMP
、TMPの初期設定に当たっては、それぞれが対応する
記憶部BSM、TOM、TMの先頭アドレスを指定する
ようにする。続くステップ]bでは、当該教示処理が終
了したか否を判定する。これはブロクラム装[PGMに
配置したモード切替スイッチMの指示位置を読み取るこ
とによって判定する。終了でなければ、ステップICの
処理となる。このステップにおいては、プロセス入出力
インターフエイス装置P工Oの入力回路に接続された入
力機器の状態を、これと対応する一時状態記憶部TOM
の各単位記憶部TOMI。
MP and TMP are placed at preset addresses in the RAM as shown in FIG. Each pointer EADP, TOMP
, TMP, the start addresses of the corresponding storage units BSM, TOM, and TM are specified. In the subsequent step] b, it is determined whether the teaching process has ended. This is determined by reading the indicated position of the mode changeover switch M arranged on the block diagram PGM. If the process is not completed, the process goes to step IC. In this step, the state of the input device connected to the input circuit of the process input/output interface device P is stored in the corresponding temporary state storage unit TOM.
Each unit storage unit TOMI.

TOM2.・・・・・・、TOMmに1111次記憶す
る。これの記憶に際しては、要素設定記憶部B8MK設
定記憶した要素を参照する。
TOM2. ......, 1111th order is stored in TOMm. When storing this, the elements whose settings have been stored in the element setting storage section B8MK are referred to.

第9図はこのステップICで示した入力状態取込手段1
00Rを示すフローチャートであり、以下このフローチ
ャートについて説明する。当該手段工OCRが起動され
ると、壕ずステップ9aで要素設定アドレスポインタP
ADPで指定するアドレスの内容を読み取る。続く、ス
テップ9b。
FIG. 9 shows the input state acquisition means 1 shown in this step IC.
This is a flowchart showing 00R, and this flowchart will be explained below. When the OCR is activated, the element setting address pointer P is set in step 9a.
Reads the contents of the address specified by ADP. Next, step 9b.

9ci、9dでこの読み取った内容がレベルrLJか、
エツジrEJか、タイマITJかを判定する。
Is the content read by 9ci and 9d level rLJ?
Determine whether it is edge rEJ or timer ITJ.

レベルrLJならは、処理をステップ9eに移し、エツ
ジrEJならは、処理をステップ9tK移し、タイマI
TJならば、処理をステップ9gに移す、ステップ9e
で示すレベル処理手段LVLでは、第10図に示すよう
に、そのステップ10aで対応するアドレスの入力機器
の状態を読み取る。ステップ10bで、この状態がON
か、OFF’かを判定し、ONならはステップ10Cで
ポインタTOMPで指定する一時状態記憶部TOMの単
位記憶部TOM1.TCM2. ・・・・・・、TOM
m4C”l’を記憶し、OFFならはステップ10dで
ポインタTOMPで指定する一時状態記憶部TOMの単
位記憶部TOMI、TOM2.−.TOMmに0″を記
憶して、当該レベル処理手段LVLの処理を終了する。
If the level is rLJ, the process moves to step 9e, and if the level is rEJ, the process moves to step 9tK, and the timer I
If TJ, move the process to step 9g, step 9e
As shown in FIG. 10, the level processing means LVL shown in FIG. 10 reads the state of the input device at the corresponding address in step 10a. In step 10b, this state is ON.
or OFF', and if it is ON, in step 10C, the unit memory TOM1. of the temporary state memory TOM specified by the pointer TOMP is stored. TCM2. ......, TOM
m4C"l" is stored, and if it is OFF, in step 10d, 0" is stored in the unit storage units TOMI, TOM2.-.TOMm of the temporary state storage unit TOM specified by the pointer TOMP, and the processing of the level processing means LVL is performed. end.

第11図はステップ9fで示すエツジ処理手段EDGの
70−チャートである。
FIG. 11 is a 70-chart of the edge processing means EDG shown in step 9f.

当該処理手段EDGは、1ずステップllaで要素設定
アドレスポインタEADPで指定するアドレスの内容を
読み取る。続くステップllbで当該要素が立上りエツ
ジ要素か否かを判定する。これが立上りエツジ要素であ
れは、ステップllcで当該立上りエツジの変化の有無
を判定する。そして、立上りエツジに変化かあれは、ス
テップ’11dでポインタTOMPで指定する一時状態
記憶部TOMの単位記憶部TCM1.TOM2.・・・
・・・。
The processing means EDG first reads the contents of the address specified by the element setting address pointer EADP in step lla. In the following step llb, it is determined whether the element in question is a rising edge element. If this is a rising edge element, it is determined in step llc whether or not the rising edge has changed. Then, if there is a change in the rising edge, the unit storage unit TCM1. of the temporary state storage unit TOM specified by the pointer TOMP is determined in step '11d. TOM2. ...
....

TOMmK”l”を記憶し、立上りエツジに変化がなけ
れは、ステップlieでポインタTCiMPで指定する
一時状態記憶部TCMの単位記憶部TCMI、TCM2
.−.TC!Mm[”O’をd己憶する。ステップ1l
klの判定で、立上りエツジ要素でなけhば、当該要素
は文下りエツジ要素であり、ステップIlfで当該立下
りエツジの変化の有無を判定する。そして、立下りエツ
ジに変化があnH、ステップl1gでポインタTOMP
で指定する一時状態記憶部TOMの単位記憶部T。
TOMmK"l" is stored, and if there is no change in the rising edge, the unit storage units TCMI and TCM2 of the temporary state storage unit TCM specified by the pointer TCiMP are stored in step lie.
.. −. TC! Mm["O' is memorized. Step 1l
In the determination of kl, if h is not a rising edge element, the element is a falling edge element, and in step Ilf it is determined whether or not there is a change in the falling edge. Then, when the falling edge changes anH, the pointer TOMP is set at step l1g.
The unit storage unit T of the temporary state storage unit TOM specified by .

Ml、   TOM2. −−、   TOMmI/C
I′ 1  ” をi己1意し、立下りエツジに変化か
なければ、ステップ11hでポインタTC!MPで指定
する一時状態記憶部TOMの単位記憶部TCMI、TO
M2.・・・・・。
Ml, TOM2. --, TOMmI/C
I′ 1 ” is set to 1 and if it does not change to a falling edge, in step 11h, the unit storage units TCMI, TO of the temporary state storage unit TOM specified by the pointer TC!MP are stored.
M2.・・・・・・.

TOMmK”O’を記憶して当該エツジ処理手段EDG
の処理を終了する。第12図はステップ9gで示すタイ
マ処理手段TMRの70−チャートである。当該処理手
段TMRは、1ずステップ12aで要素設定アドレスポ
インタEADPで指定するアドレスの内容を読み取る。
TOMmK"O" is stored and the corresponding edge processing means EDG
Terminates the process. FIG. 12 is a 70-chart of the timer processing means TMR shown in step 9g. The processing means TMR first reads the contents of the address specified by the element setting address pointer EADP in step 12a.

続くステップ12bで当該要素が立上りエツジタイマ要
素か否かを判定する。これが立上りエツジタイマ要素で
あれは、ステップ12cで当該文士すエツジの変化の有
無を判定する。そし7て、立上りエツジに変化があれは
、ステップ12(iでポインタTOMPで指定する一時
状態記憶部TOMの単位記憶部TOM1、TOM2.・
・・・・・、TOMmのタイマ経過値エリアMbをリセ
ットする。立上りエツジに変化がなけれは、ステップ1
2eで尚該タイマ経過値エリアMbがリセット敢みか否
かを判定する。リセット済みであれは、ステップ゛12
fで当6亥タイマ経過値エリアMbの値を“+1#だけ
更新する。
In the following step 12b, it is determined whether the element in question is a rising edge timer element. If this is a rising edge timer element, it is determined in step 12c whether or not the literary edge has changed. 7. If there is a change in the rising edge, step 12 (in step i, the unit storage units TOM1, TOM2, etc. of the temporary state storage unit TOM specified by the pointer TOMP are
..., resets the timer elapsed value area Mb of TOMm. If there is no change in the rising edge, step 1
In step 2e, it is determined whether or not the timer elapsed value area Mb is intended to be reset. If it has already been reset, go to step 12.
At f, the value of the current timer elapsed value area Mb is updated by "+1#".

リセット済みでなけハは、ステップ12fを実行するこ
とな(当該処理を終了する。ステップ12bで当該要素
が立上りエツジタイマ要素でなけれは、とハは立下りエ
ツジタイマ要素であることから、ステップ12gに処理
を移す。ステップ12gでは当該立下りエツジの変化の
有無を判定する。
If the element has not been reset, do not execute step 12f (end the process).If the element in step 12b is not a rising edge timer element, then proceed to step 12g since C is a falling edge timer element. In step 12g, it is determined whether or not there is a change in the falling edge.

そして、立下りエツジに変化があわは、ステップ12h
でポインタTOMPで指定する一時状態記憶部TOMの
単位記憶部TOMI、TOM2.・・・・・・、TC!
Mmのタイマ経過値エリアMbをリセットする。立下り
エツジに変化がなけれは、ステップ121で当該タイマ
経過値エリアMbがリセット済みか否かを判定する。リ
セット済みであi″Lは、ステップ12jで尚該タイマ
経過値エリアMbの値を“+1Mだけ更新する。リセッ
ト済みでなけれは、ステップ12jを実行することなく
当該処理をν了する。
Then, if there is a change in the falling edge, step 12h
unit storage units TOMI, TOM2 . of the temporary state storage unit TOM specified by the pointer TOMP. ......TC!
Reset the timer elapsed value area Mb of Mm. If there is no change in the falling edge, it is determined in step 121 whether the timer elapsed value area Mb has been reset. If i''L has already been reset, the value in the timer elapsed value area Mb is updated by +1M in step 12j. If the reset has not been completed, the process ends without executing step 12j.

第9図のステップ9b、9c、9dの判定に基つき、2
テップ9c、9f、9gの内の19r足の処理が終了す
ると、次のステップ9hによりポインタEADP、TO
MPff:史新する。続くステップ91により、ホイン
タEADPO値が要素設定記憶部ESMのアドレスを全
て走査指定したか否かを判定し、否であfLは処理をス
テップ9aに戻し、以上の処理をくりかえす。そして、
要素設定記憶部ESMのアドレスを全て走査指定すると
、当該処理は終了する。
Based on the determinations in steps 9b, 9c, and 9d in FIG.
When the processing of 19r bars in steps 9c, 9f, and 9g is completed, the pointers EADP and TO are set in the next step 9h.
MPff: History is new. In the subsequent step 91, it is determined whether the pointer EADPO value has scanned and specified all the addresses in the element setting storage section ESM, and if not, fL returns the process to step 9a and repeats the above process. and,
When all addresses in the element setting storage unit ESM are scanned and specified, the process ends.

以上の処理が終了すると、その処理は第1図に戻り、ス
テップ1dの実行となる。このステップ1dは手動出カ
バターンの読み込み、すなわちプロセス入出力インター
フエイス装置P工Oの出力回路に接続した出力機器の状
態を読み込む。そして、ステップ1θで当該出力機器の
状態の変化の有無を判定する。これは前回、記憶部0U
TPに記憶した内容と今(ロ)読み込んだ内容とを比較
することにより行なう。この結果、変化がなけれは、処
理をステップlbに戻し、以上の処理を繰り返す。変化
が6iは、ステップ1fで今回取り込んだ内容、すなわ
ちON、OFF″状態を記憶地OUTPに書き込む。そ
して、次のステップIgで一時状態記憶部TOM、及び
手動出カバターン記憶部0UTPO記憶内容を、ポイン
タTMPの差し示す単位状態記憶部TMI、TM2.・
・・・・・、  TMnK記憶登録する。絖〈ステップ
1hで、単位状態記憶部TMI、TM2.・・・・・・
、TMnを順次走査指定するポインタTMPを、当該ポ
インタTMPが次の単位状態記憶部TMI、TM2.・
・・・・・。
When the above processing is completed, the processing returns to FIG. 1, and step 1d is executed. This step 1d reads the manual output pattern, that is, reads the status of the output device connected to the output circuit of the process input/output interface device P/O. Then, in step 1θ, it is determined whether there is a change in the state of the output device. This was last time, storage unit 0U
This is done by comparing the contents stored in the TP with the contents just read. As a result, if there is no change, the process returns to step lb and the above process is repeated. When the change is 6i, in step 1f, the contents captured this time, that is, the "ON, OFF" status, are written to the memory location OUTP.Then, in the next step Ig, the contents of the temporary state memory TOM and the manual output pattern memory 0UTPO are written as Unit state storage units TMI, TM2.・pointer TMP points to
..., TMnK memory registration.絖〈In step 1h, unit state storage units TMI, TM2 .・・・・・・
, TMn, and the pointer TMP sequentially scans and specifies the next unit state storage unit TMI, TM2 .・
・・・・・・.

TMnを指定するように更新する。ステップ11では、
ポインタTMPが状態記憶部TMを超過指定したか否か
を判定し、超過していなけれは処理をステップ1bに戻
し、以上の処理を繰り返す。
Update to specify TMn. In step 11,
It is determined whether the pointer TMP has specified an excess of the state storage section TM, and if it has not exceeded the specified value, the processing returns to step 1b and the above processing is repeated.

超過したならば、ステップ1jで異常出力を発生し処理
を終了する。前記の繰り返し処理において、ステップ1
bで教示終了となったら、当該手段THMの処理を終了
する。
If it exceeds the limit, an abnormal output is generated in step 1j and the process is terminated. In the above iterative process, step 1
When the teaching is completed in step b, the processing of the means THM is ended.

以上の教示処理手段THMの実行により、出力機器の状
態変化時点における各入出力機器の各時点の状態情報が
、状態記憶sTMの各単位状態記憶部TMI、TM2.
・・・・・・、TMnに順次配1意される。これを第4
図を参照して説明すれは、次の通りとなる。すなわち、
手動式カバターンとなる台車移動出力aは時間TI、T
2.T3.T4で状態が変化する。したがって、時間T
Iにおける当該出力a、及び各人力す、  c、  d
の情報は単位情報記憶部TMIに記憶され、時間T2に
おける当該出力a、及び各人力す、  c、  dの情
報は単位情報記憶部TM2に記憶され、時間T3.T4
における当該出力a、及び各人力す、  c、 aの情
報は単位情報記憶部TM3.TM4に記憶される。
By executing the teaching processing means THM as described above, the state information of each input/output device at each time point at the time of state change of the output device is stored in each unit state storage unit TMI, TM2 .
. . . are sequentially assigned to TMn. This is the fourth
The explanation will be as follows with reference to the figures. That is,
The trolley movement output a that becomes a manual cover turn is time TI, T.
2. T3. The state changes at T4. Therefore, time T
The relevant output a in I, and each person's power, c, d
The information on the output a at time T2 and the information on each person's power, c, d is stored in the unit information storage section TM2, and the information on the output a at time T2 is stored in the unit information storage section TM2. T4
The output a and the information on each person's output a, c, and a are stored in the unit information storage unit TM3. Stored in TM4.

なお、第4図に示すTDI、TD2.TD3は入力Cに
対応する記憶部のタイマ経過値エリアMbに記憶さねる
タイマ経過値である。
Note that TDI, TD2. TD3 is a timer elapsed value stored in the timer elapsed value area Mb of the storage unit corresponding to the input C.

第13図は再生処理手段PBMを示すフローチャートで
あり、当該手段PBMが起動されると、まずステップ1
3aで一時状態記憶部T OM、及びポインタKADP
、TOMP、TMPを初期段別する。次に、ステップ1
3bで当該再生処理の終了を判定する。これは、例えは
プログラム装置BGMに配置したモード切替スイッチM
の状態を、23 。
FIG. 13 is a flowchart showing the regeneration processing means PBM. When the regeneration processing means PBM is started, first step 1 is performed.
3a, temporary state memory TOM and pointer KADP
, TOMP, and TMP are initialized. Next, step 1
In step 3b, it is determined whether the reproduction process is finished. This is, for example, a mode changeover switch M placed in the program device BGM.
The state of 23.

読み取ることによって判定する。判定の結果、再生終了
でなけれは、ステップ13cを実行する。
Determine by reading. If the result of the determination is that the reproduction has not ended, step 13c is executed.

当該ステップは、第9図に示す前記した入力状態取込手
段100Rの実行である。これKより、当該時点におけ
る各入力機器の状態情報を一時記憶部TCMに記憶する
。続くステップ13(1においては、ステップ13cで
取り込んだ一時記憶部TCMにおける各入出力機器の状
態情報と、ポインタTMPが差し示す単位状態記憶部T
MI、TM2、・・・・・・、TMnの対応する記憶部
との内容を順次比較し、その一致を判定する。これが一
致しなけれは、処理をステップ13bに戻し以上の処理
を繰り返す。;lニジて、ステップ13cにより一時記
憶部TOMの内容を順次更新する。ステップ13bで一
時記憶部TOMにおける各入出力機器の状態情報と、ポ
インタTMPが差し示す単位状態記憶部TMI、TM2
.・・・・・・、TMnの対応するd己憶部どの内容が
一致すると、ステップ13eでポインタTMPが差し示
す単位状態記憶部TMI。
This step is the execution of the above-described input state capturing means 100R shown in FIG. From this K, the status information of each input device at the relevant time point is stored in the temporary storage unit TCM. In the following step 13 (1), the status information of each input/output device in the temporary storage unit TCM imported in step 13c and the unit status storage unit T pointed to by the pointer TMP are stored.
The contents of MI, TM2, . If they do not match, the process returns to step 13b and the above process is repeated. ; Then, in step 13c, the contents of the temporary storage unit TOM are sequentially updated. In step 13b, the status information of each input/output device in the temporary storage unit TOM and the unit status storage units TMI and TM2 pointed to by the pointer TMP are stored.
.. . . . If the contents of the corresponding self-memory section of TMn match, the unit status memory section TMI pointed to by the pointer TMP goes to step 13e.

7M2.・・・・・・、TMnK記憶芒記憶−る出力パ
タ、24゜ −ン情報を出力し、対応する出力機器を制御操作する。
7M2. . . . Outputs the output pattern and 24° information stored in the TMnK memory, and controls and operates the corresponding output device.

ステップ13fでは、単位状態記憶部TM1.7M2.
・・・・・・、TMnを順次走査指定するポインタTM
Pを、当該ポインタTMPが次の単位状態記憶部TMI
、TM2.・・・・・・、TMnを指定するように更新
した後、処理をステップ131)に戻し、次の出力に備
える。以後、上記処理を繰り返し実行し、一時状態記憶
部TMに記憶した内容に基づいて制御対象を所望の状態
に制御操作する。
In step 13f, unit state storage units TM1.7M2.
......, pointer TM that specifies sequential scanning of TMn
P, the pointer TMP is the next unit state storage unit TMI
, TM2. After updating to specify TMn, the process returns to step 131) to prepare for the next output. Thereafter, the above process is repeatedly executed to control the control object to a desired state based on the contents stored in the temporary state storage section TM.

以上のように構成した実施例の装置の操作に当たっては
、1ずプログラムktpaMのモード切替スイッチMを
要素設定モードに切り変え、プロセス入出力インターフ
エイス装置P工OK接続した所望の入力機器に所望の認
識する要素を設定する。次に、プログラム装置PGMの
モード切替スイッチMを教示処理モードに切り変え、制
御対象を手製運転する。これにより、本装置はその運転
状態を順次記憶部に記憶する。絖いて、プログラム装[
PGMのモード切替スイッチMを再生処理モードに切り
変え、目′1ilJ運転を行なうことにより、前回行な
った手動運転が忠実に再現される。すなわち、実施例の
ように構成すflは、手@操作における制御形態をjl
に1次記を依し、これを再生することによって制御対象
を自動で制御できることは勿論、制御対象の手動操作時
にステップ1eで示される検出手段が出力機器の状態変
化を常時監視し、これに変化かあった場合にのみ各種入
出力機器の状態を記憶する。したがって、制御対象の一
連の動作の記憶に際し記憶部の記憶各号は極めて小さく
なる。
To operate the apparatus of the embodiment configured as described above, first, switch the mode selector switch M of the program ktpaM to the element setting mode, and select the desired input device connected to the process input/output interface device P. Set the elements to be recognized. Next, the mode selector switch M of the program device PGM is switched to the teaching processing mode, and the controlled object is operated manually. As a result, the device sequentially stores its operating state in the storage section. In addition, the program installation [
By switching the mode selector switch M of the PGM to the regeneration processing mode and performing the first 1ilJ operation, the previous manual operation can be faithfully reproduced. In other words, fl configured as in the example changes the control form in hand@operation to jl
By reproducing this information, it is possible to automatically control the controlled object, and when the controlled object is manually operated, the detection means shown in step 1e constantly monitors the state change of the output device, and The status of various input/output devices is memorized only when there is a change. Therefore, when storing a series of operations of a controlled object, each item stored in the storage section becomes extremely small.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によりは、手動
操作における制御形態をl11m次記憶し、こhを再生
することによって制御対象を自動?ff1J御でき、し
かもより少ない容量の記1.1部で、手動慄作を記憶、
II+生ずることのできる自wA記憶・再生装置を侍る
ことができる。
As is clear from the above description, according to the present invention, the control mode for manual operation is stored in the 11mth order, and the controlled object is controlled automatically by reproducing the 11mth order. You can control ff1J and have a smaller capacity. 1.1 copy allows you to memorize manual operations,
II+ can serve its own wA storage/reproduction device.

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

第1図は本発明の一実施例を示す教示処理+捩を示すフ
ローチャート、第2図は?ttlJm対象の一例を示す
天井クレーンの概略図、第3図は第2図に示す天井クレ
ーンの運転状況を示すタイムチャート、第4図は各抽入
出力信号を示すタイムチャート、第5図は本発明の一実
施例を示すフロック図、第6図は全体の処理動作の一例
を示すフローチャート、第7図は記憶部の構成を示す図
、第8図は要素設定処理手段の一例を示すフローチャー
ト、第9図は入出力状態取込手段の一例を示すフローチ
ャート、第10図はレベル処理手段の一例を示すフロー
チャート、第11図はエツジ処理手段の一例を示すフロ
ーチャート、第12図はタイマ処理手段の一例を示すフ
ローチャート、第13図は再生処理手段の一例を示すフ
ローチャートである。 TM:状態記憶手段、M:切替手放、Id、1θ:検出
手段、THM:教示処理手段、13c、13d:状態判
定手段、PBM:丹生処理手表代理人  弁理士 小 
 川  勝  男、27 。 $1図 、28 。 算 2 図 $ 6 図 耐 厨 ζ、     Qへ
Fig. 1 is a flowchart showing teaching processing + twisting according to an embodiment of the present invention, and Fig. 2 is a flowchart showing teaching processing + twisting according to an embodiment of the present invention. A schematic diagram of an overhead crane showing an example of ttlJm target, Figure 3 is a time chart showing the operating status of the overhead crane shown in Figure 2, Figure 4 is a time chart showing each extraction output signal, and Figure 5 is a time chart showing the operating status of the overhead crane shown in Figure 2. FIG. 6 is a flowchart showing an example of the overall processing operation; FIG. 7 is a diagram showing the configuration of the storage unit; FIG. 8 is a flowchart showing an example of the element setting processing means; FIG. 9 is a flowchart showing an example of the input/output status capturing means, FIG. 10 is a flowchart showing an example of the level processing means, FIG. 11 is a flowchart showing an example of the edge processing means, and FIG. 12 is a flowchart showing an example of the timer processing means. Flowchart showing an example. FIG. 13 is a flowchart showing an example of the reproduction processing means. TM: state storage means, M: switching release, Id, 1θ: detection means, THM: teaching processing means, 13c, 13d: state determining means, PBM: Niu processing hand representation patent attorney small
Katsuo Kawa, 27. $1 Figure, 28. Calculation 2 Figure $ 6 Figure resistance ζ, go to Q

Claims (1)

【特許請求の範囲】[Claims] 制御対象の状態を2値状態で検出する入力機器からの2
値信号を入力する入力部と、前記制御対象を2値状態で
制御操作する出力機器に2値信号を出力する出力部を備
え、記憶部に予め記憶した前記入力機器の2値条件に応
じて前記出力機器を所定の状態に制御操作するシーケン
ス制御装置において、前記入力機器の状態情報を、少な
くとも任意の1つの入力機器については当該機器の状態
変化時点からの時間経過情報と共に記憶する単位状態記
憶部を多数備えた状態記憶手段と、前記制御対象を手動
・自動操作指定する切替手段と、当該切替手段からの手
動操作指定情報に基づいて前記出力機器の状態変化を検
出する検出手段を備え、当該検出手段からの変化検出情
報の各々に応答し、当該各時点における前記入力機器の
2値状態情報とを、少なくとも前記任意の入力機器につ
いては時間経過情報と共に前記状態記憶手段の各単位状
態記憶部に順次記憶する教示処理手段と、前記切替手段
からの自動操作指令情報に基づいて、前記入力機器の状
態を逐次検出し、各時点における前記入力機器の状態を
前記各単位状態記憶部の対応する記憶内容と比較しこれ
らの一致を検出する状態判定手段を備え、当該判定手段
の一致検出に応答して当該単位状態記憶部に記憶した前
記出力機器に対する情報に基づいて前記出力機器を制御
操作する再生処理手段とを具備して成る自動教示・再生
装置。
2 from an input device that detects the state of the controlled object in binary state.
an input section for inputting a value signal; and an output section for outputting a binary signal to an output device that controls and operates the controlled object in a binary state, and according to binary conditions of the input device stored in advance in a storage section. In a sequence control device that controls the output device to a predetermined state, a unit state memory stores state information of the input device, for at least one arbitrary input device, together with time elapsed information from the time when the state of the device changes. a state storage means having a large number of units, a switching means for specifying manual/automatic operation of the control target, and a detection means for detecting a change in the state of the output device based on manual operation specification information from the switching means, In response to each piece of change detection information from the detection means, binary state information of the input device at each point in time is stored in each unit state memory of the state storage means together with time elapsed information for at least the arbitrary input device. The state of the input device is sequentially detected based on the teaching processing means sequentially stored in the unit and the automatic operation command information from the switching means, and the state of the input device at each point of time is stored in the corresponding unit state storage section. comprising a state determining means for comparing the stored contents with the stored contents and detecting a match, and controlling the output device based on the information for the output device stored in the unit state storage section in response to the coincidence detection by the determining means. An automatic teaching/reproducing device comprising a reproducing processing means.
JP6410886A 1986-03-24 1986-03-24 Automatic teaching and reproducing device Pending JPS62221705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6410886A JPS62221705A (en) 1986-03-24 1986-03-24 Automatic teaching and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6410886A JPS62221705A (en) 1986-03-24 1986-03-24 Automatic teaching and reproducing device

Publications (1)

Publication Number Publication Date
JPS62221705A true JPS62221705A (en) 1987-09-29

Family

ID=13248550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6410886A Pending JPS62221705A (en) 1986-03-24 1986-03-24 Automatic teaching and reproducing device

Country Status (1)

Country Link
JP (1) JPS62221705A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56114685A (en) * 1980-02-06 1981-09-09 Hitachi Ltd Method and device for instructing course of moving body
JPS5837563A (en) * 1981-08-24 1983-03-04 Honda Motor Co Ltd Gas rate sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56114685A (en) * 1980-02-06 1981-09-09 Hitachi Ltd Method and device for instructing course of moving body
JPS5837563A (en) * 1981-08-24 1983-03-04 Honda Motor Co Ltd Gas rate sensor

Similar Documents

Publication Publication Date Title
EP0205975B1 (en) Industrial robot having a device for teaching a motor-driven arm with variable servo-control
JPH085018B2 (en) Remote manipulation method and apparatus
WO2002078913A1 (en) An industrial robot
JPS62221705A (en) Automatic teaching and reproducing device
JP2019171498A (en) Robot program execution device, robot program execution method and program
JPS63257807A (en) Robot control device
NO304182B1 (en) Procedure for controlling a crane engine
JP7152180B2 (en) system for operating equipment
JP2642745B2 (en) Industrial robot
TW202017625A (en) Training processing device, mediation device, training system, and training process method
JPH03104201U (en)
JPH0577179A (en) Industrial robot
JP3378545B2 (en) Operation plan determination device, operation plan determination method, recording medium recording operation plan determination program, and recording medium recording operation plan data
JP2731166B2 (en) Programmable controller
JP3263819B2 (en) Portable teaching device
JPH0969007A (en) Multi-robot reproduction control system
JPH08328793A (en) Machine controller
Slutzky et al. Vision guided intelligent robot design and experiments
JPH06250729A (en) Multiple robot controller teaching system
JP2519867B2 (en) Differentiating device for controller for construction machine actuator
JPS644498U (en)
JPH06296767A (en) Control device for stage mechanism
JP2793189B2 (en) Image display device and image display method
JPH0635163Y2 (en) Control system switching device for automatic operation scheduler
JPH0456321B2 (en)