JP2008204254A - Automatic circuit extraction method for ladder program - Google Patents

Automatic circuit extraction method for ladder program Download PDF

Info

Publication number
JP2008204254A
JP2008204254A JP2007040771A JP2007040771A JP2008204254A JP 2008204254 A JP2008204254 A JP 2008204254A JP 2007040771 A JP2007040771 A JP 2007040771A JP 2007040771 A JP2007040771 A JP 2007040771A JP 2008204254 A JP2008204254 A JP 2008204254A
Authority
JP
Japan
Prior art keywords
ladder program
circuit
display screen
displayed
cause
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
JP2007040771A
Other languages
Japanese (ja)
Inventor
Keiichiro Ide
慶一郎 井出
Hiroki Daigo
弘記 醍醐
Inshi Hasegawa
員嗣 長谷川
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.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries 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 Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP2007040771A priority Critical patent/JP2008204254A/en
Publication of JP2008204254A publication Critical patent/JP2008204254A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve efficiency in maintenance operation of a ladder program after preparing throughout the ladder program. <P>SOLUTION: A book mark is inserted into each circuit of the ladder program displayed on a computer display screen in order to find out a cause of the stop or malfunction of a control object or the others, and the circuit with the book mark inserted thereto is displayed in a list on the display screen, so that automatic extraction can be achieved. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、プログラマブルコントローラ(PLC)で使用する制御プログラム(ラダープログラム)の回路自動抽出方法に関するものである。   The present invention relates to a circuit automatic extraction method for a control program (ladder program) used in a programmable controller (PLC).

従来から、プログラマブルコントローラは溶接機などの各種加工ないし工作機械等の制御対象のシーケンス制御に広く採用されている。シーケンス制御は予め定められた順序または一定の論理によって定められる順序に従って制御の各段階を逐次進めていて制御であり、このような制御に用いるプログラマブルコントローラにおいては、シーケンス制御の動きを示す手段としてラダープログラムが用いられるのが一般的である(特許文献1)。   Conventionally, programmable controllers have been widely adopted for various types of processing such as welding machines or sequence control of controlled objects such as machine tools. The sequence control is a control in which each step of the control is sequentially advanced according to a predetermined order or an order determined by a certain logic. In a programmable controller used for such control, a ladder is used as means for indicating the sequence control movement. A program is generally used (Patent Document 1).

このラダープログラムが一通り完成した後で制御対象が停止や誤動作するなどした場合、その原因を究明するには、多くの場合、ラダープログラム上の多数の関連する回路を調べる必要がある。この場合、ラダープログラムから回路を調べることはたいへん手間がかかりわずらわしい。
特開2000−242307号公報
When the control target stops or malfunctions after the ladder program is completed, it is often necessary to examine a large number of related circuits on the ladder program in order to investigate the cause. In this case, it is very troublesome to examine the circuit from the ladder program.
JP 2000-242307 A

本発明では、ラダープログラムが一通り完成した後で、そのラダープログラムを実行した結果、制御対象の制御が所望通りにできない場合、その原因等やその他を調べたりしてラダープログラムを修正したりするなどに際して、その原因究明や修正等の作業を容易迅速かつ効率的に行うことができるようにすることである。   In the present invention, after the ladder program is completed, if the control target cannot be controlled as desired as a result of executing the ladder program, the ladder program is corrected by investigating the cause and others. In such a case, it is possible to easily and quickly and efficiently perform work such as investigation and correction of the cause.

本発明によるラダープログラム回路自動抽出方法は、コンピュータ表示画面に表示してあるプログラマブルコントローラの制御プログラム(ラダープログラム)に対してそれを構成する各回路に対して任意にブックマークを挿入可能とすると共に、そのブックマークを挿入した回路を上記コンピュータ表示画面上やその他へ自動抽出可能としたことを特徴とするものである。   The ladder program circuit automatic extraction method according to the present invention allows a bookmark to be arbitrarily inserted into each circuit constituting the control program (ladder program) of the programmable controller displayed on the computer display screen, The circuit in which the bookmark is inserted can be automatically extracted on the computer display screen and others.

好ましくは上記自動抽出に際してコンピュータ表示画面上にブックマークを挿入した回路を一覧表示する。   Preferably, a list of circuits with bookmarks inserted is displayed on the computer display screen during the automatic extraction.

