JPH0695710A - Method for changing sequence program of programmable controller - Google Patents

Method for changing sequence program of programmable controller

Info

Publication number
JPH0695710A
JPH0695710A JP24175592A JP24175592A JPH0695710A JP H0695710 A JPH0695710 A JP H0695710A JP 24175592 A JP24175592 A JP 24175592A JP 24175592 A JP24175592 A JP 24175592A JP H0695710 A JPH0695710 A JP H0695710A
Authority
JP
Japan
Prior art keywords
sequence
programmable controller
program
sequence program
programming device
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
JP24175592A
Other languages
Japanese (ja)
Other versions
JP3114907B2 (en
Inventor
Kazuo Yoshikawa
和男 吉川
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP04241755A priority Critical patent/JP3114907B2/en
Publication of JPH0695710A publication Critical patent/JPH0695710A/en
Application granted granted Critical
Publication of JP3114907B2 publication Critical patent/JP3114907B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To shorten the time required for changing a sequence program by permitting the use of all sequence instructions for the correction of the sequence program on a programming device except during the operation of a programmable controller. CONSTITUTION:A CPU 20 generates and edits the sequence program in accordance with a system program in a system memory 21, and program instructions to be changed or the like are temporarily stored in the work area of the system memory 21. The sequence program is generated and edited on a user program memory 22 and is transferred to the programmable controller through an I/O 23. Here, sequence instructions which can be changed during the operation of the programmable controller are limited. Corrected sequence instructions and contents are automatically detected, and the programming device automatically in structs the programmable controller of the corrected contents.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラマブルコント
ローラの実行するシーケンスプログラムをプログラマブ
ルコントローラの運転中に変更するためのプログラマブ
ルコントローラのシーケンスプログラムの変更方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of changing a sequence program of a programmable controller for changing the sequence program executed by the programmable controller during operation of the programmable controller.

【0002】[0002]

【従来の技術】従来、プログラマブルコントローラはシ
ーケンスプログラムを演算実行して電子機器の自動制御
を行うことが知られている。シーケンスプログラムはプ
ログラマブルコントローラに接続されたプログラミング
装置により作成される。また、プログラマブルコントロ
ーラの運転中でもシーケンスプログラムの修正が可能と
なっている。プログラマブルコントローラ内のユーザプ
ログラムメモリにシーケンスプログラムが格納されてい
るので、このプログラム中のシーケンス命令を修正する
場合、プログラミング装置へシーケンスプログラムを送
る。ユーザはプログラミング装置上でシーケンスプログ
ラムを表示してシーケンスプログラムの中のシーケンス
命令を修正する。この後、ユーザからの文法チェックの
指示に応じて、シーケンスプログラム内のすべてのプロ
グラム命令についての文法チェックがプログラミング装
置上で行われる。この文法チェックはシーケンス命令が
正しいフォーマットに記載されているか、プログラム命
令によっては隣接のプログラム命令と正しい接続関係に
あるか等のいくつかのチェックを行うものである。文法
チェック後、修正済みシーケンスプログラムはプログラ
マブルコントローラへ送られる。プログラマブルコント
ローラはユーザプログラムメモリ内のシーケンスプログ
ラムを、受信のシーケンスプログラムと交換することに
よりシーケンスプログラムの変更を実現していた。
2. Description of the Related Art Conventionally, it is known that a programmable controller arithmetically executes a sequence program to automatically control electronic equipment. The sequence program is created by a programming device connected to the programmable controller. The sequence program can be modified even while the programmable controller is operating. Since the sequence program is stored in the user program memory in the programmable controller, when the sequence instruction in this program is modified, the sequence program is sent to the programming device. The user displays the sequence program on the programming device and modifies the sequence instructions in the sequence program. After that, the grammatical check is performed on all the program instructions in the sequence program on the programming device according to the instruction of the grammatical check from the user. This grammar check is to perform some checks such as whether the sequence command is written in the correct format, and depending on the program command, whether it has the correct connection relationship with the adjacent program command. After the grammar check, the modified sequence program is sent to the programmable controller. The programmable controller has realized the change of the sequence program by exchanging the sequence program in the user program memory with the received sequence program.

【0003】[0003]

【発明が解決しようとしている課題】従来の方法ではた
った1つのシーケンス命令を変更する場合にも、シーケ
ンスプログラム全体をプログラマブルコントローラと、
プログラミング装置との間で転送しなければならない。
シーケンス命令についての文法チェックもシーケンスプ
ログラム全体がチェックの対象となり、変更していない
シーケンス命令をもチェックしなければならない。この
ため、シーケンスプログラムの変更に時間がかかること
になる。特に、プログラマブルコントローラの運転中に
シーケンスプログラムを変更する場合は、緊急を要する
ことが多くシーケンスプログラムの変更に係る時間を短
縮することがユーザから望まれている。
In the conventional method, even when only one sequence instruction is changed, the entire sequence program is stored in the programmable controller,
Must be transferred to or from the programming device.
The grammar check for the sequence instruction is also the target of the entire sequence program, and the unmodified sequence instruction must be checked. Therefore, it takes time to change the sequence program. In particular, when the sequence program is changed during the operation of the programmable controller, it is often urgently required by the user to reduce the time required for changing the sequence program.

【0004】そこで、本発明の目的は、上述の点に鑑み
て、シーケンスプログラムの変更時間を短縮することの
可能なプログラマブルコントローラのシーケンスプログ
ラムの変更方法を提供することにある。
Therefore, in view of the above points, an object of the present invention is to provide a method of changing a sequence program of a programmable controller capable of shortening the change time of the sequence program.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明は、プログラマブルコントロ
ーラの実行するシーケンスプログラムを該プログラマブ
ルコントローラからプログラミング装置に転送し、該プ
ログラミング装置上で、転送されたシーケンスプログラ
ムに修正を加えるプログラマブルコントローラのシーケ
ンスプログラムの変更方法において、前記プログラマブ
ルコントローラの運転中以外には前記プログラミング装
置上でのシーケンスプログラムの修正に対する全てのシ
ーケンス命令についての使用を許可し、前記プログラマ
ブルコントローラの運転中には前記修正に使用可能なシ
ーケンス命令の種類を限定することを特徴とする。
In order to achieve such an object, the invention of claim 1 transfers a sequence program executed by a programmable controller from the programmable controller to a programming device, and on the programming device, In a method of changing a sequence program of a programmable controller that makes a correction to a transferred sequence program, permitting use of all sequence instructions for correction of the sequence program on the programming device except when the programmable controller is in operation, The type of sequence command that can be used for the modification is limited during the operation of the programmable controller.

【0006】請求項2の発明は、プログラマブルコント
ローラの実行するシーケンスプログラムを該プログラマ
ブルコントローラからプログラミング装置に転送し、該
プログラミング装置上で、転送されたシーケンスプログ
ラムに修正を加えるプログラマブルコントローラのシー
ケンスプログラムの変更方法において、前記プログラマ
ブルコントローラの運転中にシーケンスプログラムを修
正した場合には、前記プログラミング装置は該シーケン
スプログラムの中のシーケンス命令の修正内容を検出
し、当該検出したシーケンス命令の修正内容を前記プロ
グラマブルコントローラに送信し、該プログラマブルコ
ントローラは、受信した修正内容にしたがって、現在、
実行中のシーケンスプログラム中のシーケンス命令を変
更することを特徴とする。
According to a second aspect of the invention, the sequence program executed by the programmable controller is transferred from the programmable controller to the programming device, and the sequence program of the programmable controller is modified on the programming device to modify the transferred sequence program. In the method, when the sequence program is modified while the programmable controller is in operation, the programming device detects the modification content of the sequence command in the sequence program, and the modification content of the detected sequence command is detected by the programmable controller. To the programmable controller, according to the received correction content,
It is characterized by changing a sequence instruction in a sequence program being executed.

【0007】[0007]

【作用】請求項1の発明では、修正に用いるシーケンス
命令を限定することにより文法チェックの対象を減じ、
もって、文法チェックの処理時間を短縮する。請求項2
の発明では、プログラミング装置からはシーケンス命令
の修正内容のみを送信し、プログラマブルコントローラ
側で、この修正内容に基づき、シーケンスプログラムの
部分修正を行う。
According to the first aspect of the present invention, the target of the grammar check is reduced by limiting the sequence instruction used for the correction.
Therefore, the processing time for grammar check is shortened. Claim 2
In the invention, only the correction content of the sequence command is transmitted from the programming device, and the programmable controller side partially modifies the sequence program based on the correction content.

【0008】[0008]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0009】本発明の説明に先だって、プログラマブル
コントローラおよびプログラミング装置について説明し
ておく。図2はプログラマブルコントローラの本発明に
関する部分の回路構成を示す。図3はプログラミング装
置の回路構成を示す。
Prior to the description of the present invention, a programmable controller and a programming device will be described. FIG. 2 shows a circuit configuration of a portion of the programmable controller relating to the present invention. FIG. 3 shows the circuit configuration of the programming device.

【0010】図2において、中央演算処理装置(CP
U)10はシステムメモリ11内のシステムプログラム
に従って装置全体の制御を実行する。CPU10はシス
テム運転中はユーザプログラムメモリ12中のシーケン
スプログラムに従って電子機器の自動制御を行う。シー
ケンスプログラムはインターフェース(I/O)13を
介してプログラミング装置から転送され、CPU10に
よりユーザプログラムメモリ12に書き込まれる。ただ
し、本発明に係るプログラム命令の変更の場合には、修
正部分およびその位置で構成される修正内容のみがプロ
グラミング装置から指示され、CPU10により修正部
分のみの書き込みが行われる。
In FIG. 2, the central processing unit (CP
U) 10 executes the control of the entire apparatus according to the system program in the system memory 11. The CPU 10 automatically controls the electronic device according to the sequence program stored in the user program memory 12 during system operation. The sequence program is transferred from the programming device via the interface (I / O) 13 and written in the user program memory 12 by the CPU 10. However, in the case of changing the program instruction according to the present invention, only the correction content constituted by the correction portion and its position is instructed from the programming device, and the CPU 10 writes only the correction portion.

【0011】図3において、中央演算処理装置(CP
U)20はシステムメモリ21内のシステムプログラム
に従ってシ−ケンスプログラムの作成、編集処理を行
う。システムメモリ21内には、上記システムプログラ
ムの他、本発明に係るプログラムを格納するプログラム
領域と、CPU20に対する入出力情報を格納するワー
ク領域が設けられている。ワーク領域にはキーボード2
4から入力された変更すべきプログラム命令等が一時的
に格納される。
In FIG. 3, the central processing unit (CP
U) 20 creates and edits a sequence program according to the system program in the system memory 21. In the system memory 21, in addition to the above system programs, a program area for storing the program according to the present invention and a work area for storing input / output information for the CPU 20 are provided. Keyboard 2 in the work area
The program instructions and the like to be changed input from the No. 4 are temporarily stored.

【0012】ユーザプログラムメモリ22上でシーケン
スプログラムの作成、編集が行われる。キーボード24
からはCPU20に対する動作指示およびプログラム編
集内容が入力される。作成、編集途中のシーケンスプロ
グラムは表示器25に表示される。作成、修正後のシー
ケンスプログラムはI/O23を介してプログラマブル
コントローラに転送される。
A sequence program is created and edited on the user program memory 22. Keyboard 24
The operation instruction and the program editing content for the CPU 20 are input from. The sequence program being created or edited is displayed on the display unit 25. The created and modified sequence program is transferred to the programmable controller via the I / O 23.

【0013】本実施例では、第1の特徴としてプログラ
マブルコントローラの運転中に変更できるシーケンス命
令を限定し、シーケンスプログラムの修正量を減じる。
第2の特徴として修正されたシーケンス命令およびその
内容をプログラミング装置において自動検知し、検知し
たシーケンス命令についての修正内容をプログラミング
装置からプログラマブルコントローラに対して自動的に
指示する。
The first feature of the present embodiment is to limit the sequence instructions that can be changed during the operation of the programmable controller and reduce the correction amount of the sequence program.
As a second feature, the modified sequence command and its content are automatically detected by the programming device, and the modification content of the detected sequence command is automatically instructed from the programming device to the programmable controller.

【0014】以下、この修正処理について説明して行
く。図1はプログラミング装置側で実行するシーケンス
プログラム変更処理の内容を示す。シーケンスプログラ
ムの修正モードがキーボード24から指示入力される
と、CPU20は図1の制御手順をシステムメモリ21
から読み出し実行する。CPU20はシステム起動時に
オンされる動作モードフラグを参照して、現在、システ
ム(プログラマブルコントローラ)が運転中であること
を検出すると、後述するが、S20以降の本発明にかか
わる処理手順に移行する。一方、システム運転中ではな
い場合は従来通りのすべてのシーケンス命令を使用可能
とする修正処理が行われる(S150)。
The correction process will be described below. FIG. 1 shows the contents of a sequence program changing process executed on the programming device side. When the correction mode of the sequence program is input from the keyboard 24, the CPU 20 executes the control procedure of FIG.
Read from and execute. When the CPU 20 detects that the system (programmable controller) is currently in operation by referring to the operation mode flag that is turned on when the system is activated, the process shifts to a processing procedure according to the present invention after S20, which will be described later. On the other hand, when the system is not in operation, the modification process is performed to make all sequence commands usable as usual (S150).

【0015】システム運転中の場合、まず、従来と同様
の処理手順により修正対象のシーケンスプログラムがプ
ログラマブルコントローラからプログラミング装置に転
送され、プログラミング装置のユーザプログラムメモリ
22に読み込まれる(S20)。CPU20はこのシー
ケンスプログラムを図5のシーケンス回路図Aの形態で
表示器25に表示する。ユーザはこの表示を見てキーボ
ード24によりシーケンス命令の修正位置を指示し、修
正すべきシーケンス命令を入力する。CPU20は指示
された位置に対応の表示位置に入力された修正のシーケ
ンス命令を表示する(図5の変更後のプログラム参照−
S30)。
When the system is in operation, first, the sequence program to be corrected is transferred from the programmable controller to the programming device and read into the user program memory 22 of the programming device by the same processing procedure as the conventional one (S20). The CPU 20 displays this sequence program on the display 25 in the form of the sequence circuit diagram A of FIG. The user looks at this display and indicates the position to correct the sequence command with the keyboard 24, and inputs the sequence command to be corrected. The CPU 20 displays the correction sequence command input at the display position corresponding to the designated position (see the changed program in FIG.
S30).

【0016】CPU20は入力された修正のシーケンス
命令が、使用許可としてあらかじめ定めた種類の命令で
あるかを判別する。より具体的には、接点命令、コイル
(出力)命令など1ステップで構成され、他のシーケン
ス命令とは関連がない命令について使用を許可する。図
5のように接点命令が変更される場合、CPU20は入
力された命令のフォーマットから接点命令の変更である
ことを検知する(S40)。次に、CPU20はシーケ
ンス命令の修正内容を識別する(S100)。このため
にCPU20はユーザから指示された修正位置に基づき
ユーザプログラムメモリ22上の修正前のシーケンス命
令と入力の修正のシーケンス命令とを比較して不一致部
分を検出する。この不一致部分が修正箇所となる。この
修正箇所がシーケンス命令の中の命令コード部分(図5
の例では接点記号に相当する)である場合には命令の種
類に関する変更と判別される。また修正箇所がシーケン
ス命令の中のオペランド部分(図7の接点の識別名や図
9のタイマ命令の設定値に相当)である場合にはパラメ
ータの変更と判別される。
The CPU 20 determines whether or not the inputted correction sequence command is a command of a type predetermined as usage permission. More specifically, the instruction is configured in one step such as a contact instruction and a coil (output) instruction, and the instruction not related to other sequence instructions is permitted to be used. When the contact instruction is changed as shown in FIG. 5, the CPU 20 detects from the format of the input instruction that the contact instruction is changed (S40). Next, the CPU 20 identifies the correction content of the sequence command (S100). For this purpose, the CPU 20 compares the uncorrected sequence command on the user program memory 22 with the input correction sequence command based on the correction position designated by the user, and detects a mismatch. This disagreement is the correction point. This modified portion is the instruction code portion in the sequence instruction (see FIG. 5).
(Corresponding to the contact symbol in the example of 1), it is determined that the change is related to the type of instruction. Further, if the corrected portion is the operand portion in the sequence instruction (corresponding to the contact identification name in FIG. 7 or the set value of the timer instruction in FIG. 9), it is determined that the parameter has been changed.

【0017】CPU20は以上の判別結果に基づきプロ
グラマブルコントローラに対して送信する修正命令(本
発明の修正内容)を作成する(S110)。修正命令は
たとえばシーケンス命令の修正に関する命令であること
を示す命令コード、シーケンスプログラム上のシーケン
ス命令の修正位置、修正の種類内容(命令コードの変更
かオペランドの変更か等を示す)および変更すべきシー
ケンス命令から構成される。作成された修正命令はI/
O23を介してプログラマブルコントローラに送信され
る(S120)。
The CPU 20 creates a correction command (correction content of the present invention) to be transmitted to the programmable controller based on the above determination result (S110). The correction instruction is, for example, an instruction code indicating that it is an instruction related to the correction of a sequence instruction, a correction position of the sequence instruction on the sequence program, the type of correction (indicates whether the instruction code is changed or the operand is changed), and should be changed It consists of sequence instructions. The created modification instruction is I /
It is transmitted to the programmable controller via O23 (S120).

【0018】この修正命令はプログラマブルコントロー
ラのI/O13を介してCPU10に転送される。プロ
グラマブルコントローラのCPU10はコマンド解析に
より修正命令の入力を検知すると、図4、図6、図8の
制御手順を順次に実行して修正命令の内容識別を行っ
て、修正命令の指示する内容に従ったシーケンス命令の
修正を実行する。接点命令コードの変更については図4
の制御手順によりその変更要が検出される(S20
0)。CPU10は修正命令の中に含まれる修正すべき
シーケンス命令を読み出して命令コード及びオペランド
部分のフォーマットについての文法チェックを行う(S
210〜S240)。フォーマットにエラーがない場合
は、修正命令の中で指示された修正位置を、ユーザプロ
グラムメモリ12のアドレスに換算して、このアドレス
に修正すべきシーケンス命令を書き込む(S250→S
260)。これによりプログラマブルコントローラにお
いて、現在、実行中のシーケンスプログラムが変更され
る。
This correction instruction is transferred to the CPU 10 via the I / O 13 of the programmable controller. When the CPU 10 of the programmable controller detects the input of the correction instruction by the command analysis, the control procedure of FIGS. 4, 6 and 8 is sequentially executed to identify the content of the correction instruction, and according to the content instructed by the correction instruction. Execute the modification of the sequence instruction. Figure 4 shows how to change the contact instruction code
The change procedure is detected by the control procedure (S20).
0). The CPU 10 reads the sequence instruction to be modified contained in the modification instruction and performs a grammar check on the format of the instruction code and the operand part (S).
210-S240). If there is no error in the format, the correction position indicated in the correction instruction is converted into the address of the user program memory 12, and the sequence instruction to be corrected is written to this address (S250 → S).
260). As a result, the sequence program currently being executed is changed in the programmable controller.

