JP2003058210A - Multiple output elimination method in sequence program - Google Patents

Multiple output elimination method in sequence program

Info

Publication number
JP2003058210A
JP2003058210A JP2001241564A JP2001241564A JP2003058210A JP 2003058210 A JP2003058210 A JP 2003058210A JP 2001241564 A JP2001241564 A JP 2001241564A JP 2001241564 A JP2001241564 A JP 2001241564A JP 2003058210 A JP2003058210 A JP 2003058210A
Authority
JP
Japan
Prior art keywords
multiple output
sequence program
output
outputs
input
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
JP2001241564A
Other languages
Japanese (ja)
Inventor
Ryuichi Murata
龍一 村田
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.)
Star Seiki Co Ltd
Original Assignee
Star Seiki 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 Star Seiki Co Ltd filed Critical Star Seiki Co Ltd
Priority to JP2001241564A priority Critical patent/JP2003058210A/en
Publication of JP2003058210A publication Critical patent/JP2003058210A/en
Pending 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
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13035Name, address duplication detection for program components, symbols

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a multiple output elimination method in a sequence program capable of easily dissolving a multiple output state in a short time by outputting multiple output information and reporting to a programmer in the case that the multiple output state is present at the time of preparing the sequence program and to provide the multiple output elimination method in the sequence program capable of securing safety by inhibiting operations of an industrial machine by the sequence program in which multiple outputs are present unless the multiple output state present in sequence program data is dissolved while achieving the above-mentioned purpose. SOLUTION: The sequence program is prepared by inputting an input condition and an output condition corresponding to it for each operation step of the industrial machine. When the multiple output of repeatedly outputting an output member is inputted for different input conditions at the time of editing the sequence program, multiple output alarm information is outputted, the multiple output is alarmed to the programmer and continuation of an editing processing is possible.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明が属する技術分野】本発明は、各種産業機械を所
定動作させるため、動作ステップ毎に入力条件及びこれ
に対応する出力条件からなるシーケンスプログラムにお
ける多重出力排除方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for eliminating multiple outputs in a sequence program which has an input condition and an output condition corresponding to each operation step in order to operate various industrial machines in a predetermined manner.

【0002】[0002]

【発明が解決しようとする課題】各種産業機械をシーケ
ンス制御するには、プログラマブルコントローラ(以
下、PCという)を使用してシーケンスプログラムを作
成した後に該シーケンスプログラムに基づいて産業機械
を所定動作させている。
In order to sequence-control various industrial machines, a programmable controller (hereinafter referred to as PC) is used to create a sequence program, and then the industrial machine is operated in a predetermined manner based on the sequence program. There is.

【0003】このPCを使用してシーケンスプログラム
を作成するには、プログラマーは各シーケンス(ステッ
プ)毎に、産業機械に設けられた各種センサー(検出
器)等からの入力条件と該入力条件に対応してリレーや
モータ、バルブ等の各種出力部材を作動させる出力条件
を、例えばラダープログラミング言語等のプログラミン
グ言語で作成している。
In order to create a sequence program using this PC, the programmer responds to the input conditions from various sensors (detectors) provided in the industrial machine and the input conditions for each sequence (step). Then, output conditions for operating various output members such as a relay, a motor, and a valve are created in a programming language such as a ladder programming language.

【0004】このシーケンスプログラムを作成する際に
は、通常は各ステップにおいて所定の入力条件に応答し
て一つの出力条件を実行するようにプログラムデータを
作成しているが、シーケンスプログラムを作成する際の
入力ミスにより異なる入力条件に基づいて一つの出力条
件を重複して実行させる、所謂多重出力、即ち産業機械
の入出力部分と関連付けられたデバイスに対して接続命
令を重複して出力する状態が存在する場合がある。
When creating this sequence program, normally, the program data is created so that one output condition is executed in response to a predetermined input condition at each step. In order to execute one output condition redundantly based on different input conditions due to an input error, the so-called multiple output, that is, the state in which the connection command is output to the device associated with the input / output part of the industrial machine in duplicate. It may exist.

【0005】このような多重出力は、産業機械を動作さ
せる際に誤動作や正規の状態で動作させることができ
ず、本来は存在してはならないものである。このため、
多重出力が存在する場合には、シーケンスプログラム中
の多重出力状態が解消されるまでシーケンスプログラム
の編集及び産業機械制御部への保存を一切禁止し、多重
出力状態が存在するシーケンスプログラムによる産業機
械の制御を禁止している。
[0005] Such multiple outputs must not exist by nature because they cannot operate in a malfunction or a normal state when operating an industrial machine. For this reason,
If multiple outputs exist, all editing of the sequence program and saving to the industrial machine control unit are prohibited until the multiple output state in the sequence program is resolved, and the industrial machine according to the sequence program in which multiple output states exist Control is prohibited.

