JP2008059421A - Sequence program editing support device - Google Patents

Sequence program editing support device Download PDF

Info

Publication number
JP2008059421A
JP2008059421A JP2006237409A JP2006237409A JP2008059421A JP 2008059421 A JP2008059421 A JP 2008059421A JP 2006237409 A JP2006237409 A JP 2006237409A JP 2006237409 A JP2006237409 A JP 2006237409A JP 2008059421 A JP2008059421 A JP 2008059421A
Authority
JP
Japan
Prior art keywords
sequence program
commented
comment
commenting
program editing
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
JP2006237409A
Other languages
Japanese (ja)
Inventor
Zoo Il Yang
主日 梁
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2006237409A priority Critical patent/JP2008059421A/en
Publication of JP2008059421A publication Critical patent/JP2008059421A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a sequence program editing support device commentating a specified step of a sequence program, without affecting an executed program. <P>SOLUTION: This sequence program editing support device provided with a commentating function for temporarily disabling the specified step of the sequence program executed in a PLC is provided with a commentation processing means for commentating the selected step by selecting the step to be commentated. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、プログラマブル・ロジック・コントローラ(以下、PLC)で実行されるシーケンスプログラムの特定ステップを、一時的に非実行処理にするコメント化機能を備えたシーケンスプログラム編集支援装置に関するものである。   The present invention relates to a sequence program editing support apparatus having a commenting function that temporarily disables a specific step of a sequence program executed by a programmable logic controller (hereinafter referred to as PLC).

PLCで実行されるシーケンスプログラムの編集支援装置については、特許文献1に技術的な開示がある。図6は、従来のシーケンスプログラム編集支援装置の構成例を示す機能ブロック図である。   Patent Document 1 has a technical disclosure regarding an editing support apparatus for a sequence program executed by a PLC. FIG. 6 is a functional block diagram showing a configuration example of a conventional sequence program editing support apparatus.

操作監視装置1は、制御バス2に接続されており、この制御バス2に少なくとも1台のPLC3が接続されている。PLC3を代表として示せば、このPLCによりプラント4の機器41,42,…4nがシーケンス制御される。   The operation monitoring apparatus 1 is connected to a control bus 2, and at least one PLC 3 is connected to the control bus 2. If the PLC 3 is shown as a representative, the equipment 41, 42,... 4n of the plant 4 is sequence-controlled by this PLC.

PLC3は、アプリケーションデータベース31を備え、上位装置で構築されてダウンロードされたシーケンスプログラム32を保持する。このシーケンスプログラム32は、プログラム実行手段33に読み出され、プラント4の機器41,42,…5nのシーケンス制御を実行している。   The PLC 3 includes an application database 31 and holds a sequence program 32 constructed and downloaded by a host device. This sequence program 32 is read by the program execution means 33 and executes sequence control of the devices 41, 42,.

PLC3で実行されるシーケンスプログラムを編集する上位装置として、エンジニアリングPC5が制御バス2に接続されている。エンジニアリングPC5は、オペレータ6により操作されるシーケンスプログラム編集手段51を備える。   An engineering PC 5 is connected to the control bus 2 as a host device that edits a sequence program executed by the PLC 3. The engineering PC 5 includes sequence program editing means 51 operated by the operator 6.

シーケンスプログラム編集手段51で新規に編集されたシーケンスプログラムまたはデバッグされたシーケンスプログラムは、エンジニアリングデータベース52にシーケンスプログラム53として保持される。   The sequence program newly edited by the sequence program editing means 51 or the sequence program debugged is held as a sequence program 53 in the engineering database 52.

エンジニアリングデータベース52に保持されたシーケンスプログラム53は、ダウンロード処理手段54によりPLC3で実行しやすい実行型に変換されて、アプリケーションデータベース31にシーケンスプログラム32としてダウンロードされる。   The sequence program 53 held in the engineering database 52 is converted into an execution type that can be easily executed by the PLC 3 by the download processing unit 54, and is downloaded to the application database 31 as the sequence program 32.