ブックマークを挿入した回路の抽出先はコンピュータ表示画面に限定されず、例えば、コンピュータからの通信で別のコンピュータ機器、モバイル機器、その他の機器の表示画面上に抽出させてもよい。   The extraction destination of the circuit into which the bookmark is inserted is not limited to the computer display screen. For example, the circuit may be extracted on the display screen of another computer device, mobile device, or other device by communication from the computer.

本発明では、ラダープログラムを作成し、そのラダープログラムをプログラマブルコントローラのCPUにインストールして制御対象を制御した結果、制御対象の制御が所望通りではなく、例えば制御対象が停止したり誤動作したりした場合、その原因を究明するとか、あるいは、その原因が究明されてラダープログラムを修正する場合等には、それに関連するラダープログラム上の各回路にブックマークを挿入しておけば、その後でそのブックマークを挿入した一連の回路をコンピュータ表示画面等に例えば一覧表示等で自動抽出することができるので、上記原因究明を容易迅速に行うことができ、作業者の作業疲労を著しく軽減することができる。また、プログラマブルコントローラが処理を実行すると、それに対応してコンピュータ表示画面のラダープログラムのシンボルの動作、非動作状態が判別できるように色や図形を変えて表示するRUN中モニタ機能が一般的とされている。この場合、関連している回路を自動抽出すると共に同一表示画面上でラダープログラムのRUN中モニタを行うことによりさらに容易に上記原因を究明することができるようになる。   In the present invention, as a result of creating a ladder program and installing the ladder program in the CPU of the programmable controller to control the control target, the control target is not as desired. For example, the control target stops or malfunctions. If the cause is investigated, or if the cause is investigated and the ladder program is modified, a bookmark is inserted in each circuit on the ladder program related to the cause, and the bookmark is then Since the inserted series of circuits can be automatically extracted on a computer display screen or the like by, for example, a list display, the cause can be easily and quickly investigated, and the operator's work fatigue can be significantly reduced. In addition, when a programmable controller executes a process, a monitor function during RUN is generally used to display the colors and figures in a different manner so that the operation and non-operation state of the ladder program symbol on the computer display screen can be identified. ing. In this case, it is possible to more easily find out the cause by automatically extracting related circuits and monitoring the RUN of the ladder program on the same display screen.

本発明によれば、ラダープログラム作成後においてそのラダープログラムに従う制御対象の制御に関連する回路をブックマーク挿入により後で一覧表示して自動抽出できるので上記制御対象の停止や誤動作やその他の原因究明等を容易迅速に行うことができ、作業者の作業疲労を著しく軽減することができる。   According to the present invention, after the ladder program is created, circuits related to the control of the control target according to the ladder program can be automatically displayed by displaying a list later by inserting a bookmark, so that the control target is stopped, malfunctioned, investigation of other causes, etc. Can be performed easily and quickly, and the operator's work fatigue can be significantly reduced.

以下、添付した図面を参照して、本発明の実施の形態に係るラダープログラム上の回路自動抽出方法を説明する。   Hereinafter, a circuit automatic extraction method on a ladder program according to an embodiment of the present invention will be described with reference to the accompanying drawings.

プログラマブルコントローラとこれにより制御される制御対象とを含むプログラマブルコントローラシステムにおいては、その制御を実行するプログラムとなるラダープログラムの作成が一通り終了すると、ラダープログラム作成者は、そのラダープログラムをプログラマブルコントローラにインストールして、実際に、制御対象を制御することが行われる。   In a programmable controller system including a programmable controller and a controlled object controlled by the programmable controller, when the creation of a ladder program that is a program for executing the control is completed, the ladder program creator converts the ladder program into a programmable controller. Installation is actually performed to control the controlled object.

この場合、その制御対象が不所望に停止したり誤動作したりした場合、その原因を究明することが行われる。そのため、ラダープログラム作成者は、図1で示すように、ラダープログラムをコンピュータ表示画面に表示させる。このコンピュータ表示画面では、一例として、回路1−3、10−12が表示されている。途中の回路の表示は略している。   In this case, when the control object stops undesirably or malfunctions, the cause is investigated. Therefore, the ladder program creator displays the ladder program on the computer display screen as shown in FIG. On this computer display screen, as an example, circuits 1-3 and 10-12 are displayed. The display of the circuit in the middle is omitted.

そして、ラダープログラム作成者は、上記原因およびその原因に関連すると思われる回路が例えば回路1,2,10と思われる場合、図2で示すように、そのラダープログラム中の回路1,2,10にブックマーク(図2中の黒半円図形)を記入する。このブックマークの記入方法は実施の形態に何等限定されず、手動、自動等、いかなる形態でもよい。   Then, if the cause of the ladder program is considered to be, for example, the circuits 1, 2, and 10, the circuit 1, 2, 10 in the ladder program is shown in FIG. 2. Enter a bookmark (black semicircle figure in Fig. 2). The bookmark entry method is not limited to the embodiment, and any form such as manual or automatic may be used.

そして、上記原因およびその原因に関連すると思われる回路の検討が終了し、上記ブックマークの一連の挿入が終了した段階で、図3で示すように、ブックマークを挿入した回路をコンピュータ表示画面に一覧表示により自動抽出する。この自動抽出の形態は何でもよく、特に限定しない。例えばこの自動抽出形態は、コンピュータ表示画面の下側の空き領域に一覧表示の形態で表示させたり、あるいは、サブウインドウに呼び出しそのサブウインドウ上に表示させてもよい。図3では回路1−12のうち、ブックマークを入れた回路1,2,10のみが自動抽出されて表示されている。   Then, when the examination of the cause and the circuit considered to be related to the cause is finished, and the series of insertion of the bookmark is finished, as shown in FIG. 3, a list of the circuits in which the bookmark is inserted is displayed on the computer display screen. Extract automatically. The form of this automatic extraction is not particularly limited. For example, this automatic extraction form may be displayed in a list display form in a free area below the computer display screen, or may be called up in a subwindow and displayed on the subwindow. In FIG. 3, of the circuits 1-12, only the circuits 1, 2, and 10 with bookmarks are automatically extracted and displayed.

なお、ラダープログラムでは、例えば図1で回路1,2では出力条件に,回路11,12では入力条件にそれぞれY1,Y2が使われているように、前に出てきた回路の出力条件が、後に続く回路の入力条件になっている場合がある。そこで、そのようなビットまたはレジスタを一括で検索して複数箇所に散在する回路に自動的にブックマークを付けておき、ブックマークを付けた回路のみを表示しておき、後で、自動抽出可能とすれば、ラダープログラム作成者は、この回路の自動抽出により、記原因およびその原因に関連すると思われる回路を検討し、制御対象の停止や誤動作やその他の原因究明とラダープログラムの見直し等を容易迅速に実施可能となり、作業疲労を著しく軽減することができる。   In the ladder program, for example, the output conditions of the circuit that has come out before are as follows: Y1 and Y2 are used for the output conditions in circuits 1 and 2 and the input conditions in circuits 11 and 12, respectively. It may be the input condition for the circuit that follows. Therefore, such a bit or register can be searched at once, and bookmarks can be automatically attached to circuits scattered in multiple locations, and only the circuits with bookmarks can be displayed and later automatically extracted. For example, the ladder program creator can examine the cause of the problem and the circuit that seems to be related to the cause by automatic extraction of this circuit, and easily and quickly investigate the cause of the control target stoppage, malfunction, other causes, and review the ladder program. Therefore, work fatigue can be remarkably reduced.

図1はラダープログラムを示す図である。FIG. 1 is a diagram showing a ladder program. 図2は図1のラダープログラムにブックマークを入れた状態を示す図である。FIG. 2 is a diagram showing a state where bookmarks are entered in the ladder program of FIG. 図3は図2でブックマークを入れたラダー回路を自動抽出した状態を示す図である。FIG. 3 is a diagram showing a state in which the ladder circuit with a bookmark in FIG. 2 is automatically extracted.

Claims (2)

コンピュータ表示画面に表示してあるプログラマブルコントローラの制御プログラム(ラダープログラム)に対してそれを構成する各回路に対して任意にブックマークを挿入可能とすると共に、そのブックマークを挿入した回路を上記コンピュータ表示画面上やその他へ自動抽出可能とした、ことを特徴とするラダープログラム回路自動抽出方法。   A bookmark can be arbitrarily inserted into each circuit constituting the control program (ladder program) of the programmable controller displayed on the computer display screen, and the circuit in which the bookmark is inserted is connected to the computer display screen. A ladder program circuit automatic extraction method characterized in that it can be automatically extracted to the top and others. 上記自動抽出に際してコンピュータ表示画面上にブックマークを挿入した回路を一覧表示する、ことを特徴とする請求項1に記載の方法。   2. The method according to claim 1, wherein a list of circuits with bookmarks inserted is displayed on a computer display screen during the automatic extraction.
JP2007040771A 2007-02-21 2007-02-21 Automatic circuit extraction method for ladder program Pending JP2008204254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007040771A JP2008204254A (en) 2007-02-21 2007-02-21 Automatic circuit extraction method for ladder program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007040771A JP2008204254A (en) 2007-02-21 2007-02-21 Automatic circuit extraction method for ladder program