【0006】シーケンスプログラム中の多重出力状態を
解消するには、プログラマーはシーケンスプログラムの
編集処理により削除する必要がある。しかし、シーケン
スプログラムにおける多重出力状態の存在箇所が不明な
ため、全てのプログラムデータをチェックして多重出力
の存在箇所を確認して修正する必要があり、この編集作
業に多大な時間や手間がかかり、シーケンスプログラム
の作成効率が極めて悪かった。
In order to eliminate the multiple output state in the sequence program, the programmer must delete it by editing the sequence program. However, since the location where the multiple output state exists in the sequence program is unknown, it is necessary to check all program data and confirm the location where the multiple output exists, and this correction work requires a lot of time and effort. , The sequence program creation efficiency was extremely poor.

【0007】本発明は、上記した従来の欠点を解決する
ために発明されたものであり、その課題とする処は、シ
ーケンスプログラム作成時に多重出力状態が存在する場
合には多重出力情報を出力してプログラマーに報知して
多重出力状態を簡易、かつ短時間に解消させることを可
能にするシーケンスプログラムにおける多重出力排除方
法を提供することにある。
The present invention has been invented to solve the above-mentioned conventional drawbacks, and its object is to output multiple output information when a multiple output state exists when a sequence program is created. Accordingly, it is an object of the present invention to provide a multiple output eliminating method in a sequence program, which can notify the programmer of the multiple output state easily and in a short time.

【0008】また、本発明の他の課題は、シーケンスプ
ログラム中に多重出力状態が存在する場合であっても、
シーケンスプログラムの編集及び保存を可能にして作成
作業を効率化することができるシーケンスプログラムに
おける多重出力排除方法を提供することにある。
Another object of the present invention is to provide a sequence program in which multiple output states exist,
It is an object of the present invention to provide a multiple output elimination method in a sequence program that enables editing and saving of the sequence program and makes the creation work efficient.

【0009】更に、本発明の他の課題は、上記課題を達
成しつつ、シーケンスプログラムデータ中に存在する多
重出力状態が解消されない限り、多重出力が存在するシ
ーケンスプログラムによる産業機械の動作を禁止して安
全性を確保することができるシーケンスプログラムにお
ける多重出力排除方法を提供することにある。
Still another object of the present invention is to prevent the operation of the industrial machine by the sequence program having multiple outputs unless the multiple output state existing in the sequence program data is resolved while achieving the above object. It is to provide a method of eliminating multiple outputs in a sequence program that can ensure safety by using a sequence program.

【0010】[0010]

【課題を解決するための手段】本発明は、産業機械の動
作ステップ毎に入力条件とこれに対応する出力条件を入
力してシーケンスプログラムを作成する際に、該シーケ
ンスプログラムに異なる入力条件に対して出力部材を重
複出力させる多重出力が入力されたとき、多重出力警告
情報を出力してプロラム作成者に多重出力を警告すると
共に編集処理を続行可能にしたことを特徴とする。
SUMMARY OF THE INVENTION According to the present invention, when an input condition and an output condition corresponding to the input condition are input for each operation step of an industrial machine to create a sequence program, the sequence program has different input conditions. When multiple outputs that cause the output members to be redundantly output are input, multiple output warning information is output to warn the program creator of the multiple outputs and the editing process can be continued.

【0011】[0011]

【発明の実施形態】以下、本発明の実施形態を図に従っ
て説明する。図1に示すように、PC1はシーケンスプ
ログラムを作成するマンマシンインターフェース部と、
作成したシーケンスプログラムにより産業機械を所定動
作させるプロセスインターフェース部とから構成され、
本発明は主としてマンマシンインターフェース部にて適
用される。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. As shown in FIG. 1, the PC 1 includes a man-machine interface unit for creating a sequence program,
It consists of a process interface part that operates the industrial machine according to the created sequence program.
The present invention is mainly applied to the man-machine interface section.

【0012】PC1は公知のもので、CPU3、プログ
ラムメモリ5、データメモリ7、制御データメモリ8、
タイマ9、入力部11、出力部13及び設定部15等か
ら構成される。
The PC 1 is a known one, and includes a CPU 3, a program memory 5, a data memory 7, a control data memory 8,
The timer 9 includes an input unit 11, an output unit 13, a setting unit 15, and the like.

【0013】その内、プログラムメモリ5はシーケンス
プログラムを作成したり、本発明に係る多重出力を修正
排除する際の支援処理を実行するシステムプログラムデ
ータを記憶する。データメモリ7は作業領域7aと作成
されたシーケンスプログラムに多重出力がある場合に多
重出力リスト情報を記憶する多重出力リスト領域7bを
有している。
Among them, the program memory 5 stores system program data for executing a support process for creating a sequence program and correcting and eliminating multiple outputs according to the present invention. The data memory 7 has a work area 7a and a multiple output list area 7b for storing multiple output list information when the created sequence program has multiple outputs.