PLCで実行されるシーケンスプログラムは、IEC 61131-3の規格に準拠する形式で記述される。記述の形式は種々あるが、一般にラダー図の形式による記述が汎用的に採用されている。   The sequence program executed by the PLC is described in a format conforming to the standard of IEC 61131-3. There are various description formats. Generally, a description in a ladder diagram format is generally used.

シーケンスプログラムの編集またはデバッグの過程で、オペレータは特定のプログラムステップを一時的に非実行処理にする、いわゆるコメント化処理をしたい要求がしばしば発生する。この場合、コメント化処理を解除したときに、プログラムは元の実行形式に戻る必要がある。   In the process of editing or debugging a sequence program, an operator often makes a request for a so-called comment process that temporarily disables a specific program step. In this case, when the comment process is canceled, the program needs to return to the original execution format.

IEC 61131-3の規格に準拠するシーケンスプログラムでは、高級なプログラム言語でサポートされているコメント化機能を持たないために、特定のプログラムステップを一時的に非実行処理にする場合には、インターロック命令及びインターロッククリア命令を記述する手法が採用されている。   The sequence program that complies with the IEC 61131-3 standard does not have the commenting function supported by high-level programming languages. A method of describing an instruction and an interlock clear instruction is employed.

図7は、従来の手法により特定ステップを非実行化処理したラダー図の表示イメージである。行番号00012〜00014の3ステップを非実行のインターロック領域としたい場合に、これら行番号を挟んで、行番号00011に、リレーM00033のオンで実行されるインターロック命令ILを記述し、行番号00015にインターロッククリア命令ILCを記述して、行番号00012〜00014の3ステップをインターロック領域化する。   FIG. 7 is a display image of a ladder diagram in which a specific step is not executed by a conventional method. When 3 steps of line numbers 00001 to 0014 are to be set as non-execution interlock areas, an interlock instruction IL executed when relay M00033 is turned on is described in line number 00001 across these line numbers. An interlock clear instruction ILC is described in 00015, and the three steps of line numbers 0102 to 00001 are made into an interlock area.

特開2006−202165号公報JP 2006-202165 A

インターロック命令及びインターロッククリア命令による従来のコメント化手法では、次のような問題がある。
(1)図6において、エンジニアリングデータベース52に保持されたシーケンスプログラム53のインターロック領域のプログラムは、シーケンスプログラム53をPLC3のアプリケーションデータベース31にダウンロードする際に、実行型に変換させる必要から、ダウンロード処理手段54により、インターロック領域部分が自動的に削除されてしまう。
The conventional commenting method using the interlock instruction and the interlock clear instruction has the following problems.
(1) In FIG. 6, since the program in the interlock area of the sequence program 53 held in the engineering database 52 needs to be converted into an executable type when the sequence program 53 is downloaded to the application database 31 of the PLC 3, download processing is performed. The interlock area portion is automatically deleted by the means 54.

(2)従って、ダウンロードされたシーケンスプログラム32は、インターロック領域部分32aが削除されているので、インターロック領域部分を元に戻して実行型にするには、シーケンスプログラム53に記述したインターロック命令及びインターロッククリア命令を削除して、インターロック領域を元の実行方に戻して再度ダウンロードする必要があり、解除処理が極めて煩雑となる。 (2) Therefore, since the interlock area portion 32a is deleted from the downloaded sequence program 32, the interlock instruction described in the sequence program 53 can be used to restore the interlock area portion to the original type. In addition, it is necessary to delete the interlock clear command, return the interlock area to the original execution method, and download it again, which makes the release process extremely complicated.

(3)PLC3にダウンロードしたシーケンスプログラム32及び実行結果を反映するパラメータのデータ値を、エンジニアリングPC側にアップロードし、制御動作の結果を検証して修正するデバッグ作業では、インターロック領域部分32aが削除されているので、この領域のデバッグ作業が不可能となる。 (3) The sequence area 32 downloaded to the PLC 3 and the parameter data value reflecting the execution result are uploaded to the engineering PC, and the debug area that verifies and corrects the result of the control operation is deleted in the interlock area 32a. Therefore, debugging work in this area becomes impossible.