【0019】シーケンス命令のオペランドの変更および
設定値の変更はそれぞれ図6、図8の制御手順により行
われる。これらの手順内容は上述と同様に文法チェック
の後ユーザプログラムメモリ12に書き込みを行う手順
であり、詳細な説明を省略する。以上説明したように、
本実施例では、変更できるシ−ケンス命令が隣接のシ−
ケンス命令とは関連のない命令に限定しているので、文
法チェックの対象も修正すべきシーケンス命令のみでよ
く従来に比べ、文法チェックの時間が短縮される。ま
た、ユーザはプログラミング装置上でシーケンスプログ
ラムを部分修正すればよくプログラマブルコントローラ
に対する指示操作は必要としない。
The change of the operand of the sequence instruction and the change of the set value are performed by the control procedures of FIGS. 6 and 8, respectively. Similar to the above, these procedure contents are procedures for writing in the user program memory 12 after the grammar check, and detailed description thereof will be omitted. As explained above,
In this embodiment, sequence instructions that can be changed are adjacent sequence instructions.
Since the instruction is not related to the can instruction, the target of the grammar check is only the sequence instruction to be corrected, and the grammar check time is shortened compared to the conventional case. Further, the user only needs to partially modify the sequence program on the programming device and does not need to instruct the programmable controller.

【0020】本実施例の他に次の例を実施できる。In addition to this embodiment, the following example can be carried out.

【0021】1)本実施例は修正命令の転送に際し、雑
音の混入を考えて、プログラマブルコントローラ側で文
法チェックを行っているが、プログラミング装置側で行
ってもよい。この場合の文法チェックは修正のシーケン
ス命令の入力毎に行ってもよいし、修正のシーケンス命
令を一括して行ってもよい。このときプログラマブルコ
ントローラ側では文法チェックを行わず、修正のシーケ
ンス命令の書き込み処理のみを行う。
1) In the present embodiment, the grammar check is performed on the programmable controller side in consideration of noise mixing when the correction instruction is transferred, but it may be performed on the programming device side. In this case, the grammar check may be performed every time the correction sequence command is input, or the correction sequence command may be collectively performed. At this time, the programmable controller does not perform the grammar check, but only writes the correction sequence command.

【0022】2)本実施例では修正すべきシーケンス命
令のみをプログラマブルコントローラに送信するように
しているが、修正可能なシーケンス命令を限定してシー
ケンスプログラムの修正を行った後、従来と同様、修正
済みのシーケンスプログラム全体を送信することもでき
る。この場合は、文法チェックはプログラミング装置側
で行い、そのチェック対象は限定されたシーケンス命令
のみであることは言うまでもない。このためにはシーケ
ンス命令を限定した文法チェックプログラムと、シーケ
ンス命令を限定しない文法チェックプログラムとを用意
してシステム運転中と、システム運転前のシステム初期
化段階とで、文法チェックプログラムを切り替え使用す
る。
2) In this embodiment, only the sequence command to be modified is transmitted to the programmable controller. However, after modifying the sequence program by limiting the modifiable sequence command, the modification is performed as in the conventional case. It is also possible to send the entire sequence program that has been completed. In this case, it goes without saying that the grammar check is performed on the programming device side and the check target is only the limited sequence instruction. For this purpose, a grammar check program with limited sequence instructions and a grammar check program with no limited sequence instructions are prepared, and the grammar check programs are switched and used during system operation and during system initialization before system operation. .