【0014】また、制御データメモリ8は産業機械をシ
ーケンス制御するため、作業領域7aから転送されたシ
ーケンスプログラムの実行モジュールデータを記憶す
る。設定部15はシーケンスプログラムを作成する際に
各種の入力条件及び出力条件を入力するためのキーボー
ドやスイッチ、入力された入力条件や出力条件等を表示
する表示装置、表示データを印字するプリンタ等のプロ
グラミングツールから構成される。
The control data memory 8 stores the execution module data of the sequence program transferred from the work area 7a in order to control the sequence of the industrial machine. The setting unit 15 includes a keyboard and switches for inputting various input conditions and output conditions when creating a sequence program, a display device for displaying input input conditions and output conditions, a printer for printing display data, and the like. Composed of programming tools.

【0015】入力部11は設定部15により入力された
入力条件及び出力条件を、また産業機械に設けられた各
種センサからの信号をCPU3に入力させる。また、出
力部13はデータメモリ7に記憶された各種データを表
示装置等に出力したり、制御データメモリ8に記憶され
たシーケンスプログラムの実行モジュールデータを産業
機械の各出力部材に出力する。
The input unit 11 causes the CPU 3 to input the input condition and the output condition input by the setting unit 15 and the signals from various sensors provided in the industrial machine. Further, the output unit 13 outputs various data stored in the data memory 7 to a display device or the like, and outputs execution module data of the sequence program stored in the control data memory 8 to each output member of the industrial machine.

【0016】上記したPC1を使用したシーケンスプロ
グラムの作成方法等は公知であり、その詳細については
省略し、シーケンスプログラムをラダープログラムによ
り作成編集する際に多重出力が存在する場合の修正方法
を以下に説明する。
A method of creating a sequence program using the PC 1 described above is publicly known, and the details thereof are omitted. A method of correcting when multiple outputs exist when creating and editing a sequence program by a ladder program will be described below. explain.

【0017】プログラマーは、図2に示すように産業機
械の各動作(ステップ)毎に、産業機械を所定動作させ
るのに必要な、例えば各種検出器からの信号、タイマ信
号等の入力条件と、該入力条件に基づいて動作するモー
タ、リレーやソレノイド等の出力部材(以下、モジュー
ルという)に関する出力条件をラダープログラム形式で
作成編集する。
As shown in FIG. 2, the programmer inputs, for each operation (step) of the industrial machine, input conditions such as signals from various detectors and timer signals necessary for operating the industrial machine in a predetermined manner. Output conditions relating to output members (hereinafter referred to as modules) such as motors, relays and solenoids that operate based on the input conditions are created and edited in a ladder program format.

【0018】上記したラダープログラムの作成編集処理
中に、図3に示すように入力ミス等により異なる入力条
件で出力部材を重複動作させる多重出力が入力された後
に、図4に示すように入力データを確定するための変換
キーが操作されると、入力が確定したラダープログラム
中に多重出力が存在するか否かを検索する。なお、ラダ
ープログラム中における多重出力の検索は入力データを
確定するために変換キーが操作されるごとに行う。
During the above-described ladder program creation / editing process, after inputting multiple outputs for overlapping operation of output members under different input conditions as shown in FIG. 3, input data as shown in FIG. When the conversion key for confirming is input, it is searched whether or not multiple outputs exist in the ladder program whose input has been confirmed. The search for multiple outputs in the ladder program is performed each time the conversion key is operated to confirm the input data.

【0019】今、確定されたラダープログラム中に多重
出力が存在するとき、図5に示すように編集処理を一時
的に中断した後に表示装置に多重出力警告メッセージを
表示してプログラマーに多重出力が存在することを警告
する。
Now, when multiple outputs exist in the confirmed ladder program, the multiple output warning message is displayed on the display device after the editing process is temporarily interrupted as shown in FIG. Warn that it exists.

【0020】そしてラダープログラム中に多重出力が存
在するにも拘らず、ラダープログラムの編集作業を続行
する場合には、図5に示す多重出力警告メッセージダイ
アログ中の「OK」ボタンをクリックすると、図6に示
すようにラダープログラムの編集処理を可能化させる。
When the ladder program is to be edited even though there are multiple outputs in the ladder program, click the "OK" button in the multiple output warning message dialog shown in FIG. As shown in 6, edit processing of the ladder program is enabled.

【0021】そして続行する編集処理時にラダープログ
ラム中の多重出力を訂正して排除するには、ポインタ又
はカーソルを多重出力箇所へ移動して後に正しい出力条
件を入力した後に再度、変換キーを操作して入力を確定
させて修正する。この場合も変換キーが操作された際に
ラダープログラム中に多重出力が存在するか否かを検索
する。
In order to correct and eliminate the multiple output in the ladder program during the subsequent edit processing, move the pointer or cursor to the multiple output location, input the correct output condition later, and then operate the conversion key again. To confirm the input and correct it. Also in this case, it is searched whether multiple outputs exist in the ladder program when the conversion key is operated.