本発明は上述した問題点を解決するためになされたものであり、実行するプログラムに影響を与えることなく、シーケンスプログラムの特定ステップをコメント化処理できるシーケンスプログラム編集支援装置の実現を目的としている。   The present invention has been made to solve the above-described problems, and an object of the present invention is to realize a sequence program editing support apparatus that can process a specific step of a sequence program as a comment without affecting the program to be executed.

このような課題を達成するために、本発明は次の通りの構成になっている。
(1)PLCで実行されるシーケンスプログラムの特定ステップを、一時的に非実行処理にするコメント化機能を備えたシーケンスプログラム編集支援装置であって、
コメント化対象ステップを選択し、この選択したステップをコメント化するコメント化処理手段を備えることを特徴とするシーケンスプログラム編集支援装置。
In order to achieve such a subject, the present invention has the following configuration.
(1) A sequence program editing support apparatus having a commenting function that temporarily disables a specific step of a sequence program executed by a PLC,
A sequence program editing support apparatus comprising comment processing means for selecting a comment target step and converting the selected step into a comment.

(2)前記コメント化処理手段は、コメント化対象ステップの条件リレーまたは命令の記述を、強制的にオフに規制する条件リレーまたは命令の記述に一時的に置換することを特徴とする(1)に記載のシーケンスプログラム編集試験装置。 (2) The commenting processing means temporarily replaces the description of the conditional relay or command in the commenting target step with a description of the conditional relay or command forcibly turning off (1). The sequence program editing test apparatus described in 1.

(3)前記コメント化処理手段は、コメント化対象ステップの前段に、自身の条件リレーの記述を強制的にオフに規制する条件リレーの記述とすると共に、前記コメント化対象ステップをジャンプする命令ラベルを備えたコメント化処理ステップを挿入することを特徴とする(1)に記載のシーケンスプログラム編集支援装置。 (3) The commenting processing means sets a description of a conditional relay that forcibly restricts the description of the conditional relay to be turned off before the commenting target step, and jumps the commenting target step. A sequence program editing support apparatus according to (1), wherein a commenting process step is provided.

(4)コメント化した前記コメント化対象ステップの情報を保持するコメント化情報保持手段を備え、前記コメント化処理手段は、このコメント化情報保持手段の情報を参照して前記コメント化を解除することを特徴とする(1)乃至(3)のいずれかに記載のシーケンスプログラム編集支援装置。 (4) It is provided with commented information holding means for holding the commented step information to be commented, and the commenting processing means cancels the commenting with reference to the information of the commented information holding means. (4) The sequence program editing support apparatus according to any one of (1) to (3).

(5)前記シーケンスプログラムは、IEC 61131-3の規格に準拠する形式で記述されていることを特徴とする(1)乃至(4)のいずれかに記載のシーケンスプログラム編集支援装置。 (5) The sequence program editing support apparatus according to any one of (1) to (4), wherein the sequence program is described in a format conforming to a standard of IEC 61131-3.

(6)前記シーケンスプログラムは、前記PLCと通信するエンジニアリングPCで編集され、前記PLCにダウンロードされて実行されることを特徴とする(1)乃至(5)のいずれかに記載のシーケンスプログラム編集支援装置。 (6) The sequence program editing support according to any one of (1) to (5), wherein the sequence program is edited by an engineering PC communicating with the PLC, downloaded to the PLC, and executed. apparatus.

以上説明したことから明らかなように、本発明によれば次のような効果がある。
(1)特殊条件リレーまたは特殊命令機能を有するコメント化処理手段の導入により、コメント領域も形式上実行型を維持させることができ、シーケンスプログラム53をPLC3のアプリケーションデータベース31にダウンロードする際にコメント領域が削除されることがない。
As is apparent from the above description, the present invention has the following effects.
(1) By introducing comment processing means having a special condition relay or special instruction function, the comment area can be maintained in the form of execution, and the comment area is downloaded when the sequence program 53 is downloaded to the application database 31 of the PLC 3. Will never be deleted.

(2)従って、ダウンロードされたシーケンスプログラム32は、コメント領域の解除操作で元の実行型の記述に戻すことができ、解除処理が極めて容易となる。 (2) Therefore, the downloaded sequence program 32 can be returned to the original execution type description by the comment area releasing operation, and the releasing process becomes extremely easy.

