JPS60132206A - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JPS60132206A
JPS60132206A JP24024183A JP24024183A JPS60132206A JP S60132206 A JPS60132206 A JP S60132206A JP 24024183 A JP24024183 A JP 24024183A JP 24024183 A JP24024183 A JP 24024183A JP S60132206 A JPS60132206 A JP S60132206A
Authority
JP
Japan
Prior art keywords
output
program
condition
input
sequence
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.)
Granted
Application number
JP24024183A
Other languages
Japanese (ja)
Other versions
JPH0682284B2 (en
Inventor
Shinji Kaino
甲斐野 真次
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP24024183A priority Critical patent/JPH0682284B2/en
Publication of JPS60132206A publication Critical patent/JPS60132206A/en
Publication of JPH0682284B2 publication Critical patent/JPH0682284B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23283Debugging, breakpoint

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To execute an actual working debug by storing an input signal address, etc., when generating a sequence program, reading the contents of this address, and using them as a start condition of a sequence step. CONSTITUTION:A flag of a memory address prescribed in advance in accordance with a condition unit No. is set or reset in advance. By a teaching program, the contents of a condition address group are displayed at every step No., and if an addition and a change are required, an operator executes the addition and the change at every step No. By a play pack processng program, the advance processing is executed at every one step, information of the step No. and the contents of said condition address group are compared, and if they coincide with each other, the processing as per the teaching is executed. If they are different from each other. Its step is not advanced, other processing program is executed, and thereafter the processing is returned to this program, and the comparison is repeated again.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は生産設備等の自動機の制御に用いられルンーケ
ンスコントローラに関するものである。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF INDUSTRIAL APPLICATION The present invention relates to a runx controller used for controlling automatic machines such as production equipment.

従来例の構成とその問題点 従来のノットウェアに依存するシーケンスコン 1トロ
ーラに(d1大別して回路図方式と動作図方式とがあジ
、回路図方式には、リレーシンボル式とロジックシンボ
ル式等があり、動作図方式には。
The configuration of the conventional example and its problems A sequence controller that relies on conventional notware (d1) can be roughly divided into a circuit diagram method and an operation diagram method. There is a motion diagram method.

・ フローチャート式等があるが、いづれにしてもシー
ケンス・プログラム作成に際し回路図及び動作図等の表
記図を構成する為の各種シンボルや信号系統の扱いに関
する表記法と、表記図から各専用命令語に置換する為の
コーディング法等の高度な専門的知識の習得を必要とす
る。又条件処理と出力処理に際し作業者は、条件の組み
合わせと出力の組み合わせを充分検討して1点1点選び
出し設定しなければならず、さらに複雑な制(財)の場
合等2前後多数の系統の条件と出力の流れを考慮して設
定した内容と他との相互干渉が生じない様工夫しなけれ
ばならない。又従来の7−ケンス・コントローラは、プ
リセント主体のプログラム作成方式である為に初期プロ
グラムに欠陥があるか否かけ。
・There are flowchart formats, etc., but in any case, when creating a sequence program, there is a notation method for handling various symbols and signal systems to construct notation diagrams such as circuit diagrams and operation diagrams, and each dedicated command word from the notation diagram. It is necessary to acquire advanced specialized knowledge such as coding methods to replace In addition, when processing conditions and outputs, the operator must carefully consider the combinations of conditions and outputs and select and set them one by one.Furthermore, in the case of complex systems, two or more systems must be used. It is necessary to take into account the conditions and output flow to avoid mutual interference between the set contents and other settings. In addition, since the conventional 7-ken controller uses a program creation method based on precents, it is difficult to determine if there are any defects in the initial program.

表記図やコーディングレベルでの検討をする机上デパッ
ク及び被制御対象とコントローラの結合後の実働デパッ
ク等でチニソクするが、机上デパックでは複雑なタイミ
ングや複雑な条件出力のからみの中から欠陥を抽出する
には自と限界があり、実働デパックでは、複数の欠陥が
複雑に関連している場合等、欠陥の解析に手間取る上、
一箇所の欠陥解消が他に複雑に影響を与え新たな欠陥を
生み出す恐れがあった。
This is done through desk depacking, which examines notation diagrams and coding levels, and actual depacking after the controlled object and controller are connected, but in desk depacking, defects are extracted from among complex timing and complicated conditional outputs. has its own limitations, and in actual Depack, it takes time to analyze defects, such as when multiple defects are intricately related, and
Eliminating defects in one area may have complex effects on other areas and create new defects.

以上の様に従来のシーケンス・コントローラでは、作業
者に高度な専門的知識と高度な判断力を伴なう繁雑な設
定作業及び欠陥解消の為に多大な労力と時間が要求され
る等の問題点があった。
As mentioned above, conventional sequence controllers have problems such as complicated setting work that requires highly specialized knowledge and judgment on the part of the operator, and a great deal of effort and time required to resolve defects. There was a point.

発明の目的 本発明は上記従来の問題点を解消するもので、シーケン
ス・コントローラの操作部を介して、シーケンス・プロ
グラムを作成する際にも、高度な専門的予備知識を必要
とせず、高度な判断力を伴なう繁雑な設定作業音なくし
て、プログラムの欠陥の発生を減少する為に、必要な条
件を被制御部から入出力部を介して自動的に読み込み起
動条件として設定記憶する条件処理手段と、関連する出
力を組み合わゼてひとつの動作とし、作業者の意図通り
の動作を入出力部を介して被制御部に対し実際に行なわ
せつつプログラムを作成する出力処理手段及びティーチ
ング手段と、ティーチング後に即時デパックを可能とす
るプレイバック手段を有する事を特徴とするシーケンス
コントローラを提供するものである。
Purpose of the Invention The present invention solves the above-mentioned problems of the conventional technology.It is an object of the present invention to solve the above-mentioned problems with the conventional technology. A condition that automatically reads necessary conditions from the controlled unit via the input/output unit and sets and stores them as startup conditions in order to reduce the occurrence of program defects without the noise of complicated setting operations that require judgment. Output processing means and teaching means that combine the processing means and related outputs to form a single operation, and create a program while actually causing the controlled unit to perform the operation intended by the operator via the input/output unit. The present invention provides a sequence controller characterized by having a playback means that enables immediate depacking after teaching.

発明の構成 本発明の目的を達成する為に、本発明のシーケンスコン
トローラは、シーケンス制御情報を入出力する操作部と
、被制御部からの入出力信号を処理する入出力部と、制
闘情報全シーケンス・ステップ毎に記憶するステップ情
報群記憶手段と、条件情報群とその現在状態情報とを記
1意する条件処理手段と、動作情報群を記憶するととも
に該当動作を実行する出力処理手段と、プログラム作成
をするティーチング手段と、ティーチング内容を再現実
行するプレイバック手段とからなり、この構成ニヨって
シーケンス・プログラムの作成に際し該当する入力信号
アドレス等をあらかじめ操作部より条件情報群としてプ
リセット記憶しておけば。
Structure of the Invention In order to achieve the object of the present invention, the sequence controller of the present invention includes an operation section for inputting and outputting sequence control information, an input/output section for processing input/output signals from a controlled section, and a control section for inputting and outputting sequence control information. step information group storage means for storing each step of the entire sequence; condition processing means for recording the condition information group and its current state information; and output processing means for storing the operation information group and executing the corresponding operation. , consists of a teaching means for creating a program, and a playback means for reproducing and executing the teaching content.This structure allows the input signal addresses, etc., to be preset and stored as a group of condition information from the operation unit in advance when creating a sequence program. If you do.

この条件情報群に基づき被測(財)部から入出力部を介
して自動で該当条件情報群各箇の現在状態情報を個別に
読み込み、各条件情報と対にして該当ステップの起動条
件として記憶する事により、高度な判断力を伴なう繁雑
な設定作業ケ必要としない効果を有する。又出力信号ア
ドレス等をあらかじめ操作部より動作情報群としてプリ
セット記憶しておけば、複合的な田方の組み合わせをひ
とつの動作として扱かう事が出来て、かつ入出力部を介
して被制御部に対して実動作を行なう事により、1ステ
ツプ毎の実働デパックが可能であるとともに前記条件処
理手段と同様の効果を有する。又前記条件処理及び出力
処理を繰り返えし用いてシーケンス・プログラム全作成
するティーチング手段と、ティーチングされたシーケン
ス・プログラムを再現実行するプレイバック手段は、操
作部からの指令により必要な条件を被測(財)部より入
出力部を介して自動的に読み込み、複合的な出力の組み
合わせをひとつの動作として扱かえ、作業者の意図通り
の動作を入出力部を介して被制御a1部に対して実際に
行なわせつつプログラムを作成し、即時デパックを可能
とする事により、高度な専門的予備知識全必要とせず、
高度な判断力を伴なう繁雑な設定作業を&<して、プロ
グラムの欠陥の発生を格段に減少出来る効果金有する。
Based on this condition information group, the current status information of each part of the applicable condition information group is automatically read individually from the measured part (goods) via the input/output unit, and stored as a start condition for the corresponding step in pairs with each condition information. By doing so, it has the effect of eliminating the need for complicated setting work that requires a high level of judgment. In addition, if output signal addresses etc. are preset and memorized as a group of operation information from the operation unit in advance, a complex combination of tagata can be treated as one operation, and it can be sent to the controlled unit via the input/output unit. By performing actual operation on the other hand, actual depacking can be performed step by step, and the same effect as that of the condition processing means can be obtained. Furthermore, the teaching means that repeatedly uses the condition processing and output processing to create the entire sequence program, and the playback means that reproduces and executes the taught sequence program, are configured to apply necessary conditions according to commands from the operation unit. Automatically reads data from the measurement department via the input/output section, treats the combination of complex outputs as a single operation, and transfers the operation intended by the worker to the controlled a1 section via the input/output section. By creating a program while actually doing it and making it possible to depack it immediately, there is no need for advanced specialized prior knowledge.
It has the effect of significantly reducing the occurrence of program defects by eliminating complicated setting work that requires a high level of judgment.

実施例の説明 以下本発明の一実施例について図面を参照しながら説明
する。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

第1図(a)は本発明の実施例に基づく制御上の基本構
成で、1はオペレーション・システムプログラムとシー
ケンスに関するステップ情報群2条件情報群、動作情報
群等のユーザプログラム及びデータ等を記憶するROM
、RAMで構成されている記憶部、2は記憶部1の記憶
内容に基づく入出力部(財)及び演算機能等を有する中
央処理部、3は被測飢対象である操作スイッチ、各種検
出入力。
FIG. 1(a) shows a basic control configuration based on an embodiment of the present invention, in which 1 stores an operation system program and a step information group related to a sequence, 2 a user program such as a condition information group, an operation information group, and data. ROM to
, a storage unit consisting of a RAM, 2 a central processing unit having an input/output unit based on the memory contents of the storage unit 1 and arithmetic functions, 3 an operation switch to be measured, and various detection inputs. .

各種データ入力等の入力信号及び、各種モニタ出力、ソ
レノイド、モータ等を駆動する出力信号を処理する電気
回路からなる入出力部、4は各種データ設定及びコント
ローラの起動、モード切換、停止等の操作を行なう操作
スイッチ及びモニタ機能としてのキャラクタ画面表示器
等から構成されている操作部、5は生産設備等の自動機
に於けるシーケンス1b(;(財)の対象である各種入
出力側斜・機器からなる破割(財)部、6&irよ前記
記憶部1.中央処理部2.入出力部3.操作部4からな
り被制御部に対するシーケンス制御を実行する制釘部で
あるシーケンス・コントローラで9る。
The input/output section consists of an electric circuit that processes input signals such as various data inputs, various monitor outputs, output signals that drive solenoids, motors, etc. 4 is an input/output section that processes various data settings and controller startup, mode switching, stopping, etc. The operation section 5 is composed of operation switches for performing the operation and a character screen display as a monitor function, etc., and 5 is for various input/output side diagonal and A break (goods) section consisting of equipment, 6 & IR, the storage section 1. a central processing section 2. an input/output section 3. an operation section 4, and a sequence controller which is a nailing section that executes sequence control for the controlled section. 9.

上記構成に於いて、シーケンス・コントローラ5aの中
央処理部2は操作部4を介して入力される条件情報群及
び動作情報群等を記憶部1に記憶する。又シーケンス・
プログラム作成に際し、上記記憶内容を所定の処理に基
づきステップ情報の一部としてステップ情報群に記憶し
、被制御部5に対しては、入出力部3を介して上記記憶
内容と操作部4からの指令に基づいて入出力の制(財)
を行なう。
In the above configuration, the central processing section 2 of the sequence controller 5a stores a group of condition information, a group of operation information, etc. input via the operation section 4 in the storage section 1. Also sequence
When creating a program, the above stored contents are stored in a step information group as part of the step information based on predetermined processing, and the stored contents and the operating section 4 are transmitted to the controlled section 5 via the input/output section 3. Regulation of input and output (goods) based on the directives of
Do the following.

第1図(b)は前記操作部4の一実施例に基づく構成を
示す。4aは文字・記号等からなるシーケンス情報等を
表示するキャラクタ画面表示器(以下画面と称す)、4
bは条件情報及び動作情報等の各種設定、ティーチング
、プレイバック等の各I切換等を行なう操作スイッチで
構成されている。
FIG. 1(b) shows a configuration based on one embodiment of the operation section 4. As shown in FIG. 4a is a character screen display device (hereinafter referred to as screen) that displays sequence information etc. consisting of characters, symbols, etc.;
b is composed of operation switches for performing various settings such as condition information and operation information, and switching of each I such as teaching and playback.

以下[6スイノチの基本機能について説明する。The basic functions of 6 Suinochi will be explained below.

rT/Cl Uタイマ/カウンタ命令用で後述するテン
キーにより定数及び入力信号アドレスを指定すれば、指
定した時間が経過又は該当する入力信号アドレスからの
入力信号をカウントしカウントアツプすると、待機状態
のシーケンス・ステップを次に進める等の制(財)設定
を行なうスイッチ。
rT/Cl U For timer/counter commands, if you specify a constant and input signal address using the numeric keypad described later, the standby state sequence will start when the specified time elapses or when the input signal from the corresponding input signal address is counted up.・Switch for setting rules such as advancing from step to next step.

rMJは並行処理命令用で、複数のシーケンス制御ヲ同
時に実行させる場合に用いる設定スイッチ。
rMJ is for parallel processing instructions, and is a setting switch used when multiple sequence controls are executed simultaneously.

「SJはスキャン命令用で、この命令が設定されたシー
ケンス・ステップでは、シーケンス実行時に該≧1起動
条件が満足されていなくても次のステップへ進めるいわ
ゆるスキャニング機能制御設定スイッチである。
"SJ is for a scan command, and in a sequence step where this command is set, it is a so-called scanning function control setting switch that advances to the next step even if the ≧1 starting condition is not satisfied during sequence execution.

「J」(r:r、ジャンプ命令用で、この命令が設定さ
れたシーケンス・ステップでは、/−ケンス実行時に該
当起動条件が満足しておれば、指定されたシーケンス・
ステップに進める等の側聞設定を行なうスイッチである
"J" (r: r, for the jump instruction. In the sequence step where this instruction is set, if the corresponding startup condition is satisfied when the /- step is executed, the specified sequence step
This is a switch for making side settings such as advancing to a step.

lTs E Lj ldセレクト命令用で、条件情報及
び動作情報等のプリセット・モード、ティーチング・モ
ード、プレイバック・モード等の切換時に用いる設定ス
イッチである。
lTs E Lj This is a setting switch for the ld select command and used when switching condition information, operation information, etc., to preset mode, teaching mode, playback mode, etc.

「0」〜r9J flJ rWJ rONJ rOFF
lは前記各種命令設定時に用いるスイッチで、「o−1
〜「9」は、いわゆるテンキーで各種定数等の設定用、
「C」は各種設定のクリア用、rWJは各種設定の記憶
及び各種処理の起動用、「ON’J。
"0" ~ r9J flJ rWJ rONJ rOFF
l is a switch used when setting the various commands mentioned above;
~ "9" is a so-called numeric keypad for setting various constants, etc.
"C" is for clearing various settings, rWJ is for storing various settings and starting various processes, and "ON'J" is for clearing various settings.

[0F FJは条件情報及び動作情報のプリセット時に
該当入出力信号のアドレスをオンかオフ条件か全設定す
るスイッチである。
[0F FJ is a switch that completely sets the address of the corresponding input/output signal as ON or OFF condition when presetting condition information and operation information.

4CばI−p s w」と称し、16個のスイッチから
なり、各部のスイッチは、複数の出力信号アドレス等を
あらかじめ組み合わせ之動作単位として扱かう機能を有
する動作単位スイッチで、例えば、一般的な搬送装置に
於いて搬送コンベアを起動・停止する際、任意の動作単
位スイッチがオンの時、搬送モータ及びクラッチをオン
、ブレーキをオフとなる様該当出力アドレスを設定すn
ば、後記に詳述するティーチング時に該当動作単位スイ
ッチをオンすれば搬送モータ、クラッチ、ブV−キは前
記設定通りの出力となり、オフすれば前記設定に対し各
出力を反転出力する。前記の機能設定は。
It consists of 16 switches, and the switches in each part are operation unit switches that have the function of handling multiple output signal addresses, etc. in advance as a combination or operation unit. When starting or stopping the conveyor in a conveyor, set the corresponding output address so that when any operation unit switch is on, the conveyor motor and clutch are turned on and the brake is turned off.
For example, if the corresponding operation unit switch is turned on during teaching, which will be described in detail later, the conveyance motor, clutch, and brake V-key will output the settings as described above, and if turned off, each output will be inverted with respect to the settings. The above function settings are.

1)1J記操作スイッチ4bにて行なう。その手順は後
記にフローチャートにて詳述する。
1) Use the 1J operation switch 4b. The procedure will be explained in detail later using a flowchart.

尚、IT/Cl rMj ISJ rJJは本実施例に
於けるオプション機能の一部であり、[PSWJは本実
施例では16個のスイッチであるが、制御規模に応じ何
貼でも良い。
Note that IT/Cl rMj ISJ rJJ are part of the optional functions in this embodiment, and [PSWJ is 16 switches in this embodiment, but any number may be attached depending on the control scale.

第2図(d前記記憶部のメモリ構成を示す。プログラム
アドレスmからn−1までは、前記操作部を介して入力
される条件情報群及び動作情報群及びタイマ、カウンタ
の定数等が設定情報群として記憶される。プログラムア
ドレスnからp−1寸では上記記憶内容が所定の処理に
基づきステップ情報の一部として記憶される。プログラ
ムアドレスpからqlでは本発明の7−ケンス・コント
ローラ仕様に基づくオペレーション・システムプログラ
ムが記憶されている。又記憶媒体として(dプログラム
アドレスmから1)−14では、シーケンス・プログラ
ム作成時下揮発性記憶素子(コアメモリ、不揮発性RA
M等)で構成し、プログラムの書き込み変更が即座に行
なえる。プログラムアドレスpからqfで[ROMで構
成しているが、記憶媒体としては、要はプログラムの書
き込み変更が即座に行なえ停電保障されておれば良い。
FIG. 2 (d) shows the memory configuration of the storage section. Program addresses m to n-1 contain setting information such as a group of condition information and a group of operation information input through the operation section, constants of timers and counters, etc. They are stored as a group. From program address n to p-1, the above memory contents are stored as part of step information based on predetermined processing. From program address p to ql, according to the specifications of the 7-can controller of the present invention. In addition, as a storage medium (d program address m to 1)-14, volatile storage elements (core memory, non-volatile RA
M, etc.), and programs can be written and changed instantly. Program addresses p to qf [Although it is configured with ROM, the storage medium only needs to be able to write and change the program immediately and be guaranteed against power outages.

第3図は前記記憶部に記憶される条件情報群のフォーマ
ットで該当被測研対象毎に対応する条件群の単位を有し
、条件単位毎に複数の条件アドレス(入力信号及びフラ
グ等の番地)を有する。
FIG. 3 shows the format of the condition information group stored in the storage unit, which has a condition group unit corresponding to each applicable research object, and each condition unit has a plurality of condition addresses (addresses of input signals, flags, etc.). ).

条件単位を複数重する事により、シーケンスの分岐処理
及び並行処理に際しシーケンスjyに専用条件群が設定
出来る為に、シーケンス相互間の条件干渉ケスにせずに
プロダラム出来る利点がある。
By overlapping a plurality of condition units, a dedicated condition group can be set for sequence jy during sequence branch processing and parallel processing, so there is an advantage that programming can be performed without causing condition interference between sequences.

第4図(d前記記憶部に記憶さ扛る動作情報群のフォー
マットで該当破割(財)対象毎にそれに対応する動作単
位を有し、動作単位毎に複数の出力アドレス(出力信号
及びフラグ等の番地)とその出力がオンかオフかを示す
状態フラグFとで構成されている。シーケンスの出力処
理に際し出力を1点1点設定しなくとも動作単位で設定
出来るので繰す返えし行なう動作設定作業等が効率良く
出来る。
FIG. 4 (d) The format of the operation information group stored in the storage unit has a corresponding operation unit for each target of destruction (goods), and a plurality of output addresses (output signals and flags) for each operation unit. etc.) and a status flag F that indicates whether the output is on or off.When outputting a sequence, the output can be set for each operation without having to set each output point by point. Operation setting work, etc. to be performed can be done efficiently.

第6図は、前記記憶部に記憶されるステップ情報群のフ
ォーマットでシーケンス・ステップ’Fjにステップ情
報群の単位を有し、6は該当ステップを起動する為の起
動条件群で、第3図で説明した条件単位番号に対応して
記憶された条件アドレス群と各条件アドレスの内容がオ
フかオフかを示す状態フラグFとで構成されている。7
は該当ステップの動作情報群で、第4図で説明した動作
単位番号群と各動作番号の内容がオンかオフかを示す状
態フラグFとで構成されている。尚動作情報群として出
力アドレスを扱かわず動作学位番号を扱かう事により一
定記憶容量に拡張性のある情報を確保しているが、記憶
容量に余裕があれば出力アドレスを直接記憶しても良い
。又シーケンス実行の際状態フラグFがオンの場合は該
当動作単位番号の出力内容をその−f−f実行し、オフ
の場合は各出力内容をコンブリメントして実行する。こ
の事により動作情報として状態フラグFがオフの時の出
力情報を設定する必要がない為、従来に比べて設定作業
が約半分の労力と時間で可能であるとともに記憶容量も
太1Jに削減出来ている。8は該尚ステップの各不邪情
報群でタイマ及びカウンタの種別指定情報、該当ステッ
プから特定ステップへ飛び越す為のジャンプ先指定情報
、該漸ステップから次のステップへ移行する為の各種ス
テップ進行指定情報等があり、シーケンス側聞に於ける
多種多様な要望に対応した構成になっている。
FIG. 6 shows the format of the step information group stored in the storage unit, in which sequence step 'Fj has a step information group unit, and 6 is a group of starting conditions for starting the corresponding step. It is made up of a group of condition addresses stored in correspondence with the condition unit numbers described in 1. and a status flag F indicating whether the content of each condition address is off or off. 7
is a group of operation information for the corresponding step, which is composed of a group of operation unit numbers explained in FIG. 4 and a status flag F indicating whether the content of each operation number is on or off. Note that by handling the operation degree number instead of the output address as the operation information group, we have secured information that is expandable within a certain storage capacity, but if there is sufficient storage capacity, the output address may be stored directly. . Further, when the status flag F is on during sequence execution, the output contents of the corresponding operation unit number are executed in -ff manner, and when it is off, the output contents are conjoined and executed. This eliminates the need to set the output information when the status flag F is off as operation information, so the setting work can be done with about half the effort and time compared to conventional methods, and the storage capacity can be reduced to 1J. ing. 8 is a group of malicious information for each step, including timer and counter type designation information, jump destination designation information for jumping from the relevant step to a specific step, and various step progress designations for moving from the gradual step to the next step. It has a structure that corresponds to a wide variety of requests from the sequence side.

第6図は前記第2図で説明したオペレー/ヨン・/ステ
ムプログラムの概要を示すもので、9fdt源投入時等
でプログラムの起動番地をインストラク/ヨン・カウン
タに記憶したり、メモリのクリア及び出力ビットの初期
クリア全行なうイニシャル処理プログラムで、9a、9
b’、9cは各処理の判別プログラムである。1○は第
3図の条件アドレス記憶や第4図の出力アドレス及び状
態フラグF等を記憶する為のプリセット処理プログラム
FIG. 6 shows an overview of the operator/yeon/stem program explained in FIG. 9a, 9 is an initial processing program that performs initial clearing of all output bits.
b' and 9c are discrimination programs for each process. 1○ is a preset processing program for storing the condition address shown in FIG. 3 and the output address and status flag F shown in FIG. 4.

11は第6図説明の起動条件群及び動作情報群及び各種
情報群切を該当ステップ情報として記憶するとともに該
当動作を実際に行なわせる処理ブ口ダラム、12は前記
11でティーチングされた内容を再現する為の処理プロ
グラムである。 ′以下に前記10,11.12の各処
理プログラムの詳細説明金する。尚以下説明中の[リタ
ー7」とは、第6図の判別プログラム9aの先頭番地へ
復帰する事を示す、)第7図はプリセット処理プログラ
ムで、ルーチンS1(以降ルーチンを省略する)にて説
明しない方法で条件設定か動作設定かを問い1条件設定
ならばS2.S3で第3図の条件単位Noを要求し、N
o設定されれば84〜S8にて該MNOのららかしめ定
められたメモリ番地をレジスタROに記憶しセント・フ
ラグ5F=1とする。又動作設定ならばS9.S1○で
第4図の動作栄位Noを要求しS11〜S15にて該当
N″6のあらかじめ定められたメモリ番地をレジスタR
Oに記憶しセント・フラグSFニ0とする。
Reference numeral 11 denotes a processing block dram for storing the start condition group, operation information group, and various information group expirations explained in FIG. This is a processing program to do this. 'A detailed explanation of each processing program in 10, 11, and 12 above will be given below. Note that "Return 7" in the following explanation indicates a return to the starting address of the discrimination program 9a in FIG. 6.) FIG. Ask whether to set conditions or operation using a method that will not be explained. If 1 condition is set, go to step S2. In S3, request the condition unit number in Fig. 3, and
If o is set, in steps 84 to S8, the memory address determined by arranging the MNO is stored in the register RO, and the cent flag 5F is set to 1. Also, for operation settings, go to S9. In S1○, request the operation rank number shown in FIG. 4, and in S11 to S15, store the predetermined memory address of N''6 in register
It is stored in O and the cent flag SF is set to 0.

次の817〜S19にてアドレス入力内容がレジスタR
1に記憶され320で5F=1すなわち条件設定ならば
321〜323の処理全せず5F=0すなわち動作設定
ならば821〜S23にて該当出力アドレスがオンかオ
フかをあられす状態フラグFeセリトンレリスクR1に
イ月力11する。ライト[てS24〜S26.レジスタ
R1に格納された内容がレジスタROで示されるメモリ
番地に記憶され、メモリ番地が+1される。次に827
で説明しない方法で確定したライト内容を表示し、82
8.329で設定オーバならはオーバ処理後天の処理へ
進み、設定終了でなければ再度317から繰り返し設定
してゆき終了ならば次の処理へ進む。又S30〜S33
により設定クリア及び設定エラーの処理全行ない、S1
6.S34によジセノト中止、セット終了であればリタ
ーンする。
In the next 817 to S19, the address input contents are registered in register R.
1 is stored in 320, 5F=1, that is, if the condition is set, the processing in 321 to 323 is not completed, and if 5F=0, that is, the operation setting, in 821 to S23, the status flag Fe is set to indicate whether the corresponding output address is on or off. Add 11 power to Tonrelisk R1. Light [S24-S26. The contents stored in register R1 are stored in the memory address indicated by register RO, and the memory address is incremented by 1. Next 827
Displays the write contents determined by a method not explained in 82.
8. If the setting is over at 329, the process proceeds to the process after the over-processing, and if the setting is not completed, the setting is repeated from 317, and if the setting is not completed, the process proceeds to the next process. Also S30-S33
Clear the settings and process all setting errors, S1
6. At S34, the setting is stopped, and if the set is completed, the process returns.

以上のソフト処理により、第3図及び第4図の各種記憶
が対話形式にて敏速確実に行なわれる。
Through the software processing described above, the various types of storage shown in FIGS. 3 and 4 can be carried out quickly and reliably in an interactive manner.

第8図と第9図は、テイーチンダ処理プログラムと画面
表示に関する説明図で、ルーチンT1(以降ルーチンを
省略する)〜T6にてプログラムNo、ステップNoの
指定を画面13の画面中の?マークにて要求し、設定さ
れ扛ば各表示するっT6にて動作単位SWを有効とする
。すなわち該当動作単位SWオン時、前記プリセット処
理で動作設定された出力内容をそのま1実行し、オフの
場合は各出力内容をコンブリメントして実行する。
FIG. 8 and FIG. 9 are explanatory diagrams regarding the Teichinda processing program and screen display. In routines T1 (routines will be omitted hereafter) to T6, the program number and step number are specified on the screen 13. If requested with the mark and set, the operation unit SW is enabled at T6. That is, when the corresponding operation unit SW is on, the output contents set for operation in the preset process are executed as they are, and when it is off, the output contents are combined and executed.

’r−y、’r8にて、該当プログラムNoに適合する
前記プリセット処理で条件設定された条件アドレス群と
谷現在状態を画面表示する。画面14はそ(7) トキ
(D表示例テ、PROGRAM No1tsVc適合す
る条件アドレスを画面中INPUT CH[Kの下段に
呼びだしく本例では1゜〜1○20 )現時点の状態が
オンであればマーク「。」を刺シ、オフであれば無印と
している。’r9.T10.T15゜TI6にて入力条
件が画面表示の状態で良けれ、:「ライト−」用3WO
Nにて該当条件が記憶され、もし追加、削除等の変更が
ある場合は、動作単位SWを操作して所望する新たな状
態を作り出すか、説明しない変更手段にて変更を行なっ
た後ライトすれば良い。T11にて被測脚部の状態保持
の為動作単位swl無効とし、かつ出力セットが自由自
在に設定出来る様にする。TI2にて所望する出力を動
作単位SWにて設定すれば、画面16の0UTPUTの
下段に5WNOf:表示し、動作設定状態がオンであれ
ばマーク「。」を付し、オフであれば無印としている(
本例では1゜〜47゜)。
At 'ry,'r8, the condition address group set in the preset process matching the program number and the current state of the valley are displayed on the screen. Screen 14 is (7) Toki (D display example, PROGRAM No. 1tsVc The matching condition address is called out on the screen at the bottom of INPUT CH [K in this example 1° to 1○20) If the current state is on. The mark "." is inserted, and if it is off, it is left unmarked. 'r9. T10. T15゜If the input condition is displayed on the screen at TI6, 3WO for "Light-"
The corresponding conditions are memorized in N, and if there is a change such as addition or deletion, the desired new state can be created by operating the operation unit SW, or the change can be made using a change method that will not be explained before writing. Good. At T11, the operation unit swl is disabled to maintain the state of the leg to be measured, and the output set can be freely set. If the desired output is set with the operation unit SW in TI2, 5WNOf: will be displayed at the bottom of 0UTPUT on the screen 16, and if the operation setting state is on, a mark "." will be added, and if it is off, it will be left unmarked. There is (
In this example, the angle is 1° to 47°).

T13.T14.T17.Tlaにて設定が終われば「
ライト」用5WONにて該光動作情報が記憶され、もし
追加、削除等の変更があれば、動作単位SWの設定変更
をするか、説明しない変更手段にて変更を行なった後ラ
イトすれば良い。T19、T20にてライト時点の動作
単位SW設定に基づき前記T6にて説明した実動作が行
なわgると共(、ステップ・アンプが行なわれ、画面1
6の如く¥)rたな状態表示を行なう。すなわちAtJ
記実動作T19によって各条件が変化した様がINPU
TCHEC:Kに自動表示される。
T13. T14. T17. Once the settings are completed on Tla,
The optical operation information is stored in the 5WON for "Light", and if there are changes such as additions or deletions, it is only necessary to change the setting of the operation unit SW or change it using a change method that will not be explained before writing. . At T19 and T20, the actual operation explained at T6 is performed based on the operation unit SW setting at the time of writing (step amplification is performed, and screen 1
Displays the status as shown in 6). That is, AtJ
The INPU shows how each condition has changed due to the actual operation T19.
Automatically displayed on TCHEC:K.

T21.T22にてプログラム・ステップがオーバした
場合、説明しない他のプログラム処理をし、ティーチフ
グ終了であればリターンし、終了でなければT6に分岐
し、新たなティーチングを行・なう。
T21. If the program step exceeds at T22, other program processing which will not be described is performed, and if the teaching puff is completed, the program returns; if not, the program branches to T6 and performs new teaching.

尚以上の処理2画面は、実施例の一部で、タイマ、カウ
ンタ等の各種情報に関しては説明を省略した。以上の処
理により、第5図に示す各ステップ毎の情報の記憶が、
ティーチングにより敏速確実に行なわnる。
It should be noted that the above two processing screens are part of the embodiment, and explanations regarding various information such as timers and counters are omitted. Through the above processing, the information for each step shown in FIG. 5 can be stored.
This can be done quickly and reliably by teaching.

第10図(a)l (b)と第11図は、プレイバック
処理プログラムと画面表示で、ルーチンP1(以降ルー
チンを省略する)〜P3にてプレイバンクを連続で行な
うか1ステツプ毎で行なうかを判別し連続時はCF−1
とし、プログラムNo1〜プログラムNσnが連続的に
並行処理される。1ステップ時は、スタート毎に1ステ
ップ進行処理される。尚本例では1ステップ進行処理に
ついての詳細は、繁雑さをまねくため省略している。P
4にて第6図に示すステップNoポインタにて指示する
。イニ/ヤルスタート時はステップN?51を示す。P
5にで第1Q図(b)のステップ処理ルーチンへゆき、
P2O,Pllにて該当ステップN。
Figures 10 (a) l (b) and Figure 11 show the playback processing program and screen display, showing whether the playbank is performed continuously or in steps of routines P1 (routines will be omitted hereafter) to P3. CF-1 if continuous
Then, programs No. 1 to Nσn are continuously processed in parallel. At the time of 1 step, one step progress processing is performed at each start. In this example, details regarding the one-step progression process are omitted to avoid complication. P
4, the step number pointer shown in FIG. 6 is used to specify the step number. Is it step N at the initial/year start? 51 is shown. P
5, go to the step processing routine in Figure 1Q (b),
Corresponding step N at P2O, Pll.

の情報を読み出し画面17を表示すると共に該当入力が
メモリ内容と一致しているかどうかを判別)1 L一致しておれば、PI3.PI3.PI3にてティー
チング内容通りの実動作を行ない、ステップNoポイン
タを+1しだ後第10図e)での次のプログラム処理の
為に復帰する。又一致がなけれは即復帰し1次のプログ
ラム処理を行なう。上記と同様の処理ケプログラムNO
2からプログラムNon(P6からP7の処理)1で実
行する。P8゜P9でストップ命令があれば説明しない
処理方法でストップした後リターンする。又シーケンス
異常や電源ダウン等の例外的な要因が検出された場合等
も同様リターンする。リターン要因がなければ再びP4
の処理からプレイバックを実行してゆく。5TEP1が
実行された場合画面18が表示される。以上の処理によ
り第8図で説明したティーチングで記憶されたプログラ
ムNo1〜プログラムNonのステップ情報(プログラ
ム毎に第5図のステップトnを有する)を並行的にプレ
イバック処理出来て、簡単確実に即時デパックが行なわ
れる。
Read out the information on the screen 17 and determine whether the corresponding input matches the memory contents) 1 L If they match, PI3. PI3. The PI3 performs the actual operation according to the teaching contents, and after incrementing the step number pointer by 1, returns to the next program processing in Fig. 10 e). If there is no match, the program returns immediately and performs the primary program processing. Processing program number similar to the above
2 to program No. 1 (processing from P6 to P7). P8° If there is a stop command at P9, the process is stopped using a processing method that will not be described and then returns. It also returns in the same way if an exceptional factor such as a sequence abnormality or power down is detected. If there is no return factor, P4 again
Playback is executed from the processing of . When 5TEP1 is executed, screen 18 is displayed. Through the above processing, the step information of programs No. 1 to No. 1 to Program No. (each program has step number n shown in FIG. 5) stored in the teaching explained in FIG. 8 can be played back in parallel, easily, reliably, and immediately. Depacking is carried out.

発明の効果 前記の様に、本発明のシーケンスコントローラは、操作
部と、入出力部と、条件処理手段と、出力処理手段と、
ティーチング手段と、プレイバック手段とからなり、シ
ーケンス・プログラム作成に際し該当する入力信号アド
レス等をあらかじめプリセット記憶しておけば、このプ
リセット内容に基づきシーケンス・ステップ毎に被制御
部から入出力部を介して自動で、該当入力信号アドレス
の現在状態情報が読み込まれ該尚シーケンス・ステップ
の起動条件として記憶する事により、高度な専門的予備
知識を必要としない効果があり、14j力信号アドレス
等をあらかじめプリセット記憶しておけば、このプリセ
ット内容に基づき、複合的な出力の組み合わせをひとつ
の動作として扱かう事が出来、かつ実動作を行なう事に
より、1ステツプ毎の実働デパックが可能である事によ
り、高度な判断力を伴なう繁雑な設定作業を必要としな
い効果があり、又前記条件と出力の処理をティーチング
手段により順次繰り返えして作業者の意図通りの動作を
実際に行なわせつつプログラムを作成し、プレイバック
手段にて即時デパックを可能とする事により、従来必要
とされた表記法やコーディング法に関する高度な専門的
知識を必要とせず、1ステツプ毎の実働デパックにより
他ステップとの相互干渉のチェック及び設定処理に際し
高度な判断力を伴なう繁雑な作業を必要とせず、さらに
、プログラムの欠陥の解消を敏速に出来るという効果も
あり、その実用的効果は人なるものがある。
Effects of the Invention As described above, the sequence controller of the present invention includes an operation section, an input/output section, a condition processing means, an output processing means,
It consists of a teaching means and a playback means. When creating a sequence program, if the corresponding input signal address etc. is preset and memorized in advance, the data will be transmitted from the controlled part to the input/output part for each sequence step based on the preset contents. By automatically reading the current state information of the corresponding input signal address and storing it as the activation condition of the corresponding sequence step, there is an effect that no advanced specialized prior knowledge is required. By storing presets, you can treat a complex combination of outputs as one operation based on the preset contents, and by performing the actual operation, you can perform actual depacking for each step. This method has the effect of not requiring complicated setting work that requires a high degree of judgment, and the processing of the conditions and outputs can be sequentially repeated using a teaching means to actually perform the operation as intended by the operator. By creating a program and immediately depacking it using playback means, there is no need for the highly specialized knowledge of notation and coding methods that was required in the past. It does not require complicated work that requires a high degree of judgment when checking for mutual interference with the computer and processing settings, and it also has the effect of quickly eliminating program defects, and its practical effects are significant. There is.

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

第1図(iL)は本発明の実施例に基づく制御上の基本
構成を示す図、第1図(b)は本発明の実施例に基づく
操作部を示す図、第2図は記憶部のメモリ構成を示す図
、第3図は条件情報群のフォーマy I□の説明図、第
4図は動作情報群のフォーマットの説明図、第5図はス
テップ情報群のフォーマットの説明図、第6図はオペレ
ーション・プログラムの概要を示す図、第7図はプリセ
ット処理プログラムを示す図%第8図はティーチング処
理プログ11、ラムを示す図、第9図は画面表示に関す
る説明図。 :’、kI o図(a)l (b)il−tプレイバッ
ク処理プログラムを示す図、第11図は画面表示に関す
る図である。 3・・・・・・入出力部、4・・・・・・操作部、5・
・・・・・破制御部、611・・・・・・側聞部、6・
・・・・条件情報群、7・・・・・・動作情報群、1o
・・・・・・プリセント処理、11・・・ティーチング
処理、12・・・・・・プレイバック処理。 代理人の氏名 弁理士 中 尾 敏 男 はが1名第1
図 (OJン 第2図 第3図
FIG. 1(iL) is a diagram showing the basic control configuration based on the embodiment of the present invention, FIG. 1(b) is a diagram showing the operating section based on the embodiment of the present invention, and FIG. 3 is an explanatory diagram of the format of the condition information group, FIG. 4 is an explanatory diagram of the format of the operation information group, FIG. 5 is an explanatory diagram of the format of the step information group, and FIG. 6 is a diagram showing the memory configuration. 7 is a diagram showing an outline of an operation program, FIG. 7 is a diagram showing a preset processing program, FIG. 8 is a diagram showing a teaching processing program 11 and a RAM, and FIG. 9 is an explanatory diagram regarding screen display. :', kI o Figure (a) l (b) il-t Diagram showing the playback processing program, FIG. 11 is a diagram related to screen display. 3...Input/output section, 4...Operation section, 5.
...Break control part, 611...Lateral part, 6.
... Condition information group, 7... Operation information group, 1o
. . . Precent processing, 11 . . . Teaching processing, 12 . . . Playback processing. Name of agent: Patent attorney Toshio Nakao (1st person)
Figure (OJ's figure 2 figure 3

Claims (1)

【特許請求の範囲】[Claims] 操作用スイッチと操作用表示器を有する操作部と、シー
ケンス・コントローラの制(財)対象となる入出力機器
を有する被制御部からの入出力信号を処理する入出力部
と、前記被制御部に対する制御用データをシーケンス・
ステップ毎に記憶するステップ情報群記憶手段と、前記
被制御部からの入力信号のアドレスを組み合わせて条件
情報群としてプリセット記憶し、シーケンス・ステップ
毎の条件記憶に際し該当条件情報群と前記被fi制御部
から前記入出力部を介して自動で読み込む該当条件情報
群各箇の現在状態情報とを前記ステップ情報群記憶手段
に該当ステップの起動条件として記憶する条件処理手段
と、前記被制御部への出力信号のアドレスと出力情報を
動作単位毎に組み合わせて動作情報群としてブリセント
記憶しシーケンスステノブ毎の動作記憶に際し、前記動
作情報群を該当動作単位毎の指令に基づき前記ステップ
情報群記憶手段に該当ステップの動作情報として記憶す
るとともに該当動作を前記入出力部を介して前記被制御
部に対して実行する出力処理手段と、前記条件処理手段
と前記出力処理手段とを繰り返し用いて、/−ケンス・
プログラムを作成するティーチ71手段と、ティーチン
グされたシーケンス・プロダラムを再現実行するプレイ
バック手段とを有スル/−ケンスコントローラ。
An operation section having an operation switch and an operation display, an input/output section that processes input/output signals from a controlled section having input/output devices to be controlled by the sequence controller, and the controlled section. Sequence control data for
A step information group storage means for storing for each step and the address of the input signal from the controlled section are combined and preset stored as a condition information group, and when storing the conditions for each sequence step, the corresponding condition information group and the fi controlled a condition processing means for storing current state information of each part of the corresponding condition information group automatically read from the input/output section from the input/output section into the step information group storage means as a starting condition for the corresponding step; The address of the output signal and the output information are combined for each movement unit and stored as a movement information group, and when storing the movement for each sequence steno knob, the movement information group is stored in the step information group storage means based on the command for each movement unit. an output processing means that stores the operation information of the relevant step and executes the relevant operation on the controlled unit via the input/output unit, and repeatedly uses the condition processing means and the output processing means; Kens
This controller has a teaching 71 means for creating a program and a playback means for reproducing and executing the taught sequence program.
JP24024183A 1983-12-20 1983-12-20 Sequence controller Expired - Lifetime JPH0682284B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24024183A JPH0682284B2 (en) 1983-12-20 1983-12-20 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24024183A JPH0682284B2 (en) 1983-12-20 1983-12-20 Sequence controller

Publications (2)

Publication Number Publication Date
JPS60132206A true JPS60132206A (en) 1985-07-15
JPH0682284B2 JPH0682284B2 (en) 1994-10-19

Family

ID=17056552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24024183A Expired - Lifetime JPH0682284B2 (en) 1983-12-20 1983-12-20 Sequence controller

Country Status (1)

Country Link
JP (1) JPH0682284B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63163507A (en) * 1986-12-25 1988-07-07 Honda Motor Co Ltd Generating method for sequence program
JPH03288912A (en) * 1990-04-06 1991-12-19 Shimizu Kiden Kk Servo system controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63163507A (en) * 1986-12-25 1988-07-07 Honda Motor Co Ltd Generating method for sequence program
JPH03288912A (en) * 1990-04-06 1991-12-19 Shimizu Kiden Kk Servo system controller

Also Published As

Publication number Publication date
JPH0682284B2 (en) 1994-10-19

Similar Documents

Publication Publication Date Title
JPS62121511A (en) Numerical controller
JPS60132206A (en) Sequence controller
JPS59109907A (en) Sequence controlling method
JPS59109908A (en) Sequence condition processing method
JPS63288357A (en) Data editing system
JPS63278151A (en) Debugging device
JP2860500B2 (en) Thermal analysis analyzer
JPS59119413A (en) Programmable controller
JPS58221405A (en) Programmable controller
JPH06242719A (en) Simulator
JPH01191269A (en) Image controller
JPS6029804A (en) Program input device
JPH01169506A (en) Numerical controller
JPH0651888A (en) Operation re-executing device
JP2862369B2 (en) Image display control device
JPH073029U (en) Processing status display
JPS58107906A (en) Process step type programmable controller
JPS62224805A (en) Ladder diagram display system for program of sequence programmable controller
JPS595312A (en) Monitor device of sequence controller
JPH02184217A (en) Digital protective relay
JPH0743739B2 (en) Automatic wiring processing execution system
JPS60128508A (en) Block search system of nc command program
JPS59186005A (en) Specified address display device of nc command program
JPH05150812A (en) Programmable controller
JPS62147574A (en) Input data changing system