【0022】ラダープログラム中に多重出力が存在した
状態で編集処理を終了する場合には、図7に示すように
ポインタまたはカーソルにより「ファイルを閉じる」を
選択すると、図8に示すように表示装置にラダープログ
ラムの編集作業を終了するか否かの確認メッセージを表
示させる。
When the editing process is terminated in the state where multiple outputs exist in the ladder program, if "close file" is selected by the pointer or cursor as shown in FIG. 7, the display device as shown in FIG. Display a confirmation message asking whether to finish editing the ladder program.

【0023】編集処理を終了するため、図8に示す確認
メッセージ中の「OK」ボタンをクリックすると、図9
に示すように表示装置に編集されたラダープログラムを
作業領域7aに保存するか否かを確認するための確認メ
ッセージを表示させる。
When the "OK" button in the confirmation message shown in FIG. 8 is clicked to end the editing process, the process shown in FIG.
As shown in, a confirmation message for confirming whether or not to save the edited ladder program in the work area 7a is displayed on the display device.

【0024】今、編集処理の終了により編集されたラダ
ープログラムを保存するため、確認メッセージ中の「O
K」ボタンをクリックすると、保存処理を実行すると共
に保存処理の過程でラダープログラム中の多重出力を検
索し、多重出力が存在する場合には、図10に示すよう
に表示装置に多重出力警告メッセージを表示させる。
Now, in order to save the ladder program edited by the end of the editing process, "O" in the confirmation message is displayed.
When the "K" button is clicked, the save process is executed and the multiple outputs in the ladder program are searched during the save process. If multiple outputs exist, the multiple output warning message is displayed on the display device as shown in FIG. Is displayed.

【0025】多重出力が存在するにも拘らず、編集され
たラダープログラムを作業領域7aに保存して終了する
には図10に示す多重出力警告メッセージ中の「OK」
ボタンを、また保存処理を中断してラダープログラム中
の多重出力を排除するために編集処理に戻るには「キャ
ンセル」ボタンをクリックする。
In order to save the edited ladder program in the work area 7a and terminate the processing despite the existence of multiple outputs, "OK" in the multiple output warning message shown in FIG.
Click the button or the "Cancel" button to abort the save process and return to the edit process to eliminate multiple outputs in the ladder program.

【0026】今、多重出力が存在するラダープログラム
の保存処理を続行するために「OK」ボタンがクリック
されると、図11に示すように表示装置上に検索したラ
ダープログラム中に存在する多重出力のリストを表示さ
せる。
Now, when the "OK" button is clicked to continue the saving process of the ladder program having multiple outputs, the multiple outputs existing in the ladder program retrieved on the display device as shown in FIG. Display the list of.

【0027】該多重出力リスト情報としては、図12に
示すように、a.多重出力があるモジュール名称と多重
出力の検出件数に関する情報、b.多重出力に係るモジ
ュールの名称に関する情報、多重出力に係るモジュール
名が複数ある場合には、表示ウィンドーのプルダウンボ
タンをクリックすることにより多重出力に係るモジュー
ルを表示し、その内からモジュール名を選択して多重出
力情報を表示させる。c.選択された多重出力の明細情
報で、多重出力の出現順を示す通し番号、多重出力
の検索元モジュールの開始行を1とした相対行数である
異常ステップ、検出されたモジュール名である多重出
力のモジュール名、多重出力の検索先モジュールでの
開始行を1とした相対行数である重複ステップ、多重
出力の検索命令、多重出力の検索デバイスが格納され
ているデバイスファイル名、多重出力の検索デバイス
のアドレス、多重出力の検索デバイス名からなる。
As the multiple output list information, as shown in FIG. Information on the name of the module having multiple outputs and the number of detected multiple outputs, b. If there is information about the name of the module related to multiple output, or if there are multiple module names related to multiple output, click the pull-down button in the display window to display the module related to multiple output and select the module name from them. To display multiple output information. c. In the detailed information of the selected multiple output, a serial number indicating the order of appearance of the multiple output, an abnormal step that is the relative row number with the start row of the search source module of the multiple output being 1 Module name, duplicate step, which is the relative number of rows where the starting line in the multiple output search target module is 1, multiple output search instruction, device file name in which multiple output search device is stored, multiple output search device Address and search device name for multiple output.