【0023】3)本実施例では使用不可のシーケンス命
令がシーケンス命令の修正に用いられると、そのシーケ
ンス命令が使用できない旨のメッセージを表示する(図
1のS60)。このとき、使用可能なシーケンス命令の
種類を案内表示するとよい。
3) In this embodiment, when a sequence command that cannot be used is used for modifying the sequence command, a message indicating that the sequence command cannot be used is displayed (S60 in FIG. 1). At this time, it is advisable to display a guide of the types of sequence commands that can be used.

【0024】[0024]

【発明の効果】以上、説明したように、本発明によれ
ば、従来よりもシーケンスプログラムの変更所要時間を
短縮できるので、プログラマブルコントローラの性能の
向上に寄与することができるという効果が得られる。
As described above, according to the present invention, the time required for changing the sequence program can be shortened as compared with the conventional technique, and therefore, the effect that the performance of the programmable controller can be improved can be obtained.

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

【図1】本発明実施例のプログラミング装置側のシーケ
ンスプログラムの変更処理手順を示すフローチャートで
ある。
FIG. 1 is a flowchart showing a procedure for changing a sequence program on a programming device side according to an embodiment of the present invention.

【図2】本発明実施例のプログラマブルコントローラの
回路構成を示すブロック図である。
FIG. 2 is a block diagram showing a circuit configuration of a programmable controller according to an embodiment of the present invention.