(3)PLC3にダウンロードしたシーケンスプログラム32を、エンジニアリングPC側にアップロードし、制御動作を検証して修正するデバッグ作業でも、コメント領域部分は削除されないでアップロードされるので、この領域のデバッグ作業が可能となる。 (3) Even in the debugging work where the sequence program 32 downloaded to the PLC 3 is uploaded to the engineering PC and the control operation is verified and corrected, the comment area is uploaded without being deleted, so this area can be debugged. It becomes.

(4)コメント化処理の対象となった情報は、CPUが処理するプログラム本体には書き込まれず、コメント化情報保持手段に保持されている。コメント化処理手段は、この保持情報を参照して解除処理を実行できるので、CPUの実行スピードを阻害することがない。 (4) The information subjected to the commenting process is not written in the program body processed by the CPU but is held in the commented information holding unit. Since the comment processing means can execute the release process with reference to the stored information, the execution speed of the CPU is not hindered.

以下、本発明を図面により詳細に説明する。図1は、本発明を適用したシーケンスプログラム編集支援装置の一実施形態を示す機能ブロック図である。図6で説明した従来装置と同一要素には同一符号を付して説明を省略する。   The present invention will be described in detail below with reference to the drawings. FIG. 1 is a functional block diagram showing an embodiment of a sequence program editing support apparatus to which the present invention is applied. The same elements as those of the conventional apparatus described with reference to FIG.

本発明を適用したエンジニアリングPC100において、シーケンスプログラム編集手段101、エンジニアリングデータベース102、シーケンスプログラム103、ダウンロード処理手段104の要素は、図6で説明した、シーケンスプログラム編集手段51、エンジニアリングデータベース52、シーケンスプログラム53、ダウンロード処理手段54と同一機能である。   In the engineering PC 100 to which the present invention is applied, the elements of the sequence program editing means 101, the engineering database 102, the sequence program 103, and the download processing means 104 are the sequence program editing means 51, the engineering database 52, and the sequence program 53 described in FIG. This has the same function as the download processing means 54.

本発明で追加されたコメント化処理手段105は、オペレータ6の操作で起動され、シーケンスプログラム編集手段101を支援して、シーケンスプログラムの特定ステップを非実行とするコメント化領域を形成せしめ、コメント化処理に関する情報をコメント化情報保持手段106に保持させる。   The commenting processing means 105 added in the present invention is activated by the operation of the operator 6, supports the sequence program editing means 101, forms a commenting area in which a specific step of the sequence program is not executed, and is commented out. Information about processing is held in the commented information holding means 106.

オペレータ6の操作でコメント化処理を解除する場合には、コメント化処理手段105は、コメント化情報保持手段106に保持された情報を参照してシーケンスプログラムをコメント化処理前の状態に復元させる。   When the commenting process is canceled by the operation of the operator 6, the commenting process unit 105 refers to the information held in the commented information holding unit 106 and restores the sequence program to the state before the commenting process.

以下、図2乃至図5により、本発明によるコメント化処理の実施形態を説明する。図2は、プログラムの特定の1ステップの条件リレーを非実行としてそのステップをコメント化する場合のラダー図の遷移を示す表示イメージである。   Hereinafter, an embodiment of commenting processing according to the present invention will be described with reference to FIGS. FIG. 2 is a display image showing a transition of a ladder diagram when a conditional relay of one specific step of a program is not executed and that step is commented out.

図2(A)はコメント化処理前のラダー図、図2(B)はコメント化処理後のラダー図を示す。行番号00015の条件リレーを非実行したい場合には条件リレーの記述を、特殊リレーM-OFFに置換する。この特殊リレーM-OFFは、条件を強制的にオフに規制するリレー機能を持つ。   FIG. 2A shows a ladder diagram before the comment processing, and FIG. 2B shows a ladder diagram after the comment processing. If you do not want to execute the conditional relay of line number 00001, replace the description of the conditional relay with the special relay M-OFF. This special relay M-OFF has a relay function that forcibly restricts the condition to OFF.

図3は、プログラムの特定の1ステップの命令を非実行としてそのステップをコメント化する場合のラダー図の遷移を示す表示イメージである。   FIG. 3 is a display image showing the transition of the ladder diagram when the instruction of one specific step of the program is not executed and the step is commented out.

図3(A)はコメント化処理前のラダー図、図3(B)はコメント化処理後のラダー図を示す。行番号00014の命令を非実行したい場合には命令の記述を、特殊命令M-OFFに置換する。この特殊命令M-OFFは、命令を強制的に非実行に規制する機能を持つ。   FIG. 3A shows a ladder diagram before the comment processing, and FIG. 3B shows a ladder diagram after the comment processing. If the instruction at line number 0014 is not to be executed, the instruction description is replaced with the special instruction M-OFF. This special instruction M-OFF has a function to forcibly restrict the instruction to non-execution.

図4は、プログラムの複数ステップを非実行としてコメント化領域とする場合のラダー図の遷移を示す表示イメージである。   FIG. 4 is a display image showing the transition of the ladder diagram in the case where a plurality of steps of the program are not executed and a comment area is set.

行番号00012〜00014のプログラムステップをコメント化領域としたい場合、コメント化対象ステップの前段である行番号00011に、自身の条件リレー記述を強制的にオフに規制する条件リレーM-OFFを記述とすると共に、コメント化対象ステップをジャンプする特殊命令_JMP及びジャンプ先を記述したラベルを備えたコメント化処理ステップを挿入する。   If you want to set the program steps of line numbers 00001 to 0014 as the commented area, the condition relay M-OFF that forcibly restricts its own conditional relay description to off is described in line number 00001, which is the previous stage of the commented step. At the same time, a special instruction _JMP for jumping the comment target step and a comment processing step having a label describing the jump destination are inserted.

ジャンプ先の指定の手法として、図4の実施形態では、_JMP命令のジャンプ先ラベルの記述を、コメント化対象の最終ステップの次段である行番号00015のプログラムステップをMOFF-1として、このプログラムステップMOFF-1を、自身の条件リレー記述を強制的にオフに規制する条件リレーの記述とすると共に、命令もM-OFFとしたコメント化処理終了ステップとする。   As a method for specifying the jump destination, in the embodiment shown in FIG. 4, the description of the jump destination label of the _JMP instruction is set to MOFF-1, and the program step of the line number 00001 which is the next stage of the final step to be commented is set as MOFF-1. Step MOFF-1 is a description of a conditional relay that forcibly restricts its own conditional relay description to OFF, and is a commenting process end step in which the instruction is also M-OFF.

図5は、プログラムの複数ステップを非実行としてコメント化領域とする場合のラダー図の遷移を示す、他の実施形態の表示イメージである。   FIG. 5 is a display image of another embodiment showing a transition of a ladder diagram when a plurality of steps of a program are not executed and a commented area is set.

ジャンプ先の指定の別の手法として、図5の実施形態では、_JMP命令のジャンプ先ラベルの記述を、コメント化対象の最終ステップの次段である行番号00015のプログラムステップMLB001として、図4のようにコメント化処理終了ステップを記述しない。   As another method of specifying the jump destination, in the embodiment of FIG. 5, the description of the jump destination label of the _JMP instruction is set as the program step MLB001 of the line number 00001, which is the next stage of the final step to be commented, as shown in FIG. Thus, the commenting process end step is not described.

図2乃至図5に示した特殊条件リレーまたは特殊命令M-OFFを記述したプログラムステップの挿入により生成されたコメント化領域は、形式上実行型を維持しており、図1に示すように、シーケンスプログラム103をPLC3のアプリケーションデータベース31にダウンロードする際にコメント領域103aが削除されることがなく、ダウンロードされたシーケンスプログラム32には、コメント化領域32aが継承されている。   The commented area generated by the insertion of the program step describing the special condition relay or special instruction M-OFF shown in FIGS. 2 to 5 is formally executable, and as shown in FIG. The comment area 103a is not deleted when the sequence program 103 is downloaded to the application database 31 of the PLC 3, and the commented area 32a is inherited by the downloaded sequence program 32.