【0028】尚、表示装置に表示された多重出力リスト
情報を保存するには、図11に示す多重出力リスト画面
中の「保存」ボタンをクリックすると、図13に示すよ
うに表示装置上に多重出力リストの保存先とファイル名
の確認メッセージを表示し、該画面中の「OK」ボタン
をクリックすることにより多重出力リストを保存処理す
る。
To save the multiple output list information displayed on the display device, click the "Save" button in the multiple output list screen shown in FIG. 11, and the multiple output list information will be displayed on the display device as shown in FIG. A message for confirming the storage destination of the output list and the file name is displayed, and the multiple output list is stored by clicking the "OK" button on the screen.

【0029】また、多重出力リストを印刷するには、図
11に示す多重出力リスト画面中の「印刷」ボタンをク
リックすると、図14に示すように表示装置上に印刷確
認メッセージを表示し、該画面中の「OK」ボタンがク
リックされると、多重出力リストを印刷する。
To print the multiple output list, click the "Print" button in the multiple output list screen shown in FIG. 11 to display a print confirmation message on the display device as shown in FIG. When the "OK" button on the screen is clicked, the multiple output list is printed.

【0030】上記した保存処理または印刷処理を実行し
た後、或いは「キャンセル」ボタンがクリックされる
と、図15に示すように表示装置上にスタート画面を表
示して編集処理を終了する。
After executing the above-mentioned save process or print process, or when the "Cancel" button is clicked, a start screen is displayed on the display device as shown in FIG. 15 and the edit process is terminated.

【0031】上記したようにラダープログラムの編集処
理時に多重出力が入力された際、または編集処理の終了
時に多重出力警告メッセージを表示してプログラマーに
対し、入力ミスによりラダープログラム中に多重出力が
存在することを警告して多重出力を排除するように支援
する。
As described above, when multiple outputs are input during the editing process of the ladder program, or a multiple output warning message is displayed at the end of the editing process, a multiple output exists in the ladder program to the programmer due to an input error. Help to eliminate multiple outputs by warning.

【0032】また、ラダープログラムに多重出力が存在
したままの状態で編集処理を終了する場合にも、上記し
た多重出力警告メッセージと共に多重出力リストを表示
してプログラマーに対し、入力ミスによりラダープログ
ラム中に多重出力が存在することを警告して多重出力を
排除するように支援する。また、多重出力リストを表示
する際には、該リストを保存したり、印刷することによ
り次回の編集処理時に多重出力の存在箇所を容易に知る
ことができ、次回の編集処理時に多重出力の排除を支援
する。
Further, even when the editing process is terminated in the state where the multiple output exists in the ladder program, the multiple output list is displayed together with the above multiple output warning message, and the programmer is instructed in the ladder program due to an input error. Helps eliminate multiple outputs by warning that multiple outputs exist. Also, when displaying the multiple output list, it is possible to easily know where multiple outputs exist at the next editing process by saving or printing the multiple outputs list, and eliminating multiple outputs at the next editing process. To help.

【0033】ラダープログラム中の編集処理時に該入力
された多重出力を排除するように支援するが、上記した
ようにラダープログラム中に多重出力が存在する場合で
あっても、このラダープログラムを保存することができ
る。このため、プログラマーは編集されたラダープログ
ラムをマンマシンインターフェースからプロセスインタ
ーフェースへ移行して多重出力が存在するラダープログ
ラムに基づいて産業機械を動作させる事態が想定され
る。
Although the inputting multiple output is assisted during the editing process in the ladder program, the ladder program is saved even when the multiple output exists in the ladder program as described above. be able to. Therefore, it is assumed that the programmer moves the edited ladder program from the man-machine interface to the process interface and operates the industrial machine based on the ladder program having multiple outputs.

【0034】しかし、ラダープログラム中に多重出力が
存在する場合には産業機械を所定動作させることができ
ない。このため、本発明は、PC1をマンマシンインタ
ーフェースからプロセスインターフェースへ移行する
際、即ち、作業領域7aに記憶されたラダープログラム
を実行モジュールデータに変換して制御データメモリ8
へ転送させる過程に実行モジュール作成処理を設けて多
重出力が存在する場合には実行モジュールの作成を禁止
する。
However, when multiple outputs exist in the ladder program, the industrial machine cannot be operated in a predetermined manner. Therefore, according to the present invention, when the PC 1 is transferred from the man-machine interface to the process interface, that is, the ladder program stored in the work area 7a is converted into execution module data and the control data memory 8 is used.
Execution module creation processing is provided in the process of transferring to the, and creation of an execution module is prohibited when multiple outputs exist.

【0035】即ち、図15に示す初期画面中のメニュー
ウィンドーから図16に示すようにマンマシンインター
フェースからプロセスインターフェースへ移行するため
の実行モジュール作成モードが選択されると、図17に
示すように表示装置上に実行モジュール作成処理のダイ
アログを表示させる。
That is, when the execution module creation mode for shifting from the man-machine interface to the process interface as shown in FIG. 16 is selected from the menu window in the initial screen shown in FIG. 15, as shown in FIG. Display the execution module creation process dialog on the display device.