【図3】本発明実施例のプログラミング装置の回路構成
を示すブロック図である。
FIG. 3 is a block diagram showing a circuit configuration of a programming device according to an embodiment of the present invention.

【図4】本発明実施例のプログラマブルコントローラ側
のシーケンスプログラムの変更処理手順を示すフローチ
ャートである。
FIG. 4 is a flowchart showing a sequence program change processing procedure on the programmable controller side according to the embodiment of the present invention.

【図5】シーケンスプログラムの変更の一例を示す説明
図である。
FIG. 5 is an explanatory diagram showing an example of changing a sequence program.

【図6】本発明実施例のプログラマブルコントローラ側
のシーケンスプログラムの変更処理手順を示すフローチ
ャートである。
FIG. 6 is a flowchart showing a sequence program change processing procedure on the programmable controller side according to the embodiment of the present invention.

【図7】シーケンスプログラムの変更の他の例を示す説
明図である。
FIG. 7 is an explanatory diagram showing another example of changing the sequence program.

【図8】本発明実施例のプログラマブルコントローラ側
のシーケンスプログラムの変更処理手順を示すフローチ
ャートである。
FIG. 8 is a flowchart showing a procedure for changing a sequence program on the programmable controller side according to the embodiment of the present invention.

【図9】シーケンスプログラムの変更のさらに他の一例
を示す説明図である。
FIG. 9 is an explanatory diagram showing still another example of changing the sequence program.