従って、ダウンロードされたシーケンスプログラム32は、コメント化領域の解除操作で元の実行型の記述に戻すことができ、解除処理が極めて容易となる。   Therefore, the downloaded sequence program 32 can be returned to the original execution type description by the commenting area canceling operation, and the canceling process becomes extremely easy.

更に、PLC3にダウンロードしたシーケンスプログラム32を、エンジニアリングPC側にアップロードし、制御動作を検証して修正するデバッグ作業でも、コメント化領域部分は削除されないでアップロードされるので、この領域のデバッグ作業が可能となる。   Furthermore, even when debugging work to upload the sequence program 32 downloaded to the PLC 3 to the engineering PC side and verify and correct the control operation, the commented area part is uploaded without being deleted, so this area can be debugged. It becomes.

特殊条件リレーまたは特殊命令M-OFFを用いてコメント化処理の対象となった情報は、CPUが処理するプログラム本体には書き込まれず、コメント化情報保持手段106にM-OFFとマッピングして保持されている。   The information subject to comment processing using the special condition relay or special instruction M-OFF is not written in the program body processed by the CPU, but is stored in the comment information holding means 106 by mapping M-OFF. ing.

コメント化処理手段105は、M-OFFとマッピングして保持されているこの保持情報を参照して解除処理を実行できるので、CPUの実行スピードを阻害することがない。   The comment processing means 105 can execute the release process by referring to the stored information that is mapped and stored as M-OFF, and therefore does not hinder the execution speed of the CPU.

以上説明した実施形態では、IEC 61131-3の規格に準拠するシーケンスプログラムの記述形式としてラダー図で説明したが、Instruction List形式、Function Block diagram形式、Structured Text形式等の記述形式でも本発明を適用することができる。   In the embodiment described above, the ladder diagram is described as the description format of the sequence program conforming to the standard of IEC 61131-3, but the present invention is also applied to the description format such as the Instruction List format, the Function Block diagram format, and the Structured Text format. can do.

本発明を適用したシーケンスプログラム編集支援装置の一実施形態を示す機能ブロック図である。It is a functional block diagram which shows one Embodiment of the sequence program edit assistance apparatus to which this invention is applied. プログラムの1ステップの条件リレーを非実行としてそのステップをコメント化する場合のラダー図の遷移を示す表示イメージである。It is a display image which shows the transition of the ladder diagram at the time of commenting the step by making the conditional relay of 1 step of a program into non-execution. プログラムの特定の1ステップの命令を非実行としてそのステップをコメント化する場合のラダー図の遷移を示す表示イメージである。It is a display image which shows the transition of the ladder diagram in the case of making the instruction of one specific step of a program into non-execution and commenting out that step. プログラムの複数ステップを非実行としてコメント化領域とする場合のラダー図の遷移を示す表示イメージである。It is a display image which shows the transition of a ladder diagram in case the plural step of a program is made non-executed and made into a comment area. プログラムの複数ステップを非実行としてコメント化領域とする場合の他の実施形態でのラダー図の遷移を示す表示イメージである。It is a display image which shows the transition of the ladder figure in other embodiment in the case of making a comment area | region into non-execution of several steps of a program. 従来のシーケンスプログラム編集支援装置の構成例を示す機能ブロック図である。It is a functional block diagram which shows the structural example of the conventional sequence program edit assistance apparatus. 従来の手法により特定ステップを非実行化処理したラダー図の表示イメージである。It is a display image of a ladder diagram in which a specific step is not executed by a conventional method.

符号の説明Explanation of symbols

1 操作監視装置
2 制御バス
3 PLC
31 アプリケーションデータベース
32 シーケンスプログラム
32a コメント化領域
33 プログラム実行手段
4 プラント
41,42,…4n 機器
100 エンジニアリングPC
101 シーケンスプログラム編集手段
102 エンジニアリングデータベース
103 シーケンスプログラム
103a コメント化領域
104 ダウンロード処理手段
105 コメント化処理手段
106 コメント化情報保持手段

1 Operation monitoring device 2 Control bus 3 PLC
31 Application Database 32 Sequence Program 32a Comment Area 33 Program Execution Means 4 Plant 41, 42,... 4n Equipment 100 Engineering PC
101 Sequence Program Editing Unit 102 Engineering Database 103 Sequence Program 103a Commenting Area 104 Download Processing Unit 105 Commenting Processing Unit 106 Commented Information Holding Unit

Claims (6)

PLCで実行されるシーケンスプログラムの特定ステップを、一時的に非実行処理にするコメント化機能を備えたシーケンスプログラム編集支援装置であって、
コメント化対象ステップを選択し、この選択したステップをコメント化するコメント化処理手段を備えることを特徴とするシーケンスプログラム編集支援装置。
A sequence program editing support apparatus having a commenting function that temporarily disables a specific step of a sequence program executed by a PLC,
A sequence program editing support apparatus comprising comment processing means for selecting a comment target step and converting the selected step into a comment.
前記コメント化処理手段は、コメント化対象ステップの条件リレーまたは命令の記述を、強制的にオフに規制する条件リレーまたは命令の記述に一時的に置換することを特徴とする請求項1に記載のシーケンスプログラム編集試験装置。   2. The comment processing means temporarily replaces a description of a conditional relay or command in a comment target step with a description of a conditional relay or command forcibly turned off. Sequence program editing test device. 前記コメント化処理手段は、コメント化対象ステップの前段に、自身の条件リレーの記述を強制的にオフに規制する条件リレーの記述とすると共に、前記コメント化対象ステップをジャンプする命令ラベルを備えたコメント化処理ステップを挿入することを特徴とする請求項1に記載のシーケンスプログラム編集支援装置。   The commenting processing means includes a condition relay description that forcibly restricts the description of the conditional relay to be turned off before the commented step, and an instruction label that jumps to the commented step. The sequence program editing support apparatus according to claim 1, wherein a comment processing step is inserted. コメント化した前記コメント化対象ステップの情報を保持するコメント化情報保持手段を備え、前記コメント化処理手段は、このコメント化情報保持手段の情報を参照して前記コメント化を解除することを特徴とする請求項1乃至3のいずれかに記載のシーケンスプログラム編集支援装置。   Commented information holding means for holding the commented step information to be commented, and the commenting processing means cancels the commenting with reference to the information of the commented information holding means The sequence program editing support apparatus according to any one of claims 1 to 3. 前記シーケンスプログラムは、IEC 61131-3の規格に準拠する形式で記述されていることを特徴とする請求項1乃至4のいずれかに記載のシーケンスプログラム編集支援装置。   The sequence program editing support apparatus according to any one of claims 1 to 4, wherein the sequence program is described in a format conforming to the standard of IEC 61131-3. 前記シーケンスプログラムは、前記PLCと通信するエンジニアリングPCで編集され、前記PLCにダウンロードされて実行されることを特徴とする請求項1乃至5のいずれかに記載のシーケンスプログラム編集支援装置。
6. The sequence program editing support apparatus according to claim 1, wherein the sequence program is edited by an engineering PC communicating with the PLC, downloaded to the PLC, and executed.
JP2006237409A 2006-09-01 2006-09-01 Sequence program editing support device Pending JP2008059421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006237409A JP2008059421A (en) 2006-09-01 2006-09-01 Sequence program editing support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006237409A JP2008059421A (en) 2006-09-01 2006-09-01 Sequence program editing support device

Publications (1)

Publication Number Publication Date
JP2008059421A true JP2008059421A (en) 2008-03-13

Family

ID=39242051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006237409A Pending JP2008059421A (en) 2006-09-01 2006-09-01 Sequence program editing support device

Country Status (1)