【0036】該画面において実行モジュールを作成する
ための「作成」ボタンがクリックされると、図18に示
すように表示装置に確認ダイアログを表示し、該画面の
「OK」ボタンがクリックされると、図19に示すよう
にラダープログラムを、産業機械を動作させるシーケン
スプログラムデータに変換する実行モジュール作成処理
すると共にその作成過程において多重出力を検索し、表
示装置に進捗状態を示すプログレスバーを表示させる。
When the "Create" button for creating the execution module is clicked on the screen, a confirmation dialog is displayed on the display device as shown in FIG. 18, and when the "OK" button on the screen is clicked. As shown in FIG. 19, an execution module creation process for converting a ladder program into sequence program data for operating an industrial machine is performed, multiple outputs are searched in the creation process, and a progress bar indicating the progress status is displayed on the display device. .

【0037】そして上記処理において多重出力が検出さ
れると、図20に示すように実行モジュール作成処理を
中断すると共に表示装置に多重出力警告メッセージを表
示させる。そして警告処理を続行するために該画面中の
「OK」ボタンがクリックされると、図21に示すよう
に表示装置上に多重出力リスト情報を表示させる。該多
重出力リスト情報としては図12に示すのと同様であ
り、該多重出力リストを保存、印刷或は「キャンセル」
ボタンをクリックして所定の処理を実行した後に初期画
面に戻る。
When multiple outputs are detected in the above process, the execution module creation process is interrupted and a multiple output warning message is displayed on the display device as shown in FIG. Then, when the "OK" button in the screen is clicked to continue the warning process, the multiple output list information is displayed on the display device as shown in FIG. The multiple output list information is similar to that shown in FIG. 12, and the multiple output list is saved, printed, or “cancel”.
After the button is clicked and a predetermined process is executed, the screen returns to the initial screen.

【0038】このように編集されたラダープログラムを
産業機械を実際に所定動作させるシーケンスプログラム
に変更する実行モジュール作成処理において多重出力が
検出された場合には実行モジュール作成処理を禁止し、
多重出力を含むプログラムデータが、産業機械が駆動制
御されるのを回避する。
When multiple outputs are detected in the execution module creating process for changing the ladder program edited in this way into a sequence program for actually operating the industrial machine in a predetermined manner, the execution module creating process is prohibited,
Program data, including multiple outputs, avoids industrial machines being drive controlled.

【0039】本実施形態は、先ずラダープログラムの編
集処理時に多重出力が入力された際及び編集処理を終了
して編集したラダープログラムを保存する際に多重出力
を検索し、多重出力が存在する場合には警告メッセージ
を表示することによりプログラマーへ警告することによ
り多重出力の排除を支援する。
In the present embodiment, first, when multiple outputs are input during the editing process of the ladder program and when the edited ladder process is finished and the edited ladder program is saved, the multiple outputs are searched, and when multiple outputs exist. A warning message is displayed to warn the programmer to help eliminate multiple outputs.

【0040】また、マンマシンインターフェースからプ
ロセスインターフェースへ移行する過程に実行モジュー
ル作成処理を設け、実行モジュール作成時に多重出力を
検索して多重出力が存在する場合には実行モジュール作
成処理を中断して多重出力を含むシーケンスプログラム
により産業機械を動作させるのを禁止すると共に警告メ
ッセージを表示して多重出力の排除を支援する。
In addition, an execution module creation process is provided in the process of transitioning from the man-machine interface to the process interface, and multiple outputs are searched when creating the execution module. It prohibits operating the industrial machine by the sequence program including the output and displays the warning message to support the elimination of multiple outputs.

【0041】これにより産業機械を所定動作させるのに
必要なシーケンスプログラムの作成を効率的に行うこと
ができる。
As a result, it is possible to efficiently create the sequence program necessary for operating the industrial machine in a predetermined manner.

【0042】[0042]

【発明の効果】本発明は、シーケンスプログラム作成時
に多重出力状態が存在する場合には多重出力情報を出力
してプログラマーに報知して多重出力状態を簡易、かつ
短時間に解消させることを可能にする。また、シーケン
スプログラム中に多重出力状態が存在する場合であって
も、シーケンスプログラムの編集及び保存を可能にして
作成作業を効率化することができる。更に、上記課題を
達成しつつ、シーケンスプログラムデータ中に存在する
多重出力状態が解消されない限り、多重出力が存在する
シーケンスプログラムによる産業機械の動作を禁止して
安全性を確保することができる。
According to the present invention, when a multiple output state exists at the time of creating a sequence program, the multiple output information is output to notify the programmer and the multiple output state can be easily eliminated in a short time. To do. Further, even when the sequence program has a multiple output state, the sequence program can be edited and saved, and the creation work can be made efficient. Further, while achieving the above object, the safety of the industrial machine can be secured by prohibiting the operation of the industrial machine by the sequence program having multiple outputs unless the multiple output state existing in the sequence program data is resolved.

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

【図1】PCの電気的ブロック図である。FIG. 1 is an electrical block diagram of a PC.

【図2】ラダープログラムの編集画面を示す説明図であ
る。
FIG. 2 is an explanatory diagram showing an edit screen of a ladder program.

【図3】多重出力の入力画面を示す説明図である。FIG. 3 is an explanatory diagram showing an input screen for multiple output.

【図4】多重出力入力後の編集画面を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing an edit screen after inputting multiple outputs.

【図5】編集処理時における多重出力警告メッセージ画
面を示す説明図である。
FIG. 5 is an explanatory diagram showing a multiple output warning message screen during editing processing.

【図6】警告後の編集処理続行画面を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing a screen for continuing editing processing after a warning.

【図7】編集処理の終了画面を示す説明図である。FIG. 7 is an explanatory diagram showing an end screen of edit processing.

【図8】編集処理終了確認画面を示す説明図である。FIG. 8 is an explanatory diagram showing an edit processing end confirmation screen.

【図9】編集されたラダープログラムの保存画面を示す
説明図である。
FIG. 9 is an explanatory diagram showing a screen for saving an edited ladder program.

【図10】保存時における多重出力警告メッセージ画面
を示す説明図である。
FIG. 10 is an explanatory diagram showing a multiple output warning message screen at the time of saving.

【図11】多重出力リストの表示画面を示す説明図であ
る。
FIG. 11 is an explanatory diagram showing a display screen of a multiple output list.

【図12】多重出力リストの詳細画面を示す説明図であ
る。
FIG. 12 is an explanatory diagram showing a detailed screen of a multiple output list.

【図13】多重出力リストの保存画面を示す説明図であ
る。
FIG. 13 is an explanatory diagram showing a screen for saving a multiple output list.

【図14】多重出力リストの印刷画面を示す説明図であ
る。
FIG. 14 is an explanatory diagram showing a print screen of a multiple output list.

【図15】初期画面を示す説明図である。FIG. 15 is an explanatory diagram showing an initial screen.

【図16】実行モジュール作成選択画面を示す説明図で
ある。
FIG. 16 is an explanatory diagram showing an execution module creation selection screen.

【図17】実行モジュール作成画面を示す説明図であ
る。
FIG. 17 is an explanatory diagram showing an execution module creation screen.

【図18】実行モジュール作成実行確認画面を示す説明
図である。
FIG. 18 is an explanatory diagram showing an execution module creation execution confirmation screen.

【図19】実行モジュール作成及び多重出力検索の進捗
状況画面を示す説明図である。
FIG. 19 is an explanatory diagram showing a progress status screen of execution module creation and multiple output search.

【図20】実行モジュール作成時における多重出力警告
メッセージ画面を示す説明図である。
FIG. 20 is an explanatory diagram showing a multiple output warning message screen when an execution module is created.