【符号の説明】[Explanation of symbols]

10、20 CPU 11、21 システムメモリ 12、22 ユーザプログラムメモリ 13、23 I/O 24 キーボード 25 表示器 10, 20 CPU 11, 21 System memory 12, 22 User program memory 13, 23 I / O 24 Keyboard 25 Display

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブルコントローラの実行する
シーケンスプログラムを該プログラマブルコントローラ
からプログラミング装置に転送し、該プログラミング装
置上で、転送されたシーケンスプログラムに修正を加え
るプログラマブルコントローラのシーケンスプログラム
の変更方法において、 前記プログラマブルコントローラの運転中以外には前記
プログラミング装置上でのシーケンスプログラムの修正
に対する全てのシーケンス命令についての使用を許可
し、 前記プログラマブルコントローラの運転中には前記修正
に使用可能なシーケンス命令の種類を限定することを特
徴とするプログラマブルコントローラのシーケンスプロ
グラムの変更方法。
1. A method for changing a sequence program of a programmable controller, wherein a sequence program executed by a programmable controller is transferred from the programmable controller to a programming device, and the transferred sequence program is modified on the programming device. The use of all sequence instructions for the modification of the sequence program on the programming device is permitted except during the operation of the controller, and the type of sequence instruction that can be used for the modification is limited during the operation of the programmable controller. A method for changing a sequence program of a programmable controller, which is characterized by the above.
【請求項2】 プログラマブルコントローラの実行する
シーケンスプログラムを該プログラマブルコントローラ
からプログラミング装置に転送し、該プログラミング装
置上で、転送されたシーケンスプログラムに修正を加え
るプログラマブルコントローラのシーケンスプログラム
の変更方法において、 前記プログラマブルコントローラの運転中にシーケンス
プログラムを修正した場合には、前記プログラミング装
置は該シーケンスプログラムの中のシーケンス命令の修
正内容を検出し、 当該検出したシーケンス命令の修正内容を前記プログラ
マブルコントローラに送信し、 該プログラマブルコントローラは、受信した修正内容に
したがって、現在、実行中のシーケンスプログラム中の
シーケンス命令を変更することを特徴とするプログラマ
ブルコントローラのシーケンスプログラムの変更方法。
2. A method for changing a sequence program of a programmable controller, wherein a sequence program executed by a programmable controller is transferred from the programmable controller to a programming device, and the transferred sequence program is modified on the programming device. When the sequence program is modified during the operation of the controller, the programming device detects the modification content of the sequence command in the sequence program, and transmits the modification content of the detected sequence command to the programmable controller, The programmable controller changes the sequence instruction in the sequence program currently being executed according to the received correction contents. How to change the controller controller sequence program.
JP04241755A 1992-09-10 1992-09-10 How to change the sequence program of the programmable controller Expired - Lifetime JP3114907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04241755A JP3114907B2 (en) 1992-09-10 1992-09-10 How to change the sequence program of the programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04241755A JP3114907B2 (en) 1992-09-10 1992-09-10 How to change the sequence program of the programmable controller