Country Link
JP (1) JP2008059421A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181443A (en) * 2008-01-31 2009-08-13 Omron Corp Equipment for industrial controller
JP2010224597A (en) * 2009-03-19 2010-10-07 Hitachi Industrial Equipment Systems Co Ltd Method and system for generating programmable controller control program
CN104204975A (en) * 2012-03-26 2014-12-10 三菱电机株式会社 Sequence-program debugging assistance apparatus
WO2015170382A1 (en) * 2014-05-08 2015-11-12 三菱電機株式会社 Engineering tool, program editing device, and program editing system
JP2015207134A (en) * 2014-04-21 2015-11-19 村田機械株式会社 Machine tool, program editing method, and control program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001209409A (en) * 2000-01-25 2001-08-03 Omron Corp Plc simulator device and recording medium on which program for simulation is recorded
JP2004062223A (en) * 2002-07-24 2004-02-26 Yaskawa Electric Corp Programming device of programmable controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001209409A (en) * 2000-01-25 2001-08-03 Omron Corp Plc simulator device and recording medium on which program for simulation is recorded
JP2004062223A (en) * 2002-07-24 2004-02-26 Yaskawa Electric Corp Programming device of programmable controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181443A (en) * 2008-01-31 2009-08-13 Omron Corp Equipment for industrial controller
JP2010224597A (en) * 2009-03-19 2010-10-07 Hitachi Industrial Equipment Systems Co Ltd Method and system for generating programmable controller control program
CN104204975A (en) * 2012-03-26 2014-12-10 三菱电机株式会社 Sequence-program debugging assistance apparatus
DE112012006107B4 (en) * 2012-03-26 2015-12-03 Mitsubishi Electric Corp. The sequence program debugging supporting device
US9477578B2 (en) 2012-03-26 2016-10-25 Mitsubishi Electric Corporation Sequence-program-debugging supporting apparatus
JP2015207134A (en) * 2014-04-21 2015-11-19 村田機械株式会社 Machine tool, program editing method, and control program
WO2015170382A1 (en) * 2014-05-08 2015-11-12 三菱電機株式会社 Engineering tool, program editing device, and program editing system
JP5859173B1 (en) * 2014-05-08 2016-02-10 三菱電機株式会社 Engineering tool, program editing device, and program editing system
US9727442B2 (en) 2014-05-08 2017-08-08 Mitsubishi Electric Corporation Engineering tool, program editing device, and program editing system

Similar Documents

Publication Publication Date Title
JP5039428B2 (en) Programmable controller and PLC system
JP3594035B2 (en) Control device, CPU unit, user program editing method of programmable controller, and processing method of programmable controller when online editing is performed
US20150301923A1 (en) Sequence-program-debugging supporting apparatus
JP2008059421A (en) Sequence program editing support device
US20140005805A1 (en) Cpu of plc, system program for plc, and recording medium storing system program for plc
KR101056761B1 (en) Debug system of diagram of programmable controller, its programming device and computer readable recording medium having recorded its program
JP6891838B2 (en) Development support equipment, development support methods, and development support programs
JP5155829B2 (en) Programmable controller diagram debugging system, programming device and program thereof
JP5777837B2 (en) Program development support apparatus and method
JP2008276381A (en) Debug system for diagram of programmable controller, programming device therefor and program therefor
JP6171385B2 (en) Controller and information processing apparatus
JP2009526282A (en) Method, control device and automation device for storing a data module containing data for controlling a technical process
JP2005309593A (en) Program preparation device and program preparation method
JP7067273B2 (en) Support equipment, control systems, and development support programs
KR102091134B1 (en) Method for Processing Branch Command in PLC
WO2012104959A1 (en) Motion sfc program component creation device
JP2007102380A (en) Debugging method for control component having variability and debugging support device
EP3660602B1 (en) Testing code for an industrial control program in an ancillary environment
KR101230563B1 (en) Sequence control device using decision table, program creation device and interpreter execution engine
JP2009289151A (en) New obstacle coping procedure knowledge creation program, new obstacle coping procedure knowledge creation device and new obstacle coping procedure knowledge creation method
JP6455096B2 (en) Control system, its support device, programmable control device
JP4872357B2 (en) Program test support system, method and program
JP4613003B2 (en) Source program conversion method
JP2007094546A (en) Control system
JP2008282343A (en) Debugging system for diagram of programmable controller, programming device therefor, and program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090311

A131 Notification of reasons for refusal

Effective date: 20101209

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20110201

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110511