Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2526704B2 - Programmable controller monitor control method and monitor control device - Google Patents
[go: Go Back, main page]

JP2526704B2 - Programmable controller monitor control method and monitor control device - Google Patents

Programmable controller monitor control method and monitor control device

Info

Publication number
JP2526704B2
JP2526704B2 JP2104074A JP10407490A JP2526704B2 JP 2526704 B2 JP2526704 B2 JP 2526704B2 JP 2104074 A JP2104074 A JP 2104074A JP 10407490 A JP10407490 A JP 10407490A JP 2526704 B2 JP2526704 B2 JP 2526704B2
Authority
JP
Japan
Prior art keywords
block
active
monitor
programmable controller
designation
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.)
Expired - Lifetime
Application number
JP2104074A
Other languages
Japanese (ja)
Other versions
JPH041804A (en
Inventor
恭伸 岩田
昇 坂本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2104074A priority Critical patent/JP2526704B2/en
Publication of JPH041804A publication Critical patent/JPH041804A/en
Application granted granted Critical
Publication of JP2526704B2 publication Critical patent/JP2526704B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、SFC言語に基づくシーケンスプログラム
を実行するプログラマブルコントローラの実行状態をモ
ニタするプログラマブルコントローラのモニタ制御方法
およびモニタ制御装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a monitor control method and a monitor control device for a programmable controller that monitors the execution state of a programmable controller that executes a sequence program based on the SFC language.

〔従来の技術〕[Conventional technology]

最近、プログラマブルコントローラの入力装置を介し
てSFC言語で作成されたシーケンスプログラム(以下、S
FCプログラムという)をプログラマブルコントローラに
ロードして実行させ、モニタ装置により、その実行状態
をモニタする方法が実用化されている。
Recently, a sequence program (hereinafter referred to as S
A method of loading an FC program) to a programmable controller and executing it, and monitoring the execution state by a monitor device has been put into practical use.

なお、上述の入力装置とモニタ装置とは通常周辺装置
として一体につくられ通信インタフェースを介してプロ
グラマブルコントローラに接続されている。
The above-mentioned input device and monitor device are usually integrally formed as a peripheral device and connected to a programmable controller via a communication interface.

第4図はSFCプログラムの一例を示すものである。 FIG. 4 shows an example of the SFC program.

SFCプログラムは、制御の流れをフロー形式で表現し
たものであり、あるまとまった動作を示す「ステップ」
と、当該ステップが実行状態にあるとき次のステップに
移行するための条件を示すトランジション、例えば、
「移行」との組合せからなっている。実行状態にあるス
テップは「活性ステップ」と呼ばれ、それに付随する移
行の条件が成立すると非活性となり、次に続くステップ
が実行状態になる。
The SFC program is a flow format representation of the flow of control, and is a "step" that indicates a certain cohesive operation.
And a transition indicating a condition for moving to the next step when the step is in the execution state, for example,
It consists of a combination with "migration". A step in the execution state is called an "active step", and it becomes inactive when the transition condition associated therewith is satisfied, and the next subsequent step becomes the execution state.

第4図において、401は「ステップ」を、402はステッ
プの「移行」を示す。また、同じステップであっても、
400はイニシャルステップ、403はエンドステップと呼
ぶ。また、イニシャルステップからエンドステップまで
を1つのブロックと呼ぶ。
In FIG. 4, 401 indicates a “step”, and 402 indicates a “shift” of the step. Also, even in the same step,
400 is called an initial step and 403 is called an end step. The block from the initial step to the end step is called one block.

例えば、このブロックを複数作成し、各々のブロック
に起動をかけることにより、これらの複数のブロックが
並列に実行される。なお、起動がかけられたブロック
を、「活性ブロック」と呼び、このブロックのイニシャ
ルステップからこのブロックのエンドステップまでの実
行が終了するまでこのブロックが活性ブロックになって
いる。
For example, by creating a plurality of this block and activating each block, the plurality of blocks are executed in parallel. The activated block is called an "active block", and this block is the active block until the execution from the initial step of this block to the end step of this block is completed.

また、例えば、モニタ装置を第4図のSFCプログラム
が画面表示された状態にし、活性ステップ の表示を反転表示(差別表示)することによりSFCプロ
グラムの実行状態をモニタすることができる。
Further, for example, the monitor device is brought into a state in which the SFC program shown in FIG. The execution status of the SFC program can be monitored by reversing the display of (representation display).

第5図は従来のプログラマブルコントローラの構成を
示すブロック図である。図において、501は各種演算処
理を実行するCPU、506はCPU501により実行されるシステ
ムプログラムを格納するシステムプログラムROM、507は
後述する活性ブロックテーブル、活性ステップテーブル
を格納するRAM、504はプログラマブルコントローラ(図
示せず)との間のケーブル上の信号と内部信号との整合
をとる入出力インタフェース、505はCRT表示用インタフ
ェース、505aはCRTである。
FIG. 5 is a block diagram showing the configuration of a conventional programmable controller. In the figure, 501 is a CPU that executes various arithmetic processes, 506 is a system program ROM that stores a system program executed by the CPU 501, 507 is an active block table described later, RAM that stores an active step table, and 504 is a programmable controller ( (Not shown) is an input / output interface for matching the signal on the cable with the internal signal, 505 is a CRT display interface, and 505a is a CRT.

第6図は、第5図に示したRAM507に格納されている活
性ブロックテーブル、活性ステップテーブルを示す図で
ある。図において、510はそれぞれのブロックについて
当該ブロックが活性か、或いは、非活性かを示す活性ブ
ロックテーブルであり、それぞれのブロックNo.(ブロ
ック番号)について、そのブロックが活性/非活性のい
ずれかであるかを示す情報を有している。511はそれぞ
れのブロックについて活性ステップのステップNo.(ス
テップ番号)が記憶されている活性ステップテーブルで
ある。
FIG. 6 is a diagram showing an active block table and an active step table stored in the RAM 507 shown in FIG. In the figure, 510 is an active block table indicating whether each block is active or inactive. For each block No. (block number), the block is either active / inactive. It has information indicating whether there is any. Reference numeral 511 is an active step table in which the step number (step number) of the active step for each block is stored.

また、第5図中、521は活性ステップテーブル511より
活性ステップNo.を検出し、そのステップを反転表示す
る処理を行う活性ステップ反転表示プログラムである。
この活性ステップ反転プログラムはシステムプログラム
ROM506に格納されている。
Further, in FIG. 5, reference numeral 521 denotes an active step reverse display program for detecting the active step No. from the active step table 511 and performing a process of displaying the step in reverse video.
This active step inversion program is a system program
It is stored in ROM506.

次にモニタ動作について第7図により説明する。第7
図はSFCプログラムにおける活性ステップを例えば、第
4図に示すSFC図上でモニタ表示する場合のフロー図を
示している。モニタしたいブロックのSFC図を画面表示
した後、SFCプログラムにおける活性ステップをモニタ
するモニタモードを開始すると、モニタ装置は既に表示
されているブロックのブロックNo.をリードし(ステッ
プS1)、次に、活性ステップ反転表示手段521によりこ
のブロックの活性ステップNo.を第6図の活性ステップ
テーブル511から検出し、検出されたステップNo.のステ
ップを反転表示する(ステップS2)。その後、モニタモ
ードを続行するか否かを判断し(ステップS3)、モニタ
モードを続行すると判断した場合には、ステップS2に戻
り、モニタモードを続行しないと判断するまで、ステッ
プS2及びステップS3を繰り返し実行する。ステップS3に
おいて、モニタモードを続行しないと判断された場合に
は一連のモニタモードの処理動作は終了する。
Next, the monitor operation will be described with reference to FIG. Seventh
The figure shows a flow chart when the active steps in the SFC program are displayed on the monitor on the SFC diagram shown in FIG. 4, for example. After the SFC diagram of the block you want to monitor is displayed on the screen, when you start the monitor mode that monitors the active step in the SFC program, the monitor device reads the block number of the block that is already displayed (step S1), and then The active step number for this block is detected from the active step table 511 of FIG. 6 by the active step reverse display means 521, and the step of the detected step number is highlighted (step S2). After that, it is determined whether or not to continue the monitor mode (step S3). When it is determined that the monitor mode is to be continued, the process returns to step S2, and steps S2 and S3 are performed until it is determined that the monitor mode is not continued. Execute repeatedly. When it is determined in step S3 that the monitor mode is not continued, a series of monitor mode processing operations ends.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

従来のプログラマブルコントローラ用モニタ装置は以
上のように構成されているので、SFCプログラムが複数
ブロックからなる場合において、表示するブロックを指
定しそのブロックのSFC図を表示した後、モニタ表示を
行うために、活性状態のブロック、即ち活性ブロックの
モニタを実行しようとする場合、ブロックが活性ブロッ
クか否かを判断するのに、各ブロック毎にモニタを実行
して調査するか、ブロックの一覧リスト(活性ブロック
テーブル)をモニタして、活性中のブロックを指定して
該ブロックをモニタする必要がある等、活性ブロックの
モニタ表示に余分な操作が必要でありブロックが活性に
なっても迅速にそのブロックをモニタできないという問
題点があった。
Since the conventional programmable controller monitor device is configured as described above, when the SFC program is composed of multiple blocks, the block to be displayed is specified, the SFC diagram of that block is displayed, and then the monitor display is performed. , When an active block, that is, an active block is to be monitored, in order to determine whether or not the block is an active block, the monitor is executed for each block to investigate, or a block list list (active It is necessary to monitor the block table) and specify the active block to monitor the active block. For example, an extra operation is required for the active block monitor display. There was a problem that could not be monitored.

この発明は上述のような問題点を解決するためになさ
れたもので、活性ブロックの迅速なモニタ表示ができる
プログラマブルコントローラのモニタ制御方法およびモ
ニタ制御装置を得ることを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to obtain a monitor control method and a monitor control device of a programmable controller capable of performing quick monitor display of active blocks.

〔課題を解決するための手段〕[Means for solving the problem]

この発明に係るプログラマブルコントローラ用モニタ
制御方法は、複数個のブロックにより構成されたシーケ
ンスプログラムを与えられ、各ブロックを個別に起動す
ることにより各ブロック毎に選択的にブロックを活性状
態とし、活性状態のブロックのステップを順次実行する
プログラマブルコントローラのモニタ制御方法におい
て、予め各ブロック毎に自動モニタ指定の有無を設定し
てその情報を活性ブロックモニタ指定テーブルに格納
し、シーケンスプログラムの実行下においてブロックの
起動を監視し、起動されたブロックが自動モニタ指定を
受けているか否かを前記活性ブロックモニタ指定テーブ
ルを参照して判別し、起動されたブロックが自動モニタ
指定を受けていれば、モニタ対象のブロックをそのブロ
ックに自動的に切り換え、当該ブロックの活性ステップ
を差別表示する処理を行うものである。
A monitor control method for a programmable controller according to the present invention is provided with a sequence program composed of a plurality of blocks, and each block is activated individually to selectively activate the block for each block. In the monitor control method of the programmable controller that sequentially executes the steps of blocks, the presence / absence of automatic monitor designation is set in advance for each block, the information is stored in the active block monitor designation table, and the block The activation is monitored, and it is determined whether or not the activated block receives the automatic monitor designation by referring to the active block monitor designation table. If the activated block receives the automatic monitor designation, the Automatically switch block to block Performs processing to differentiate display the active steps of the block.

また、この発明に係るプログラマブルコントローラ用
モニタ制御装置は、複数個のブロックにより構成された
シーケンスプログラムを与えられ、各ブロックを個別に
起動することにより各ブロック毎に選択的にブロックを
活性状態とし、活性状態のブロックのステップを順次実
行するプログラマブルコントローラのモニタ制御装置に
おいて、各ブロック毎に自動モニタ指定の有無を示す活
性ブロックモニタ指定テーブルと、ブロックが活性にな
ったことを検出するブロック起動検出手段と、各ブロッ
ク毎にブロックが活性或いは非活性であるかを示す活性
ブロックテーブルと、ステップ実行による活性ステップ
のステップ番号を格納する活性ステップテーブルと、活
性ブロックが自動モニタ指定されているか否かを前記活
性ブロックモニタ指定テーブルより検出し、モニタ対象
のブロックの切り換えを行う活性ブロックモニタ指定検
出手段と、前記活性ブロックモニタ指定検出手段により
検出された自動モニタ指定のブロックの活性ステップ番
号を前記活性ステップテーブルより検出し、当該活性ス
テップ番号のステップを差別表示する処理を行う活性ス
テップ差別表示手段と、を有しているものである。
Further, the programmable controller monitor control device according to the present invention is provided with a sequence program composed of a plurality of blocks, and activates each block individually to selectively activate the block for each block. In a monitor controller of a programmable controller that sequentially executes steps of blocks in an active state, an active block monitor designation table indicating whether or not automatic monitoring is designated for each block, and block activation detection means for detecting activation of a block For each block, an active block table that indicates whether the block is active or inactive, an active step table that stores the step number of the active step by step execution, and whether or not the active block is designated for automatic monitoring are displayed. The active block monitor finger An active block monitor designation detecting means for switching the block to be monitored by detecting from the table, and an active step number of the block designated by the automatic monitor detected by the active block monitor designation detecting means is detected from the active step table, Active step discrimination display means for performing processing for differentially displaying the step of the active step number.

〔作用〕 この発明によるプログラマブルコントローラのモニタ
制御方法では、各ブロック毎の自動モニタ指定の有無の
設定情報が予め各ブロック毎に活性ブロックモニタ指定
テーブルに格納され、シーケンスプログラムの実行下に
おいては、ブロックの起動を監視し、ブロックが起動さ
れと、そのブロックが自動モニタ指定を受けているか否
かを前記活性ブロックモニタ指定テーブルを参照して判
別し、起動されたブロックが自動モニタ指定を受けてい
れば、モニタ対象のブロックが自動的に切り換えられ、
当該ブロック(モニタ中のブロック)の活性ステップを
差別表示する処理が自動的に行われる。
[Operation] In the monitor control method of the programmable controller according to the present invention, the setting information of the presence / absence of automatic monitor designation for each block is stored in advance in the active block monitor designation table for each block, and when the sequence program is executed, The activation of the block is monitored, and when the block is activated, it is determined whether or not the block has received the automatic monitor designation by referring to the active block monitor designation table. Block to be monitored is automatically switched,
The process of differentially displaying the active step of the block (block being monitored) is automatically performed.

また、この発明によるプログラマブルコントローラの
モニタ制御装置では、ブロック起動検出手段によりブロ
ックが活性になったこと、即ちブロックの起動が検出さ
れ、各ブロック毎にブロックが活性或いは非活性である
かの情報が活性ブロックテーブルに格納される。
In the monitor controller of the programmable controller according to the present invention, the block activation detecting means detects that the block is activated, that is, the activation of the block is detected, and information on whether the block is active or inactive is provided for each block. It is stored in the active block table.

自動モニタ指定の有無は各ブロック毎に予め設定さ
れ、その情報が活性ブロックモニタ指定テーブルに格納
されており、活性ブロックが自動モニタ指定されている
か否かを活性ブロックモニタ指定検出手段が活性ブロッ
クモニタ指定テーブルより検出し、活性ブロックが自動
モニタ指定されていれば、活性ブロックモニタ指定検出
手段はモニタ対象のブロックをその活性ブロックに切り
換える。
The presence / absence of automatic monitor designation is preset for each block, and the information is stored in the active block monitor designation table, and the active block monitor designation detection means determines whether the active block is designated for automatic monitor or not. When the active block is detected from the designated table and the active block is designated to be automatically monitored, the active block monitor designation detecting means switches the block to be monitored to the active block.

ステップ実行による活性ステップのステップ番号は活
性ステップテーブルに格納され、活性ステップ差別表示
手段は、自動モニタ指定のブロックの活性ステップ番号
を活性ステップテーブルより検出し、この活性ステップ
番号のステップを差別表示する処理を行う。
The step number of the active step by executing the step is stored in the active step table, and the active step discrimination display means detects the active step number of the block designated by the automatic monitor from the active step table and differentially displays the step of this active step number. Perform processing.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明によるモニタ制御装置を含むプログ
ラマブルコントローラの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a programmable controller including a monitor controller according to the present invention.

図において、101は各種演算を実行するCPU、102はCPU
101が実行するシステムプログラムが格納されるシステ
ムプログラムROM、103は活性ブロックテーブル、活性ス
テップテーブル等が格納されるRAM、104はプログラマブ
ルコントローラ(図示せず)との間のケーブル上の信号
と内部信号との整合をとる入出力インターフェース、10
5はCRT表示用インターフェース、105aはCRTである。
In the figure, 101 is a CPU that executes various calculations, and 102 is a CPU.
A system program ROM in which the system program executed by 101 is stored, 103 is a RAM in which an active block table, an active step table, etc. are stored, 104 is a signal on a cable to and from a programmable controller (not shown), and an internal signal I / O interface to match with, 10
Reference numeral 5 is a CRT display interface, and 105a is a CRT.

第2図は、第1図に示したOS用ワークRAM103に格納さ
れている活性ブロックテーブル、活性ステップテーブ
ル、および、活性ブロックモニタテーブルを示す図であ
る。
FIG. 2 is a diagram showing an active block table, an active step table, and an active block monitor table stored in the OS work RAM 103 shown in FIG.

図において、110はそれぞれのブロックについて当該
ブロックが活性か、或いは非活性かを示す活性ブロック
テーブルであり、それぞれのブロックNo.について、そ
のブロックが活性/非活性のいずれであるかを示す情報
を有している。
In the figure, 110 is an active block table indicating whether the block is active or inactive for each block, and for each block No., information indicating whether the block is active or inactive is displayed. Have

111はそれぞれのブロック毎について活性ステップの
ステップNo.が記憶される活性ステップテーブルであ
る。
Reference numeral 111 is an active step table in which step numbers of active steps are stored for each block.

112は自動モニタ指定の有無をそれぞれのブロックに
ついて記憶する活性ブロックモニタ指定テーブルであ
る。
Reference numeral 112 denotes an active block monitor designation table that stores the presence / absence of automatic monitor designation for each block.

また、第1図中、121は活性ステップ反転表示プログ
ラムであり、活性ステップテーブル111より活性ステッ
プを検出し、そのステップを画面上にて反転表示する処
理はこの活性ステップ反転表示プログラム121をCPU101
が実行することにより具現される。
Further, in FIG. 1, reference numeral 121 denotes an active step reverse display program, which detects the active step from the active step table 111 and reverse-displays the step on the screen.
Is implemented by executing.

122はブロックが起動するのを、換言すると、ブロッ
クが非活性から活性に変化するのを活性ブロックテーブ
ル110を参照して検出するブロック起動検出プログラム
であり、活性ブロックを検出する活性ブロック検出手段
は、CPU101がこのブロック起動検出プログラムを実行す
ることにより具現される。
122 is a block activation detection program that detects activation of a block, in other words, that the block changes from inactive to active by referring to the active block table 110, and an active block detection unit that detects an active block is , CPU 101 is implemented by executing this block activation detection program.

123は非活性から活性に変化したブロックが自動モニ
タ指定されているかを活性ブロックモニタ指定テーブル
112により検出する活性ブロックモニタ指定検出プログ
ラムであり、指定されていればモニタするブロックを当
該ブロックに切換える。なお、活性ブロックモニタ指定
検出手段はCPU101がこの活性ブロックモニタ指定検出プ
ログラム123を実行することにより具現される。
123 is the active block monitor specification table indicating whether the block that has changed from inactive to active is automatically monitored.
This is an active block monitor designation detection program detected by 112. If it is designated, the block to be monitored is switched to that block. The active block monitor designation detection means is implemented by the CPU 101 executing the active block monitor designation detection program 123.

なお、これらの活性ステップ反転表示プログラム12
1、ブロック起動検出プログラム122、活性ブロックモニ
タ検出プログラムはいずれもシステムプログラムROM102
に格納されている。
Note that these active step reverse display programs 12
1, block activation detection program 122, active block monitor detection program are all system program ROM 102
It is stored in.

次に動作について第3図のフローチャートにより説明
する。
Next, the operation will be described with reference to the flowchart of FIG.

第1図において、CPU101はシステムプログラムROM102
に格納されているプログラムに従って動作し、RAM103に
格納されている各テーブルを監視しながら必要なデータ
を検出し、CRT表示用インターフェース105を介してCRT1
05aに表示する。
In FIG. 1, the CPU 101 is a system program ROM 102.
It operates according to the program stored in the CRT1 and detects the necessary data while monitoring each table stored in the RAM103, and the CRT1
Display on 05a.

ユーザは例えば、予めモニタ装置にSFC図を画面表示
した後、自動的にモニタ表示させたいブロックをキー操
作により指定しておくことにより、このブロックが自動
モニタブロックに指定される。
The user, for example, displays the SFC diagram on the monitor screen in advance, and then specifies the block to be automatically displayed on the monitor by key operation, whereby the block is specified as the automatic monitor block.

第3図のフローチャートにおいて、モニタ装置は、既
にそのSFC図が画面表示されているブロックNo.をリード
し(ステップS10)、活性ステップ反転表示プログラム1
21にて、このブロックの活性ステップを第2図に示した
活性ステップテーブル111より求め、この活性ステップ
を画面上にて反転表示する(ステップS11)。
In the flowchart of FIG. 3, the monitor device reads the block number whose SFC diagram is already displayed on the screen (step S10), and the active step reverse display program 1
At 21, the active step of this block is obtained from the active step table 111 shown in FIG. 2, and this active step is highlighted on the screen (step S11).

また、第2図に示した活性ブロックテーブル110によ
り各ブロックの状態変化をブロック起動検出プログラム
122が監視して、起動したブロックを、換言すると、非
活性から活性へ変化したブロックを検出する(ステップ
S12)。
In addition, the active block table 110 shown in FIG.
122 monitors and detects activated blocks, in other words, blocks that have changed from inactive to active (step
S12).

更に、起動されたブロックが、予めユーザにより自動
モニタブロックに指定されたブロックであるか否かを第
2図に示した活性ブロックモニタ指定テーブル112によ
り活性ブロックモニタ指定検出プログラム123が検出
し、指定されている場合にはこのプログラムをモニタす
るように切り換える(ステップS13)。
Further, the active block monitor specification detection program 123 detects whether or not the activated block is a block previously specified as an automatic monitor block by the user by the active block monitor specification table 112 shown in FIG. If so, the program is switched to monitor this program (step S13).

最後に、モニタモードを続行するか否かを判断し(ス
テップS14)、続行するであれば、再度ステップS11に戻
り、ステップS11からステップS13までの各処理を繰り返
す。以上の動作により、自動モニタブロックに指定され
ているブロックが起動したとき、このブロックが画面表
示されるように自動的にモニタ画面の切り換えを行うこ
とができる。ステップS14においてモニタモードを続行
しないと判断されれば、動作を終了する。
Finally, it is determined whether or not to continue the monitor mode (step S14). If the monitor mode is to be continued, the process returns to step S11 and the processes from step S11 to step S13 are repeated. By the above operation, when the block designated as the automatic monitor block is activated, the monitor screen can be automatically switched so that this block is displayed on the screen. If it is determined in step S14 that the monitor mode is not continued, the operation ends.

上述の実施例においては、ブロックの自動モニタ指定
について説明したが、ステップの動作を示すラダー回路
を画面表示しその動作状態をモニタすることも可能であ
る。すなわち上述の実施例と同様の方法で活性ステップ
モニタ指定テーブルを設け、そのステップの起動検出手
段を設けることにより指定ステップの自動モニタを行う
ことができる。
In the above-mentioned embodiment, the automatic monitor designation of the block is explained, but it is also possible to display the ladder circuit showing the operation of the step on the screen and monitor the operating state thereof. That is, the active step monitor designation table is provided by the same method as that of the above-described embodiment, and the activation detection means for the step is provided, so that the designated step can be automatically monitored.

また、活性ブロックモニタ指定テーブルと活性ステッ
プモニタ指定テーブルとを共存させることにより、指定
ブロックの指定ステップを自動モニタすることも可能で
ある。
Further, by coexisting the active block monitor specification table and the active step monitor specification table, it is possible to automatically monitor the specified step of the specified block.

その他、上述の実施例においては活性ブロックのモニ
タ画面にすばやく移行できるように自動モニタ方式を採
用しているが、従来方法においてブロックのモニタ画面
上にて活性ブロック情報をモニタできるように構成する
ことにより、簡単に指定の活性ブロックにモニタ画面を
切り換えるようにすることも可能である。
In addition, in the above-mentioned embodiment, the automatic monitor system is adopted so that the monitor screen of the active block can be quickly moved. However, in the conventional method, the active block information can be monitored on the monitor screen of the block. Thus, it is possible to easily switch the monitor screen to the designated active block.

〔発明の効果〕〔The invention's effect〕

以上のように、この発明によればモニタ表示用に新た
に活性ブロックモニタ指定テーブルを設け、予めユーザ
に自動モニタ表示させたいブロックを指定させ、指定さ
れたブロックが起動すると、そのブロックのモニタ画面
に自動的に切り換えられ活性ステップが反転表示などに
より他のステップと区別可能に表示されるので、起動と
同時に自動的にそのブロックをモニタでき、活性ブロッ
クの迅速なるモニタ表示を実現することができる。
As described above, according to the present invention, the active block monitor designation table is newly provided for monitor display, the user is made to designate the block to be automatically displayed on the monitor in advance, and when the designated block is activated, the monitor screen of the block is displayed. The active step is displayed automatically so that it can be distinguished from other steps by reverse display, etc., so that the block can be automatically monitored at the time of startup, and a quick monitor display of the active block can be realized. .

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

第1図はこの発明の一実施例によるプログラマブルコン
トローラのモニタ制御装置の構成を示すブロック図、第
2図は第1図に示したRAM103の内容を示す説明図、第3
図はこの発明によるモニタ制御方法におけるモニタモー
ドでの処理を示すフローチャート、第4図はSFCプログ
ラムの一例を示す説明図、第5図は従来のプログラマブ
ルコントローラ用モニタ装置の構成を示すブロック図、
第6図は第1図に示したRAM507の内容を示す説明図、第
7図は従来のモニタ装置における動作を示すフローチャ
ートである。 図において、 101……CPU 102……システムプログラムROM 103……RAM 110……活性ブロックテーブル 111……活性ステップテーブル 112……活性ブロックモニタ指定テーブル 121……活性ステップ反転表示プログラム 122……ブロック起動検出プログラム 123……活性ブロックモニタ指定検出プログラム なお、各図中、同一符号は同一、又は相当部分を示す。
1 is a block diagram showing the configuration of a monitor controller of a programmable controller according to an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the contents of the RAM 103 shown in FIG. 1, and FIG.
FIG. 4 is a flow chart showing the processing in the monitor mode in the monitor control method according to the present invention, FIG. 4 is an explanatory view showing an example of the SFC program, and FIG. 5 is a block diagram showing the configuration of a conventional programmable controller monitor device.
FIG. 6 is an explanatory diagram showing the contents of the RAM 507 shown in FIG. 1, and FIG. 7 is a flowchart showing the operation of the conventional monitor device. In the figure, 101 ... CPU 102 ... system program ROM 103 ... RAM 110 ... active block table 111 ... active step table 112 ... active block monitor specification table 121 ... active step reverse display program 122 ... block activation Detection program 123 ... Active block monitor designation detection program In each figure, the same reference numerals indicate the same or corresponding portions.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数個のブロックにより構成されたシーケ
ンスプログラムを与えられ、各ブロックを個別に起動す
ることにより各ブロック毎に選択的にブロックを活性状
態とし、活性状態のブロックのステップを順次実行する
プログラマブルコントローラのモニタ制御方法におい
て、 予め各ブロック毎に自動モニタ指定の有無を設定してそ
の情報に活性ブロックモニタ指定テーブルに格納し、シ
ーケンスプログラムの実行下においてブロックの起動を
監視し、起動されたブロックが自動モニタ指定を受けて
いるか否かを前記活性ブロックモニタ指定テーブルを参
照して判別し、起動されたブロックが自動モニタ指定を
受けていれば、モニタ対象のブロックをそのブロックに
自動的に切り換え、当該ブロックの活性ステップを差別
表示する処理を行うことを特徴とするプログラマブルコ
ントローラのモニタ制御方法。
1. A sequence program composed of a plurality of blocks is provided, and each block is individually activated to selectively activate the block, and the steps of the active block are sequentially executed. In the programmable controller monitor control method, the presence / absence of automatic monitor designation is set in advance for each block, the information is stored in the active block monitor designation table, and the activation of the block is monitored under the execution of the sequence program and activated. Whether the specified block has received the automatic monitor specification is determined by referring to the active block monitor specification table. If the activated block has received the automatic monitor specification, the block to be monitored is automatically changed to that block. Switch to, and perform a process to distinguish the active step of the block. A monitor control method for a programmable controller, which is characterized by performing.
【請求項2】複数個のブロックにより構成されたシーケ
ンスプログラムを与えられ、各ブロックを個別に起動す
ることにより各ブロック毎に選択的にブロックを活性状
態とし、活性状態のブロックのステップを順次実行する
プログラマブルコントローラのモニタ制御装置におい
て、 各ブロック毎に自動モニタ指定の有無を示す活性ブロッ
クモニタ指定テーブルと、 ブロックが活性になったことを検出するブロック起動検
出手段と、 各ブロック毎にブロックが活性或いは非活性であるかを
示す活性ブロックテーブルと、 ステップ実行による活性ステップのステップ番号を格納
する活性ステップテーブルと、 活性ブロックが自動モニタ指定されているか否かを前記
活性ブロックモニタ指定テーブルより検出し、モニタ対
象のブロックの切り換えを行う活性ブロックモニタ指定
検出手段と、 前記活性ブロックモニタ指定検出手段により検出された
自動モニタ指定のブロックの活性ステップ番号を前記活
性ステップテーブルより検出し、当該活性ステップ番号
のステップを差別表示する処理を行う活性ステップ差別
表示手段と、 を有していることを特徴とするプログラマブルコントロ
ーラのモニタ制御装置。
2. A sequence program composed of a plurality of blocks is provided, each block is activated individually to selectively activate the block, and the steps of the active block are sequentially executed. In a monitor controller of a programmable controller, an active block monitor specification table indicating whether or not automatic monitoring is specified for each block, block activation detection means for detecting activation of a block, and block activation for each block Alternatively, the active block table indicating whether the block is inactive, the active step table storing the step number of the active step by step execution, and whether or not the active block is automatically monitored are detected from the active block monitor specification table. , Switching blocks to be monitored Active block monitor designation detecting means for performing the step of detecting the active step number of the block designated by the automatic monitor detected by the active block monitor designation detecting means from the active step table, and differentially displaying the step of the active step number. A monitor controller for a programmable controller, characterized in that it has an active step discrimination display means for performing.
JP2104074A 1990-04-19 1990-04-19 Programmable controller monitor control method and monitor control device Expired - Lifetime JP2526704B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2104074A JP2526704B2 (en) 1990-04-19 1990-04-19 Programmable controller monitor control method and monitor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2104074A JP2526704B2 (en) 1990-04-19 1990-04-19 Programmable controller monitor control method and monitor control device

Publications (2)

Publication Number Publication Date
JPH041804A JPH041804A (en) 1992-01-07
JP2526704B2 true JP2526704B2 (en) 1996-08-21

Family

ID=14371008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2104074A Expired - Lifetime JP2526704B2 (en) 1990-04-19 1990-04-19 Programmable controller monitor control method and monitor control device

Country Status (1)

Country Link
JP (1) JP2526704B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2527829Y2 (en) * 1992-07-10 1997-03-05 ダイワ精工株式会社 Fishing reel handle folding device
JP4462402B2 (en) * 2003-07-16 2010-05-12 オムロン株式会社 Program development support apparatus, processing method, program and recording medium for programmable controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6130107U (en) * 1984-07-26 1986-02-22 オムロン株式会社 Flowchart programmable controller
JPH0296802A (en) * 1988-10-04 1990-04-09 Toshiba Corp Programmable controller

Also Published As

Publication number Publication date
JPH041804A (en) 1992-01-07

Similar Documents

Publication Publication Date Title
JP2762893B2 (en) Programmable controller and method of executing SFC program using the programmable controller
JP2000207108A (en) Device and method for switching keyboard
JP4280329B2 (en) Coordinate input device
JP2526704B2 (en) Programmable controller monitor control method and monitor control device
JP3143330B2 (en) Programmable controller
JPH01199212A (en) Control system for operating procedure of interactive display device
JPH10187404A (en) Icon display control method
JPH07122907B2 (en) Graphic input processing device
JP3941524B2 (en) Electronic device operation device
JPS61210415A (en) Crt key input operating device
JP2827874B2 (en) Menu display control method
JPH06186058A (en) Color plotter
JPH04246720A (en) Level display system for window menu
JPH05113861A (en) Data setting device
JPH0679245B2 (en) Programmable controller sequence program execution method
JPH0594438A (en) Document display device
JPH0683405A (en) Programmable controller programming device
JPS61166629A (en) Controller of electronic computer
JPS6385923A (en) Automatic displaying system for menu
JPS63116243A (en) Self-diagnosing system
JPH08161005A (en) Sequence monitoring controller
JP2000046986A (en) Plant operation monitoring device
JP2002023912A (en) Multiple window switching control method and method
JPH1069365A (en) Multiwindow display management system
JPH08180204A (en) Display area scroll method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080614

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20080614

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090614

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100614

Year of fee payment: 14

EXPY Cancellation because of completion of term