Publications (2)

Publication Number Publication Date
JPH0695710A true JPH0695710A (en) 1994-04-08
JP3114907B2 JP3114907B2 (en) 2000-12-04

Family

ID=17079052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04241755A Expired - Lifetime JP3114907B2 (en) 1992-09-10 1992-09-10 How to change the sequence program of the programmable controller

Country Status (1)

Country Link
JP (1) JP3114907B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008282363A (en) * 2007-05-14 2008-11-20 Keyence Corp Programmable controller, program creation support device, computer program and programmable logic controller (plc) system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008282363A (en) * 2007-05-14 2008-11-20 Keyence Corp Programmable controller, program creation support device, computer program and programmable logic controller (plc) system

Also Published As

Publication number Publication date
JP3114907B2 (en) 2000-12-04

Similar Documents

Publication Publication Date Title
US7110837B2 (en) Control system and method for on-line editing of user program
JP3563768B2 (en) ROM program change device
US5600807A (en) Programmable controller capable of updating a user program during operation by switching between user program memories
JPH0695710A (en) Method for changing sequence program of programmable controller
JPH11242509A (en) Programmable logic controller
JP2776443B2 (en) Programmable controller
JP3207333B2 (en) Programmable controller
JP3575052B2 (en) Electronic equipment
JP2885957B2 (en) Sequence program programming method and apparatus
JP3234240B2 (en) Control method of serial port of programmable controller
JPH04330532A (en) Programmable controller
JPH09160611A (en) Programmable controller
JP2713583B2 (en) Electronics
JPH03160524A (en) Information processor
JP2708983B2 (en) Program display device
JPH06250708A (en) Method for checking sequence program of programming device
JPH04367029A (en) Programming device for programmable controller
JPH04112208A (en) Programmable controller
JPH04332003A (en) Programmable controller
JPH0628015A (en) Programmable controller
KR19980074128A (en) Programmable Logic Controller
JPH0628286A (en) Method and device for controlling communication
JPH02155077A (en) Circuit diagram editor
JPH07295963A (en) Document processor
JPH0651973A (en) Error correction method for sequence program

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070929

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20080929

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20080929

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090929

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20120929

EXPY Cancellation because of completion of term