Publications (1)

Publication Number Publication Date
JP2008204254A true JP2008204254A (en) 2008-09-04

Family

ID=39781683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007040771A Pending JP2008204254A (en) 2007-02-21 2007-02-21 Automatic circuit extraction method for ladder program

Country Status (1)

Country Link
JP (1) JP2008204254A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016104029A1 (en) 2015-03-13 2016-09-15 Fanuc Corporation Control device with the function of extracting and representing a branch circle in a ladder program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260901A (en) * 1991-01-16 1992-09-16 Mitsubishi Electric Corp Method and device for printing sequence program
JPH09319414A (en) * 1996-05-29 1997-12-12 Keyence Corp Data processor, sequence program editing method, and recording medium
JP2003084813A (en) * 2001-09-14 2003-03-19 Fuji Electric Co Ltd Editing device for ladder circuit and its editing method
JP2004062223A (en) * 2002-07-24 2004-02-26 Yaskawa Electric Corp Programming device of programmable controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260901A (en) * 1991-01-16 1992-09-16 Mitsubishi Electric Corp Method and device for printing sequence program
JPH09319414A (en) * 1996-05-29 1997-12-12 Keyence Corp Data processor, sequence program editing method, and recording medium
JP2003084813A (en) * 2001-09-14 2003-03-19 Fuji Electric Co Ltd Editing device for ladder circuit and its editing method
JP2004062223A (en) * 2002-07-24 2004-02-26 Yaskawa Electric Corp Programming device of programmable controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016104029A1 (en) 2015-03-13 2016-09-15 Fanuc Corporation Control device with the function of extracting and representing a branch circle in a ladder program
US9766994B2 (en) 2015-03-13 2017-09-19 Fanuc Corporation Monitoring device with function of extracting and displaying branch circuit in ladder program
DE102016104029B4 (en) 2015-03-13 2019-02-07 Fanuc Corporation Control device with the function of extracting and representing a branch circle in a ladder program

Similar Documents

Publication Publication Date Title
JP6127755B2 (en) Information processing apparatus, control method for information processing apparatus, and control program
JP5349712B1 (en) Numerical controller
US10915419B2 (en) Industrial control system, and assistance apparatus, control assist method, and program thereof
JP2006210729A (en) Information management system in component mounting line
JP6430037B2 (en) Debugging support apparatus and debugging support method
US20150338834A1 (en) Simulation system
JP4962725B2 (en) Tool device in multi PLC / distributed control system
CN102929762A (en) Method and device for monitoring health state of terminal equipment
US20120072777A1 (en) Debugging device, debugging method, and computer program for sequence program
CN101211166A (en) Simulation data creation supporting device
JP6333824B2 (en) Data processing apparatus used by substrate working machine and substrate working system having the same
JP2008204254A (en) Automatic circuit extraction method for ladder program
JP2012159868A (en) Programming device of programmable logic controller
JP4636958B2 (en) Equipment operation support system
JP5566473B2 (en) System design equipment
JP6730355B2 (en) Integrated simulation system with improved operability
TWI436182B (en) Control device and control method of working machine
JP2009289151A (en) New obstacle coping procedure knowledge creation program, new obstacle coping procedure knowledge creation device and new obstacle coping procedure knowledge creation method
JP5962086B2 (en) PLC system, information display method, PLC, and maintenance apparatus
JP5916647B2 (en) Maintenance device
JP4835340B2 (en) Program debugging device
JP6089837B2 (en) Updating method of control computer in control computer system
KR101303866B1 (en) Method of monitoring substrate processing apparatus
JP2009288954A (en) Actual machine simulation data simulator device
CN108027607B (en) Automatic generation system of control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20100212

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110315

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111202

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120403