【図21】実行モジュール作成時における多重出力リス
ト表示画面を示す説明図である。
FIG. 21 is an explanatory diagram showing a multiple output list display screen when an execution module is created.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】産業機械の動作ステップ毎に入力条件とこ
れに対応する出力条件を入力してシーケンスプログラム
を作成する際に、該シーケンスプログラムに異なる入力
条件に対して出力部材を重複出力させる多重出力が入力
されたとき、多重出力警告情報を出力してプロラム作成
者に多重出力を警告すると共に編集処理を続行可能にし
たシーケンスプログラムにおける多重出力排除方法。
1. When an input condition and an output condition corresponding to the input condition are input for each operation step of an industrial machine to create a sequence program, the sequence program is multiplexed to output output members for different input conditions. A method for eliminating multiple outputs in a sequence program, which outputs multiple output warning information when an output is input to warn a program creator of multiple outputs and enables editing processing to continue.
【請求項2】多重出力が存在するシーケンスプログラム
を保存する際に多重出力警告情報及び多重出力リスト情
報を出力する請求項1のシーケンスプログラムにおける
多重出力排除方法。
2. The multiple output eliminating method in a sequence program according to claim 1, wherein the multiple output warning information and the multiple output list information are output when a sequence program having multiple outputs is stored.
【請求項3】多重出力リスト情報を出力可能にしたシー
ケンスプログラムにおける多重出力排除方法。
3. A multiple output eliminating method in a sequence program capable of outputting multiple output list information.
【請求項4】多重出力リスト情報をファイル出力可能に
した請求項3のシーケンスプログラムにおける多重出力
排除方法。
4. A method for eliminating multiple outputs in a sequence program according to claim 3, wherein the multiple output list information can be output as a file.
【請求項5】多重出力リスト情報を印字出力可能にした
請求項3のシーケンスプログラムにおける多重出力排除
方法。
5. The method for eliminating multiple outputs in a sequence program according to claim 3, wherein the multiple output list information can be printed out.
【請求項6】編集されたシーケンスプログラムを機械制
御部へ転送する際に、転送されるシーケンスプログラム
中の多重出力を検索し、多重出力が存在するときには、
転送処理を中断すると共に多重出力警告情報を出力して
プログラム作成者に多重出力を警告する請求項1の多重
出力リスト情報をファイルに保存可能にした請求項3の
シーケンスプログラムにおける多重出力排除方法。
6. When transferring an edited sequence program to a machine control unit, a multiple output in the transferred sequence program is searched for, and when multiple output exists,
5. The multiple output eliminating method in a sequence program according to claim 3, wherein the multiple output list information of claim 1 can be saved in a file by interrupting the transfer process and outputting multiple output warning information to warn the program creator of multiple output.
【請求項7】多重出力警告情報と共に多重出力リスト情
報を出力可能にした請求項6のシーケンスプログラムに
おける多重出力排除方法。
7. The multiple output eliminating method in a sequence program according to claim 6, wherein multiple output list information can be output together with multiple output warning information.
【請求項8】産業機械の動作ステップ毎に入力条件とこ
れに対応する出力条件を入力してシーケンスプログラム
を編集する際に異なる入力条件に対して出力部材を重複
出力させる多重出力が入力されたとき、多重出力警告情
報を出力してプロラム作成者に多重出力を警告すると共
に編集処理を続行可能にする、シーケンスプログラムの
編集終了時に保存する際に多重出力を検索し、多重出力
が検出された際に多重出力警告情報及び多重出力リスト
情報を出力して保存する、編集されたシーケンスプログ
ラムデータを制御データに変換する実行モジュール作成
処理を設け、実行モジュール作成を実行する際に多重出
力を検索し、多重出力が検出された際に実行モジュール
の作成を禁止すると共に多重出力警告情報及び多重出力
リスト情報を出力するシーケンスプログラムにおける多
重出力排除方法。
8. When inputting an input condition and an output condition corresponding thereto for each operation step of an industrial machine and editing a sequence program, a multiple output for outputting output members in duplicate for different input conditions is input. At this time, the multiple output warning information is output to warn the program creator of the multiple output, and the editing process can be continued.The multiple output is searched when the sequence program is saved at the end of editing, and the multiple output is detected. At the time of outputting the multiple output warning information and the multiple output list information and storing it, an execution module creation process for converting the edited sequence program data into control data is provided, and multiple outputs are searched when executing the execution module creation. Prohibits creation of execution module when multiple output is detected and outputs multiple output warning information and multiple output list information Multiple output exclusion method in the sequence program that.
JP2001241564A 2001-08-09 2001-08-09 Multiple output elimination method in sequence program Pending JP2003058210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001241564A JP2003058210A (en) 2001-08-09 2001-08-09 Multiple output elimination method in sequence program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001241564A JP2003058210A (en) 2001-08-09 2001-08-09 Multiple output elimination method in sequence program

Publications (1)

Publication Number Publication Date
JP2003058210A true JP2003058210A (en) 2003-02-28

Family

ID=19071982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001241564A Pending JP2003058210A (en) 2001-08-09 2001-08-09 Multiple output elimination method in sequence program

Country Status (1)

Country Link
JP (1) JP2003058210A (en)

Similar Documents

Publication Publication Date Title
JP4388427B2 (en) Numerical control device that can call programs written in script language
JP4220979B2 (en) Control unit display system
JPH0561646B2 (en)
GB2244573A (en) Programmable controller
JP6400558B2 (en) Sequence control programming device, sequence control programming method, and work system
JP3994090B2 (en) Numerical controller
JPH0259901A (en) Fault diagnosing system
JPH103307A (en) Numerical controller
JP4038216B2 (en) Sequence program editing device
JP2003058210A (en) Multiple output elimination method in sequence program
US20110184549A1 (en) Machining Tool Control System and Control Method
JP2006301765A (en) Maintenance device of control unit
JP2002091521A (en) Controller and control method
JP2006024015A (en) Plant control system and method for specifying interlock factor
JP3170154B2 (en) SFC program development equipment
JP2019192067A (en) System and system control method
JP2533373B2 (en) Control program creation method
JP5008520B2 (en) How to display data entry status in the display screen
JP4588364B2 (en) Controller screen generator
JP2003067011A (en) Undefined device editing method in sequence program
JPH09222911A (en) Method for diagnosing fault for nc machine tool and device therefor
JP2902888B2 (en) Programmable controller
JPH06282318A (en) Mumerically controlled machine tool
JP2002120125A (en) Automatic return system of tool exchange device and method
WO2022185670A1 (en) Development support device, method for controlling development support device, information processing program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080716

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091120

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100311