JP2019046228A - Programmable controller and ladder circuit program verification system - Google Patents
Programmable controller and ladder circuit program verification system Download PDFInfo
- Publication number
- JP2019046228A JP2019046228A JP2017169395A JP2017169395A JP2019046228A JP 2019046228 A JP2019046228 A JP 2019046228A JP 2017169395 A JP2017169395 A JP 2017169395A JP 2017169395 A JP2017169395 A JP 2017169395A JP 2019046228 A JP2019046228 A JP 2019046228A
- Authority
- JP
- Japan
- Prior art keywords
- ladder circuit
- register information
- programmable controller
- register
- ladder
- 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
Links
Images
Abstract
Description
本発明は、プログラマブルコントローラ及びラダー回路プログラム検証システムに関する。 The present invention relates to a programmable controller and a ladder circuit program verification system.
プログラマブルコントローラは、ユーザが作成したラダー回路プログラムを外部入出力データを取扱うレジスタ(以後、外部入出力レジスタと称す)とラダー演算に使用するレジスタを(以後、内部演算用レジスタと称す)用いてラダー演算処理を実行する。 The programmable controller uses a ladder circuit program created by the user to create a ladder using a register that handles external input / output data (hereinafter referred to as an external input / output register) and a register that is used for ladder calculation (hereinafter referred to as an internal calculation register). Perform arithmetic processing.
ユーザは、プログラマブルコントローラを使用した装置の立ち上げ時若しくは不具合発生時に、意図したとおりにラダー回路プログラムが実行されているかを検証する。プログラマブルコントローラに周辺装置を接続しその周辺装置からラダー回路モニタ若しくはレジスタモニタを実行すると、プログラマブルコントローラから通信によりレジスタ情報を取得し周辺装置のディスプレイに表示する。 The user verifies whether the ladder circuit program is executed as intended when the apparatus using the programmable controller is started up or when a malfunction occurs. When a peripheral device is connected to the programmable controller and ladder circuit monitoring or register monitoring is executed from the peripheral device, register information is acquired from the programmable controller by communication and displayed on the display of the peripheral device.
ユーザはそのディスプレイにリアルタイムに表示される情報(ラダー図若しくはレジスタ情報)を元に検証を行う。このように、リアルタイムにプログラマブルコントローラから通信機能を用いてレジスタ情報をモニタリングし周辺装置のディスプレイに表示させる。 The user performs verification based on information (ladder diagram or register information) displayed in real time on the display. In this way, register information is monitored from the programmable controller using a communication function in real time and displayed on the display of the peripheral device.
この際、周辺装置のディスプレイに表示されるデータが高速に変化する外部入出力レジスタ及び内部演算用レジスタの場合は、周辺装置のディスプレイで視認することが難しい若しくは見落とす場合がありラダー回路プログラムの検証に時間を要してしまう。 At this time, in the case of external input / output registers and internal calculation registers whose data displayed on the peripheral device display changes at high speed, it may be difficult or overlooked on the peripheral device display, and verification of the ladder circuit program It takes time.
このため、リアルタイムでのモニタで検証が難しい場合には、指定したレジスタ情報を定期的に保存して記憶するロギング機能を用いてラダー回路検証を行う。例えば、特許文献1には、このロギング機能を利用してラダー回路検証を行う技術が開示されている。
For this reason, when verification in real time is difficult, ladder circuit verification is performed using a logging function that periodically saves and stores designated register information. For example,
しかし、特許文献1の検証方法では、タイムチャート若しくは数値データを周辺装置のディスプレイに表示しており、ラダー回路自体は表示していない。このため、ユーザはラダー回路とロギングデータを机上で対応させる必要があり、ラダー回路の検証に時間を要してしまう。
However, in the verification method of
この際、ラダー回路の全てをメモリにロギングしてディスプレイに表示することも考えられるが、メモリ容量が増大すると共にラダー回路検証の時間が増大してしまう。 At this time, it is conceivable to log the entire ladder circuit to the memory and display it on the display. However, the memory capacity increases and the ladder circuit verification time also increases.
本発明の目的は、メモリ容量及びラダー回路検証の時間を増大させることなく効率的にラダー回路をロギングして表示することにある。 An object of the present invention is to efficiently log and display a ladder circuit without increasing the memory capacity and the time for verifying the ladder circuit.
本発明の一態様のプログラマブルコントローラは、情報を表示する周辺装置と通信可能に接続され、ラダー回路のプログラムを前記ラダー回路のレジスタ情報を用いてラダー演算するプログラマブルコントローラであって、過去の前記ラダー回路を表示させるために必要な前記レジスタ情報を検出する制御部と、
前記制御部により検出された前記レジスタ情報を前記レジスタ情報の変化点を基準にして保存するメモリと前記メモリに保存した前記過去のラダー回路の前記レジスタ情報を前記プログラマブルコントローラから通信により前記周辺装置に送り、送られた前記レジスタ情報を前記周辺装置に前記変化点を基準にして表示させるインタフェース部と、を有することを特徴する。
A programmable controller according to one embodiment of the present invention is a programmable controller that is connected to a peripheral device that displays information so as to be communicable and performs a ladder operation on a ladder circuit program using register information of the ladder circuit. A control unit for detecting the register information necessary for displaying a circuit;
A memory for storing the register information detected by the control unit with reference to a change point of the register information, and the register information of the past ladder circuit stored in the memory are communicated from the programmable controller to the peripheral device. And an interface unit that displays the sent register information on the peripheral device based on the change point.
本発明の一態様のラダー回路プログラムの検証システムは、ラダー回路のプログラムを前記ラダー回路のレジスタ情報を用いてラダー演算するプログラマブルコントローラと、前記プログラマブルコントローラと通信可能に接続され、前記ラダー回路の前記レジスタ情報を表示する周辺装置と、を備え、前記プログラマブルコントローラは、過去の前記ラダー回路を表示させるために必要な前記レジスタ情報を検出する制御部と、前記制御部により検出された前記レジスタ情報を前記レジスタ情報の変化点を基準にして保存するメモリと、を有し、
前記周辺装置は、前記メモリに保存した前記過去のラダー回路の前記レジスタ情報を前記プログラマブルコントローラから通信により取得し、取得した前記レジスタ情報を前記変化点を基準にして表示することを特徴する。
A ladder circuit program verification system according to an aspect of the present invention includes a programmable controller that performs a ladder operation on a ladder circuit program using register information of the ladder circuit, and is connected to the programmable controller so as to be communicable. A peripheral device for displaying the register information, and the programmable controller detects the register information necessary for displaying the ladder circuit in the past, and the register information detected by the control unit. A memory for storing the change point of the register information as a reference,
The peripheral device acquires the register information of the past ladder circuit stored in the memory from the programmable controller by communication, and displays the acquired register information on the basis of the change point.
本発明の一態様のラダー回路プログラムの検証システムは、ラダー回路のプログラムを前記ラダー回路のレジスタ情報を用いてラダー演算するプログラマブルコントローラと、前記プログラマブルコントローラと通信可能に接続され、前記ラダー回路の前記レジスタ情報を表示する周辺装置と、を備え、前記プログラマブルコントローラは、過去の前記ラダー回路を表示させるために必要な前記レジスタ情報を検出し、前記周辺装置は、前記プログラマブルコントローラにより検出された前記レジスタ情報を前記プログラマブルコントローラから通信により取得し、取得した前記レジスタ情報を前記レジスタ情報の変化点を基準にして保存し、前記保存した前記過去のラダー回路の前記レジスタ情報を前記変化点を基準にして表示することを特徴とする。 A ladder circuit program verification system according to an aspect of the present invention includes a programmable controller that performs a ladder operation on a ladder circuit program using register information of the ladder circuit, and is connected to the programmable controller so as to be communicable. A peripheral device for displaying register information, wherein the programmable controller detects the register information necessary for displaying the ladder circuit in the past, and the peripheral device detects the register detected by the programmable controller. Information is acquired from the programmable controller by communication, the acquired register information is stored with reference to a change point of the register information, and the saved register information of the past ladder circuit is set with reference to the change point. To display And butterflies.
本発明の一態様によれば、メモリ容量及びラダー回路検証の時間を増大させることなく効率的にラダー回路をロギングして表示することができる。 According to one embodiment of the present invention, a ladder circuit can be efficiently logged and displayed without increasing the memory capacity and the ladder circuit verification time.
周辺装置のディスプレイに表示されるデータが高速に変化する外部入出力レジスタ及び内部演算用レジスタの場合は、周辺装置のディスプレイで視認することが難しい若しくは見落とす場合がある。このため、ラダー回路プログラムの検証に時間を要してしまう。実施形態では、ラダー回路をリアルタイムではなく過去に遡って周辺装置のディスプレイに表示させる。 In the case of external input / output registers and internal arithmetic registers in which data displayed on the peripheral device display changes at high speed, it may be difficult or overlooked on the peripheral device display. For this reason, it takes time to verify the ladder circuit program. In the embodiment, the ladder circuit is displayed on the display of the peripheral device retroactively rather than in real time.
具体的には、実施形態では、過去データを表示させるために必要な外部入出力レジスタ及び内部演算用レジスタを検出し、そのレジスタ情報を定期的に収集し保存し、保存してあるレジスタ情報を周辺装置のラダー回路モニタに表示する。このように、過去に遡って検証したいラダー回路部のレジスタ情報(外部入出力レジスタ及び内部演算用レジスタ)を簡単な操作で検出し、そのレジスタ情報をユーザの指定に基づき定期的に収集して保存する。 Specifically, in the embodiment, an external input / output register and an internal calculation register necessary for displaying past data are detected, the register information is periodically collected and stored, and the stored register information is stored. Display on the ladder circuit monitor of the peripheral device. In this way, register information (external input / output registers and internal arithmetic registers) for ladder circuits that you want to verify retroactively can be detected with simple operations, and the register information is collected periodically based on user specifications. save.
実施形態では、プログラマブルコントローラが実行した過去のラダー演算結果を周辺装置上のラダー回路モニタで表示できるようになる。このため、図示状態でどの回路が成立しているか否かを簡単に判断できラダー回路プログラムの検証が容易となる。
以下、図面を用いて実施例について説明する。
In the embodiment, it is possible to display a past ladder calculation result executed by the programmable controller on a ladder circuit monitor on the peripheral device. Therefore, it is possible to easily determine which circuit is established in the illustrated state, and it is easy to verify the ladder circuit program.
Embodiments will be described below with reference to the drawings.
図1を参照して、実施例1のラダー回路プログラム検証システムについて説明する。
ラダー回路プログラム検証システムは、ラダー演算処理を行うプログラマブルコントローラ10と、ラダー回路プログラムの編集とモニタ表示を行う周辺装置11を有する。プログラマブルコントローラ10と周辺装置11は、通信ケーブル12により接続されている。通信ケーブル12として、例えば、シリアル通信、イーサネット(Ethernet:登録商標)が使用される。
A ladder circuit program verification system according to the first embodiment will be described with reference to FIG.
The ladder circuit program verification system includes a
図1aを参照して、プログラマブルコントローラ10の構成について説明する。
プログラマブルコントローラ10は、ラダープログラムの演算や、周辺装置インタフェース部31を介し接続された周辺装置11との通信処理を行うMPU(制御部)30を有する。さらに、MPU30の制御する内容及び手順を記憶した不揮発性のシステムプログラムメモリ32、ユーザが作成したラダー回路を格納するための書き換え可能なラダー回路格納メモリ33を有する。
The configuration of the
The
さらに、プログラマブルコントローラ10は、MPU30が実行したラダー回路プログラムの演算結果を格納する内部演算用レジスタメモリ34、外部入出力レジスタメモリ35、ワークメモリ36及び比較用ワークメモリ41を有する。さらに、外部機器42(センサ、スイッチ等)からの入力信号を取込むための入力モジュール37、外部機器43(ランプ、アクチュエータ等)への出力信号に演算結果を出力するための出力モジュール38、インタフェースするための外部バスインタフェース39を有する。また、外部接続となるが汎用USBメモリ、SDカードメモリ等の外部機器40が追加で接続可能となっている。
Further, the
ラダー回路プログラムは周辺装置11で作成され、通信ケーブル12及び周辺装置インタフェース31を介してラダー回路格納メモリ33に格納される。
The ladder circuit program is created by the
図2を参照して、周辺装置11のディスプレイに表示されたラダー回路の表示例について説明する。
この表示例は、外部入出力レジスタX0(13)、X1(14)、Y100(15)及び内部演算用レジスタR0(16)のレジスタを組み合わせたラダー回路図である。
周辺装置11のディスプレイ上には、過去のラダー回路モニタを実行するための起動用ボタン17が設けられている。
A display example of the ladder circuit displayed on the display of the
This display example is a ladder circuit diagram in which the external input / output registers X0 (13), X1 (14), Y100 (15) and the internal arithmetic register R0 (16) are combined.
On the display of the
図2aを参照して、過去のラダー回路モニタを実行中の周辺装置11のディスプレイ上のラダー回路の表示例について説明する。
周辺装置11のディスプレイ上には、停止ボタン25、過去データ再生ボタン18、基準軸からの経過時間19、再生一時停止ボタン20、コマ送り再生ボタン21、コマ巻戻しボタン22、基準軸からの時間のスライダ表示23、レジスタ情報の変化点までスキップするスキップボタン24が設けられている。
A display example of the ladder circuit on the display of the
On the display of the
そして、プログラマブルコントローラ10と周辺装置11を通信可能な状態(オンラインモード)に移行し、ラダー回路図モニタを実行する。この状態ででは、リアルタイムでラダー演算結果をラダー回路図で表示する。
Then, the
例えば、図2aに示すように、X0(13)、X1(14)、R0(16)がONになると、ラダー回路が成立しY100(15)がONし周辺装置11のディスプレイ上で目視できる。この場合、X0(13)が高速で変化した場合、ラダー演算結果によりY100(15)の状態も高速で変化する。このため、目視での確認では見落とす可能性がある。そこで、過去の演算結果をラダー回路図上で検証するために、レジスタ情報の収集及び保存を実施する必要がある。
For example, as shown in FIG. 2a, when X0 (13), X1 (14), and R0 (16) are turned on, a ladder circuit is established and Y100 (15) is turned on and can be viewed on the display of the
図3のフローチャートを参照して、過去の演算結果をラダー回路図上で検証する手順について説明する。
まず、起動用ボタン17を押してONにする(S300)。これにより、辺装置11のディスプレイ上に表示されている外部入出力レジスタ、内部演算用レジスタを自動で検出する(S301)。この場合は、X0(13)、X1(14)、Y100(15)、R0(16)、X0、X1、R0を自動で検出する。レジスタ番号が重複する場合は、ソートして削除を実行し(S302)、収集対象レジスタテーブル(この場合、X0、X1、Y100、R0)を自動で作成する(S303)。
A procedure for verifying past calculation results on a ladder circuit diagram will be described with reference to the flowchart of FIG.
First, the
次に、収集対象レジスタテーブルに基づきデータロギングを実行する(S304)。収集対象レジスタと認識された外部入出力レジスタ、内部演算用レジスタはディスプレイ上で表示色を変更することにより一目で認識できる。 Next, data logging is executed based on the collection target register table (S304). The external input / output registers and internal calculation registers recognized as the collection target registers can be recognized at a glance by changing the display color on the display.
周辺装置11は、通信手段にてプログラマブルコントローラ10から収集対象レジスタの情報を定期的に収集し(S305)、周辺装置11のメモリ(図示せず)に格納する(S306)。周辺装置11のメモリとして、例えば、HDD、USBメモリ等を使用する。
The
停止ボタン25を押されるまで収集対象レジスタのデータを定期的に収集する(S307)。このデータ収集周期はプログラマブルコントローラ10と周辺装置11の通信能力及び収集対象レジスタの数量により自動的に最適化される。実施例1では、この周期を1msと仮定する。
Until the
データロギング中は、周辺装置11のディスプレイ上にリアルタイムで演算結果を表示しながら1ms周期で収集対象レジスタのデータの取得及び保存を行える。
During data logging, the data in the collection target register can be acquired and stored in a cycle of 1 ms while displaying the calculation result in real time on the display of the
過去情報でラダー回路モニタを表示する際には、過去データ再生ボタン18を押す。これにより、リアルタイム表示から周辺装置11のメモリに格納した収集対象レジスタ情報を使用して、ラダー回路図モニタで起動用ボタン17を押すことによりデータロギングを開始した時間を基準軸とし表示を開始する。
When displaying the ladder circuit monitor with past information, the past
基準軸からの経過時間19を表示し、再生一時停止ボタン20を押すと基準軸からの経過時間19が停止しその状態でのラダー演算結果をラダー回路モニタで表示する。
When the elapsed
また、コマ送り再生ボタン21を押した場合には、基準軸からの経過時間19をデータ収集周期(実施例1では1ms)単位でのラダー回路モニタ表示が可能となる。
コマ巻戻しボタン22を押した場合は、基準軸からの経過時間19をデータ収集周期単位で遡りラダー回路モニタ表示が可能となる。
基準軸からの経過時間19をスライダ表示23し、このスライダを操作することによってもラダー回路モニタ表示の時間軸を変更することが可能である。
When the frame advance /
When the
The time axis of the ladder circuit monitor display can also be changed by displaying the elapsed
図2bは、基準軸からの経過時間10msから17msまでをコマ送り再生したイメージ図である。図2bに示すように、12ms〜13msの期間に外部入力レジスタX1がOFFしたことにより外部出力レジスタY100がその期間OFFしたことが容易に分かる。
最後に、停止ボタン25をONにすると(S308)、データロギングが終了する(S309)。
FIG. 2B is an image diagram of frame-by-frame playback from an elapsed time of 10 ms to 17 ms from the reference axis. As shown in FIG. 2b, it can be easily understood that the external output register Y100 is OFF during the period of 12 ms to 13 ms because the external input register X1 is OFF.
Finally, when the
次に、実施例2のラダー回路プログラム検証システムについて説明する。
実施例1では、収集対象レジスタのデータをプログラマブルコントローラ10と周辺装置11が通信にて取得し周辺装置11のメモリ(図示せず)に格納している。しかし、プログラマブルコントローラ10と周辺装置11の通信能力が低く、収集対象レジスタの数量が膨大な場合には、データ収集周期が大きくなることが懸念される。この点を考慮して、実施例2では、収集対象レジスタのデータをプログラマブルコントローラ10のメモリに格納する。
Next, a ladder circuit program verification system according to the second embodiment will be described.
In the first embodiment, the data in the collection target register is acquired by the
具体的には、図2に示す起動用ボタン17を押すと、周辺装置11のディスプレイ上に表示されている外部入出力レジスタ、内部演算用レジスタを検出する。収集対象レジスタを検出後、プログラマブルコントローラ10に収集対象レジスタの情報を転送し、プログラマブルコントローラ10はその情報を元にデータロギングを実行して、プログラマブルコントローラ10のワークメモリ36若しくは外部接続可能な外部機器40などにレジスタ情報を格納する。
Specifically, when the
過去情報でラダー回路モニタを表示するために、過去データ再生ボタン18が押されると、プログラマブルコントローラ10のメモリに格納されていた収集対象レジスタのデータを周辺装置11が一括で読み込んで周辺装置11のメモリ上にコピーする。そして、周辺装置11のメモリ上にコピーしたデータを使用して過去情報のラダー回路モニタを表示する。
When the past
次に、実施例3のラダー回路プログラム検証システムについて説明する。
実施例2ではプログラマブルコントローラ10自身で収集対象レジスタのデータロギングを行えるメリットがあり、データ収集周期を時間軸ではなくプログラマブルコントローラ10特有のスキャン単位で行うことが可能となる。
Next, a ladder circuit program verification system according to the third embodiment will be described.
The second embodiment has an advantage that the
そこで、実施例3では、周辺装置11からデータ収集周期をスキャン単位で行うように指示を行うことにより、プログラマブルコントローラ10は収集対象レジスタのデータ収集をスキャン単位で行いプログラマブルコントローラ10のメモリに格納する。周辺装置11は、基準軸からの経過ステップ数単位で過去のラダー回路モニタを表示する。
Thus, in the third embodiment, by instructing the
次に、実施例4のラダー回路プログラム検証システムについて説明する。
実施例1〜3では収集対象レジスタの情報を定周期にて収集及び保存を行うため、収集対象レジスタの個数×時間軸分の格納用メモリが必要となる。実施例4では、格納量メモリとなるワークメモリ36を肥大化させないようにする。
Next, a ladder circuit program verification system according to the fourth embodiment will be described.
In the first to third embodiments, since the information of the collection target registers is collected and stored at regular intervals, a storage memory corresponding to the number of collection target registers × time axis is required. In the fourth embodiment, the
図4のフローチャートを参照して、過去の演算結果をラダー回路図上で検証する手順について説明する。
まず、起動用ボタン17を押してONにする(S400)。これにより、周辺装置11のディスプレイ上に表示されている外部入出力レジスタ、内部演算用レジスタを自動で検出する(S401)。この場合、X0(13)、X1(14)、Y100(15)、R0(16)、X0、X1、R0を自動で検出する。
A procedure for verifying past calculation results on a ladder circuit diagram will be described with reference to the flowchart of FIG.
First, the
レジスタ番号が重複する場合は、ソート及び削除を実行し(S402)、収集対象レジスタテーブル(この場合、X0、X1、Y100、R0)を自動で作成する(S403)。 When register numbers overlap, sorting and deletion are executed (S402), and a collection target register table (in this case, X0, X1, Y100, R0) is automatically created (S403).
次に、収集対象レジスタテーブルに基づきデータロギングを実行する(S404)。ここまでは、実施例1、2と同じである。
データロギング開始時は、MPU30は、全レジスタの情報を収集して(S405)、ワークメモリ36若しくはプログラマブルコントローラ10に外部接続可能な外部機器40に格納する(S406)。
Next, data logging is executed based on the collection target register table (S404). The steps so far are the same as those in the first and second embodiments.
At the start of data logging, the
そして、次のデータ収集周期か否かを判定する(S407)。次のデータ収集周期になった場合、収集対象レジスタテーブルに基づきデータロギングを実行して比較用ワークメモリ41に格納する(S408)。そして、比較用ワークメモリ41に格納したレジスタ情報と、前回ワークメモリ36に格納したレジスタ情報と比較する処理を実行してレジスタ情報の変化点50(図5参照)を検出する(S409)。
Then, it is determined whether or not it is the next data collection cycle (S407). When the next data collection cycle comes, data logging is executed based on the collection target register table and stored in the comparison work memory 41 (S408). Then, the register information stored in the
次に、レジスタ情報の変化点があるか否かを判定する(S409)。レジスタ情報の変化点がない場合、上記比較結果はレジスタ情報が同一となるためワークメモリ36への格納は実施せず比較用ワークメモリ41のデータは破棄する。
Next, it is determined whether there is a change point in the register information (S409). When there is no change point of the register information, the comparison result is the same as the register information, so the data in the
レジスタ情報の変化点がある場合には、上記比較結果はレジスタ情報が同一とならないためログング有効データと判定しワークメモリ36にレジスタ情報とタイムスタンプを付加し格納する(S411)。停止ボタン25を押されるまで収集対象レジスタのデータを定期的に収集する。
最後に、停止ボタン25が押されてONになると(S412)、データロギングが終了する(S413)。
If there is a change point in the register information, the comparison result is not the same as the register information, so it is determined as logging valid data, and the register information and time stamp are added to the
Finally, when the
実施例1、2の場合、図2bに示すように、経過時間10msから17msの間に1ms間隔で8回レジスタ情報を格納することとなる。この場合、10msと11ms、12msと13ms、14ms〜17msのレジスタ情報は同じデータを格納することとなる。 In the case of the first and second embodiments, as shown in FIG. 2b, the register information is stored eight times at intervals of 1 ms between the elapsed times of 10 ms and 17 ms. In this case, the same data is stored in register information of 10 ms and 11 ms, 12 ms and 13 ms, and 14 ms to 17 ms.
実施例4の場合、図5及び図6に示すように、レジスタ情報の変化点50にてロギングを実行するため、経過時間12ms、経過時間14msと2回だけレジスタ情報を格納することとなる。このため、格納量メモリの肥大化を低減することが可能である。
In the case of the fourth embodiment, as shown in FIGS. 5 and 6, since logging is executed at the
また、過去情報でラダー回路モニタを表示する場合にも、図5に示すように、レジスタ情報の変化点50をポイントに再生する機能を使うことにより、ラダー回路プログラム検証の時間短縮となる。
Further, when displaying the ladder circuit monitor with past information, as shown in FIG. 5, the time for verifying the ladder circuit program can be shortened by using the function of reproducing the
図6を参照すると、過去データ再生ボタン18を押し、ワークメモリ36に格納した収集対象レジスタのデータを使用しラダー回路図モニタで起動用ボタン17を押す。これにより、データロギングを開始した時間を基準軸とし表示を開始する。
その際、通常再生ではなくスキップ再生24を押すと、経過時間10msからレジスタ情報の変化点経過時間12msまでスキップし一時停止する。
その後に、再度スキップ再生24を押すと、次のレジスタ情報の変化点経過時間14msまでスキップして一時停止する。
Referring to FIG. 6, the past
At this time, when
Thereafter, when the
スキップ再生24を使用することにより、レジスト情報の無変化状態の時間を飛ばして検証することが可能となる。
このように、実施例4では、格納量メモリの肥大化を低減することができる。さらに、レジスタ情報の変化点50をポイントに再生する機能を使うことにより、ラダー回路プログラム検証の時間を短縮することができる。
By using the
Thus, in Example 4, the enlargement of the storage amount memory can be reduced. Furthermore, by using the function of reproducing the register
10 プログラマブルコントローラ、
11 周辺装置
12 通信ケーブル
30 MPU
31 周辺装置インタフェース部
32 システムプログラムメモリ
33 ラダー回路格納メモリ
34 内部演算用レジスタメモリ
35 外部入出力レジスタメモリ
36 ワークメモリ
37 入力モジュール
38 出力モジュール
39 外部バスインタフェース
40 外部機器
41 比較用ワークメモリ
42 外部機器
43 外部機器
10 Programmable controller,
11
31 Peripheral
Claims (8)
過去の前記ラダー回路を表示させるために必要な前記レジスタ情報を検出する制御部と、
前記制御部により検出された前記レジスタ情報を前記レジスタ情報の変化点を基準にして保存するメモリと
前記メモリに保存した前記過去のラダー回路の前記レジスタ情報を前記プログラマブルコントローラから通信により前記周辺装置に送り、送られた前記レジスタ情報を前記周辺装置に前記変化点を基準にして表示させるインタフェース部と、
を有することを特徴するプログラマブルコントローラ。 A programmable controller that is communicably connected to a peripheral device that displays information and performs a ladder operation on a ladder circuit program using register information of the ladder circuit,
A control unit for detecting the register information necessary for displaying the ladder circuit in the past;
A memory for storing the register information detected by the control unit with reference to a change point of the register information, and the register information of the past ladder circuit stored in the memory to the peripheral device by communication from the programmable controller. An interface unit that displays the sent register information on the peripheral device based on the change point;
A programmable controller comprising:
外部入出力データを取扱う外部入出力レジスタと、
前記ラダー演算に使用する内部演算用レジスタと、
を有することを特徴とする請求項1に記載のプログラマブルコントローラ。 The ladder circuit is
An external input / output register that handles external input / output data;
An internal operation register used for the ladder operation;
The programmable controller according to claim 1, comprising:
前記プログラマブルコントローラと通信可能に接続され、前記ラダー回路の前記レジスタ情報を表示する周辺装置と、を備え、
前記プログラマブルコントローラは、
過去の前記ラダー回路を表示させるために必要な前記レジスタ情報を検出する制御部と、
前記制御部により検出された前記レジスタ情報を前記レジスタ情報の変化点を基準にして保存するメモリと、を有し、
前記周辺装置は、
前記メモリに保存した前記過去のラダー回路の前記レジスタ情報を前記プログラマブルコントローラから通信により取得し、取得した前記レジスタ情報を前記変化点を基準にして表示することを特徴するラダー回路プログラム検証システム。 A programmable controller for performing a ladder operation on a ladder circuit program using register information of the ladder circuit;
A peripheral device that is communicably connected to the programmable controller and displays the register information of the ladder circuit;
The programmable controller is
A control unit for detecting the register information necessary for displaying the ladder circuit in the past;
A memory for storing the register information detected by the control unit on the basis of a change point of the register information;
The peripheral device is:
A ladder circuit program verification system, wherein the register information of the past ladder circuit stored in the memory is acquired from the programmable controller by communication, and the acquired register information is displayed based on the change point.
外部入出力データを取扱う外部入出力レジスタと、
前記ラダー演算に使用する内部演算用レジスタと、
を有することを特徴とする請求項3に記載のラダー回路プログラム検証システム。 The ladder circuit is
An external input / output register that handles external input / output data;
An internal operation register used for the ladder operation;
The ladder circuit program verification system according to claim 3, further comprising:
前記過去のラダー回路の前記レジスタ情報を前記変化点を基準にして表示することにより、前記ラダー回路のプログラムの検証を行うことを特徴とする請求項3に記載のラダー回路プログラム検証システム。 The peripheral device is:
4. The ladder circuit program verification system according to claim 3, wherein the ladder circuit program is verified by displaying the register information of the past ladder circuit with reference to the change point.
前記プログラマブルコントローラと通信可能に接続され、前記ラダー回路の前記レジスタ情報を表示する周辺装置と、を備え、
前記プログラマブルコントローラは、
過去の前記ラダー回路を表示させるために必要な前記レジスタ情報を検出し、
前記周辺装置は、
前記プログラマブルコントローラにより検出された前記レジスタ情報を前記プログラマブルコントローラから通信により取得し、取得した前記レジスタ情報を前記レジスタ情報の変化点を基準にして保存し、
前記保存した前記過去のラダー回路の前記レジスタ情報を前記変化点を基準にして表示することを特徴とするラダー回路プログラム検証システム。 A programmable controller for performing a ladder operation on a ladder circuit program using register information of the ladder circuit;
A peripheral device that is communicably connected to the programmable controller and displays the register information of the ladder circuit;
The programmable controller is
The register information necessary for displaying the ladder circuit in the past is detected,
The peripheral device is:
The register information detected by the programmable controller is acquired from the programmable controller by communication, and the acquired register information is stored with reference to a change point of the register information,
A ladder circuit program verification system, wherein the stored register information of the past ladder circuit is displayed with reference to the change point.
外部入出力データを取扱う外部入出力レジスタと、
前記ラダー演算に使用する内部演算用レジスタと、
を有することを特徴とする請求項6に記載のラダー回路プログラム検証システム。 The ladder circuit is
An external input / output register that handles external input / output data;
An internal operation register used for the ladder operation;
The ladder circuit program verification system according to claim 6, further comprising:
前記過去のラダー回路の前記レジスタ情報を前記変化点を基準にして表示することにより、前記ラダー回路のプログラムの検証を行うことを特徴とする請求項6に記載のラダー回路プログラム検証システム。 The peripheral device is:
The ladder circuit program verification system according to claim 6, wherein the program of the ladder circuit is verified by displaying the register information of the past ladder circuit with reference to the change point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017169395A JP6951157B2 (en) | 2017-09-04 | 2017-09-04 | Programmable controller and ladder circuit program verification system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017169395A JP6951157B2 (en) | 2017-09-04 | 2017-09-04 | Programmable controller and ladder circuit program verification system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019046228A true JP2019046228A (en) | 2019-03-22 |
JP6951157B2 JP6951157B2 (en) | 2021-10-20 |
Family
ID=65814412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017169395A Active JP6951157B2 (en) | 2017-09-04 | 2017-09-04 | Programmable controller and ladder circuit program verification system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6951157B2 (en) |
-
2017
- 2017-09-04 JP JP2017169395A patent/JP6951157B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP6951157B2 (en) | 2021-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7203561B2 (en) | Information processing device, operation state management device, information processing method, program, and computer-readable storage medium storing program | |
TWI521316B (en) | Peripheral device of programmable logic controller and debug support program product | |
KR100850843B1 (en) | Indicator, and recording medium storing program for functioning computer as indicator | |
CN108139739B (en) | Manufacturing state display system, manufacturing state display method, and recording medium for recording manufacturing state display program | |
JP5826367B1 (en) | Process monitoring device | |
US20140236997A1 (en) | Controller, information processing apparatus, and recording medium | |
JP2018088177A (en) | Information processing device, information processing system, information processing method, and information processing program | |
JP6442131B2 (en) | Control system and control device | |
WO2007029690A1 (en) | Monitoring system and control device for the same | |
US20160110611A1 (en) | Numerical control device | |
JP6951157B2 (en) | Programmable controller and ladder circuit program verification system | |
JP5398808B2 (en) | Display device | |
JP2006350681A (en) | Operation procedure support system for plant monitoring control device | |
JP7340792B2 (en) | Work display method and work display device | |
JP6870664B2 (en) | Control systems, controls and programs | |
JP2004312894A (en) | Console for motor control device | |
JP7152180B2 (en) | system for operating equipment | |
KR20180096796A (en) | Programmable indicator | |
JP4282516B2 (en) | Maintenance device | |
JP4686615B2 (en) | Maintenance device | |
JP2022120214A (en) | Gas detection terminal device and gas detection system | |
JP2010170459A (en) | Test system, test method, and test program | |
JP5627320B2 (en) | Movie storage device and movie storage system | |
KR20090000737U (en) | Automatic test control system of digital video recorder | |
JPWO2014083646A1 (en) | Programmable display, program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190912 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200710 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200721 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200917 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210126 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210319 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210824 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210924 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6951157 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |