JP2007286654A - Sequencer simulation device - Google Patents

Sequencer simulation device Download PDF

Info

Publication number
JP2007286654A
JP2007286654A JP2004221752A JP2004221752A JP2007286654A JP 2007286654 A JP2007286654 A JP 2007286654A JP 2004221752 A JP2004221752 A JP 2004221752A JP 2004221752 A JP2004221752 A JP 2004221752A JP 2007286654 A JP2007286654 A JP 2007286654A
Authority
JP
Japan
Prior art keywords
sequencer
simulator
display
register
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004221752A
Other languages
Japanese (ja)
Inventor
Koji Morita
浩司 森田
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 JP2004221752A priority Critical patent/JP2007286654A/en
Priority to PCT/JP2005/010507 priority patent/WO2006011308A1/en
Publication of JP2007286654A publication Critical patent/JP2007286654A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Abstract

<P>PROBLEM TO BE SOLVED: To allow simulation according to an instruction from an application by enabling access from an application operating on the same personal computer. <P>SOLUTION: In a sequencer simulation device, an interface module 105 installed in a sequencer simulator 102 analyzes data communication information 201 from a user application 107 or a display unit simulator 106, and achieves reading/writing to a simulator 103 of an arbitrary code 205. In response to a reading/writing instruction to a code or register which does not exist as the result of received data communication information, an interface module transmits error information 208 to a user application as a request origin or display unit simulator. The error information is displayed on a personal picture 110, and reported to a user. Thus, it is possible for the user to effectively execute the debug of program preparation mistake or setting mistake in the user application or the display unit simulator. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、シーケンサシミュレーション装置に関するものである。   The present invention relates to a sequencer simulation apparatus.

シーケンサを使用したシステムとして、1以上のシーケンサがネットワークを介して上位装置であるパーソナルコンピュータ(以降「パソコン」という)に接続され、さらに表示器も接続したシステムが知られている。このシステムでは、パソコンにロギングやモニタリングするためのユーザアプリケーションを搭載し、このユーザアプリケーションが各シーケンサのレジスタ値を読み書きし、読み取ったレジスタ値をパソコン画面に表示し、またロギングデータの収集を行うようになっている。また、表示器も表示画面の設定内容確認のために各シーケンサのレジスタ値を読み取り、それを表示画面に表示できるようになっている。   As a system using a sequencer, there is known a system in which one or more sequencers are connected to a personal computer (hereinafter referred to as “personal computer”), which is a host device, via a network, and a display is also connected. This system is equipped with a user application for logging and monitoring on a personal computer. This user application reads and writes the register values of each sequencer, displays the read register values on the personal computer screen, and collects logging data. It has become. The display unit can also read the register values of each sequencer to check the setting contents of the display screen and display them on the display screen.

一方、上記のパソコンには、配下に在る1以上のシーケンサの動作をシミュレートする等のために、シーケンサシミュレータを搭載している。この種のシーケンサシミュレータとしては、例えば特許文献1にも開示されている。ここでは、この発明の理解を容易にするために、図9を参照して、その概要を説明する。   On the other hand, the above personal computer is equipped with a sequencer simulator for simulating the operation of one or more sequencers under its control. This type of sequencer simulator is also disclosed in Patent Document 1, for example. Here, in order to facilitate understanding of the present invention, an outline thereof will be described with reference to FIG.

図9は、従来のシーケンサシミュレータの使用例を示したシステム構成図である。図9において、符号901は上記の上位装置としてのパソコンである。符号902は、このパソコン901上で動作するシーケンスエディタである。符号903は,シーケンスエディタ902にて作成された複数のシーケンスプログラムである。符号904は、パソコン901上で動作するシーケンサシミュレータである。このシーケンサシミュレータ904には,複数のシミュレータ905が存在する。   FIG. 9 is a system configuration diagram showing an example of use of a conventional sequencer simulator. In FIG. 9, reference numeral 901 denotes a personal computer as the above host device. Reference numeral 902 denotes a sequence editor that operates on the personal computer 901. Reference numeral 903 denotes a plurality of sequence programs created by the sequence editor 902. Reference numeral 904 denotes a sequencer simulator that operates on the personal computer 901. The sequencer simulator 904 includes a plurality of simulators 905.

次に、動作について説明する。図9において、シーケンサシミュレータ904に存在する複数のシミュレータ905は、パソコン901内のシーケンサエディタ902にて作成されたそれぞれ異なるシーケンスプログラム903を読み込む。そして、複数のシミュレータ905は、それぞれ読み込んだシーケンスプログラム903の命令の動作を模擬し、シーケンスを実行する。上記のような手順で、このシーケンサシミュレータ904は、シーケンスプログラム903のデバッグを目的として使用されている。   Next, the operation will be described. In FIG. 9, a plurality of simulators 905 existing in the sequencer simulator 904 read different sequence programs 903 created by the sequencer editor 902 in the personal computer 901. The plurality of simulators 905 simulate the operation of the read sequence program 903 instruction and execute the sequence. With the above procedure, this sequencer simulator 904 is used for the purpose of debugging the sequence program 903.

すなわち、上位装置であるパソコン901にネットワークを介して1以上のシーケンサを接続したシステムでは、そのパソコン901が、シーケンサシミュレータ904のシーケンスプログラム903を動作させ、シーケンスプログラム903の動作確認が実施できるようになっている。また、パソコン901内でシーケンスプログラム903を複数動作させ協調させることも可能である。このシーケンサシミュレータ904による動作確認等は、シーケンサの実機準備を必要としないので、ユーザにとっては非常に有用な機能である。   That is, in a system in which one or more sequencers are connected to a personal computer 901 as a host device via a network, the personal computer 901 can operate the sequence program 903 of the sequencer simulator 904 so that the operation of the sequence program 903 can be checked. It has become. It is also possible to operate a plurality of sequence programs 903 in the personal computer 901 so as to cooperate. The operation check by the sequencer simulator 904 is a very useful function for the user because it does not require actual preparation of the sequencer.

特開2001−282327号公報JP 2001-282327 A

しかしながら、従来のシーケンサシミュレータは、実機のシーケンサについてロギングやモニタリングを行うためにシーケンサのレジスタを読み書きするユーザアプリケーションと通信できるようには構成されていない。つまり、従来のシーケンサシミュレータは、当該パソコンに接続されるシーケンサシステム上に存在せず、別個独立のシステムとして構成されている。   However, the conventional sequencer simulator is not configured to communicate with a user application that reads and writes the registers of the sequencer in order to perform logging and monitoring on the actual sequencer. That is, the conventional sequencer simulator does not exist on the sequencer system connected to the personal computer, and is configured as a separate and independent system.

したがって、仮にシーケンサのレジスタを読書きするユーザアプリケーションが当該シーケンサシミュレータ内のシミュレータ、レジスタを指定した通信電文を発行したとしても、当該シーケンサシミュレータでは、その通信電文を解析する手段がないので、処理できない。   Therefore, even if a user application that reads and writes the register of the sequencer issues a communication message specifying the simulator and register in the sequencer simulator, the sequencer simulator cannot process the communication message because there is no means for analyzing the communication message. .

そのため、従来では、ユーザは、実機のシーケンサ無しではユーザアプリケーションの動作の確認や表示器の表示画面設定内容の確認ができないという問題があった。また、シーケンサシミュレータは上記のように通信電文を解析する手段がなく利用できないので、ユーザは、ユーザアプリケーションから実機シーケンサのレジスタに値を書き込む際に、その書き込むレジスタ値が本来のシーケンサのレジスタに書き込まれるべき値であるか否かのチェックができない。つまり、ユーザは、ユーザアプリケーションからシステム上に存在しないシーケンサにアクセスするなどの不正操作(設定ミス)があっても見つけ出すことができないという問題もあった。   Therefore, conventionally, there is a problem that the user cannot confirm the operation of the user application or the display screen setting contents of the display without the actual sequencer. Since the sequencer simulator cannot be used because there is no means for analyzing the communication message as described above, when the user writes a value from the user application to the register of the actual sequencer, the register value to be written is written to the register of the original sequencer. It is not possible to check whether or not the value should be correct. In other words, there is a problem that the user cannot find out even if there is an unauthorized operation (setting mistake) such as accessing a sequencer that does not exist on the system from the user application.

加えて、シーケンスエディタが作成した複数のシーケンスプログラムは、通常、連携して動作するが、その連係動作をシーケンサシミュレータにて確認するためにはシーケンサシミュレータ内に複数存在するミュレータのどれに実行させるかを決定する必要がある。しかし、従来では、その決定手段が存在しないので、複数のシーケンスプログラムの連係動作をシーケンサシミュレータにて確認することができないという問題もあった。   In addition, the multiple sequence programs created by the sequence editor usually operate in conjunction with each other, but in order to check the linked operation with the sequencer simulator, which of the multiple emulators in the sequencer simulator should be executed. Need to be determined. However, conventionally, since there is no such determination means, there has been a problem that the sequencer simulator cannot confirm the linked operation of a plurality of sequence programs.

この発明は、上記に鑑みてなされたものであり、同一のパソコン上で動作するアプリケーションからのアクセスを可能とし、そのアプリケーションからの指示に従ってシミュレートすることのできるシーケンサシミュレーション装置を得ることを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to obtain a sequencer simulation apparatus that can be accessed from an application that operates on the same personal computer and that can be simulated according to instructions from the application. To do.

上述した目的を達成するために、この発明は、1以上のシーケンサがネットワークを介して接続される上位装置に、前記1以上のシーケンサそれぞれの動作をシミュレートするために搭載されるシーケンサシミュレーション装置において、前記上位装置に搭載されるアプリケーションと通信してその通信電文の受付処理を行うインタフェースを備えていることを特徴とする。   In order to achieve the above-described object, the present invention provides a sequencer simulation apparatus mounted on a host device to which one or more sequencers are connected via a network to simulate the operation of each of the one or more sequencers. And an interface that communicates with an application installed in the higher-level device and performs reception processing of the communication message.

この発明によれば、同一の上位装置上で動作するアプリケーションからのアクセスが可能となる。   According to the present invention, access from an application running on the same host device is possible.

この発明によれば、同一の上位装置上で動作するアプリケーションからのアクセスが可能となるので、ユーザは、例えば、シーケンサのレジスタ値を読み書きするユーザアプリケーションの動作確認を実機のシーケンサを用いることなく実施することが可能となり、またプログラム作成ミスのデバッグを効果的に実施することが可能となるという効果を奏する。   According to the present invention, it is possible to access from an application that operates on the same host device, so that the user can check the operation of the user application that reads and writes the register value of the sequencer without using the actual sequencer, for example. It is also possible to perform debugging of a program creation error effectively.

以下に図面を参照して、この発明にかかるシーケンサシミュレーション装置の好適な実施の形態を詳細に説明する。   Exemplary embodiments of a sequencer simulation apparatus according to the present invention will be described below in detail with reference to the drawings.

実施の形態1.
図1は、この発明の実施の形態1によるシーケンサシミュレーション装置の構成を示すブロック図である。図1において、符号101は、上位装置であるパソコンである。符号102は、シーケンサの動作を模擬するパソコン101内のシーケンサシミュレータである。シーケンサシミュレータ102は、複数のシミュレータ103で構成される。符号104は,シミュレータ103内のレジスタある。符号105は、シーケンサシミュレータ102内にあるインタフェースモジュールである。符号106は、パソコン101内で動作する表示器シミュレータであり、実機の表示器の動作をパソコン101上でシミュレートするものである。符号107は、シーケンサシミュレータ102のレジスタ104を読書きするユーザアプリケーションである。符号108は、ユーザアプリケーション107から出力されるロギングデータである。符号109、はロギングデータ内に保持されるレジスタ値である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a sequencer simulation apparatus according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 101 denotes a personal computer which is a host device. Reference numeral 102 denotes a sequencer simulator in the personal computer 101 that simulates the operation of the sequencer. The sequencer simulator 102 includes a plurality of simulators 103. Reference numeral 104 is a register in the simulator 103. Reference numeral 105 denotes an interface module in the sequencer simulator 102. Reference numeral 106 denotes a display simulator that operates in the personal computer 101, and simulates the operation of the actual display on the personal computer 101. Reference numeral 107 denotes a user application that reads and writes the register 104 of the sequencer simulator 102. Reference numeral 108 denotes logging data output from the user application 107. Reference numeral 109 denotes a register value held in the logging data.

図2は、図1に示すユーザアプリケーションや表示シミュレータとシーケンサシミュレータとのデータ通信時での構成を説明する図である。図2において、符号201は、ユーザアプリケーション107や表示器シミュレータ106からシーケンサシミュレータ102のインタフェースモジュール105に送信されるデータ通信情報である。データ通信情報201は、レジスタ情報202とアクセス先局情報203と構成される。アクセス先局情報203には、局番204が含まれる。この局番204は、シーケンサシミュレータ102内のどのシミュレータにアクセスするかを指定する識別番号である。また、シーケンサシミュレータ102を構成するシミュレータ103のそれぞれには、局番205が一意に割り当てられている。この局番205は、インタフェースモジュール105がシーケンサシミュレータ102内のどのシミュレータであるかを識別する識別番号である。符号206は、インタフェースモジュール105内にあるエラー通知モジュールである。符号207は、パソコン画面110に設けられるエラー表示モジュールである。エラー表示モジュール207は、エラー通知モジュール206が出力するエラー情報208をパソコン画面110に表示する。   FIG. 2 is a diagram for explaining a configuration during data communication between the user application, the display simulator, and the sequencer simulator shown in FIG. In FIG. 2, reference numeral 201 denotes data communication information transmitted from the user application 107 or the display simulator 106 to the interface module 105 of the sequencer simulator 102. The data communication information 201 includes register information 202 and access destination station information 203. The access destination station information 203 includes a station number 204. The station number 204 is an identification number that designates which simulator in the sequencer simulator 102 is to be accessed. A station number 205 is uniquely assigned to each of the simulators 103 constituting the sequencer simulator 102. The station number 205 is an identification number for identifying which simulator in the sequencer simulator 102 the interface module 105 is. Reference numeral 206 denotes an error notification module in the interface module 105. Reference numeral 207 denotes an error display module provided on the personal computer screen 110. The error display module 207 displays the error information 208 output from the error notification module 206 on the personal computer screen 110.

図3は、図1に示すユーザアプリケーションや表示シミュレータが送信するデータ通信情報の構成を説明する図である。図3において、データ通信情報201は、具体的には、アクセス先局情報203とレジスタ情報202とレジスタ値302とで構成される。アクセス先局情報203には局番204が含まれることは図2にて示した。ここでは、追加して示された要素について説明する。すなわち、レジスタ情報202には、XやDなどのレジスタの種類を示すためのレジスタ種別301が含まれている。このレジスタ種別301は、異なる種別の複数個からなる。レジスタ値302は、ユーザアプリケーション107や表示器シミュレータ106がシミュレータ103のレジスタ104に書き込むための値である。   FIG. 3 is a diagram for explaining a configuration of data communication information transmitted by the user application and the display simulator shown in FIG. In FIG. 3, the data communication information 201 is specifically composed of access destination station information 203, register information 202, and register value 302. As shown in FIG. 2, the access destination station information 203 includes the station number 204. Here, the additionally shown elements will be described. That is, the register information 202 includes a register type 301 for indicating the type of register such as X or D. The register type 301 includes a plurality of different types. The register value 302 is a value for the user application 107 and the display simulator 106 to write to the register 104 of the simulator 103.

図4は、図1に示すシミュレータの構成を説明する図である。なお、図4では、追加される要素を示す趣旨から、図2にて示した局番205は図示を省略した。図4に示すように、シミュレータ103のレジスタ104には、レジスタ種別401が含まれている。このレジスタ種別401は、XやDなどのレジスタの種類を示すためのもので、異なる種別の複数個からなる。   FIG. 4 is a diagram for explaining the configuration of the simulator shown in FIG. In FIG. 4, the station number 205 shown in FIG. 2 is omitted for the purpose of showing the added elements. As shown in FIG. 4, the register 104 of the simulator 103 includes a register type 401. This register type 401 is for indicating the type of register such as X or D, and is composed of a plurality of different types.

次に、図1〜図7を参照して、以上のように構成されるシーケンサシミュレーション装置の動作について説明する。なお、図5は、図1に示すユーザアプリケーションや表示シミュレータがシーケンサシミュレータをアクセスする際のインタフェースモジュールの動作を説明するフロー図である(正常アクセス時)。図6と図7は、図1に示すユーザアプリケーションや表示シミュレータがシーケンサシミュレータをアクセスする際のインタフェースモジュールの動作を説明するフロー図である(不正アクセス時)。   Next, the operation of the sequencer simulation apparatus configured as described above will be described with reference to FIGS. FIG. 5 is a flowchart for explaining the operation of the interface module when the user application or display simulator shown in FIG. 1 accesses the sequencer simulator (during normal access). 6 and 7 are flowcharts for explaining the operation of the interface module when the user application or display simulator shown in FIG. 1 accesses the sequencer simulator (at the time of unauthorized access).

まず、正常アクセス時の動作について説明する。図5において、ユーザアプリケーション107や表示シミュレータ106は、シーケンサシミュレータ102に対する読み書きを指示するデータ通信情報201をインタフェースモジュール105に対して発行する(手順T1)。データ通信情報201には、どの局番205にアクセスするかのアクセス先局情報203と、その局番203を持つレジスタ104のどのレジスタ種別401に対して読み書きを行うかのレジスタ情報202とが含まれている。   First, the operation during normal access will be described. In FIG. 5, the user application 107 and the display simulator 106 issue data communication information 201 that instructs reading and writing to the sequencer simulator 102 to the interface module 105 (procedure T1). The data communication information 201 includes access destination station information 203 indicating which station number 205 is accessed, and register information 202 indicating which register type 401 of the register 104 having the station number 203 is read / written. Yes.

インタフェースモジュール105は、ユーザアプリケーション107や表示シミュレータ106から受け取ったデータ通信情報201を解読し、データ通信情報201内のアクセス先局情報203が持つ局番204と同じ局番を持つシミュレータが存在するか否かを調べ、同じ局番を持つシミュレータの存在が確認できると、その受け取ったデータ通信情報201をシーケンサシミュレータ102内の該当するシミュレータに送信する(手順T2)。   The interface module 105 decodes the data communication information 201 received from the user application 107 or the display simulator 106, and determines whether there is a simulator having the same station number as the station number 204 included in the access destination station information 203 in the data communication information 201. If the existence of a simulator having the same station number can be confirmed, the received data communication information 201 is transmitted to the corresponding simulator in the sequencer simulator 102 (step T2).

インタフェースモジュール105からデータ通信情報201を受け取ったシーケンサシミュレータ102内の該当するシミュレータでは、データ通信情報201内のレジスタ情報202を解析し(手順T3)、書き込み指示か否かを判断する(T4)。その結果、書き込み指示である場合(手順T4:Yes)は、該当するレジスタ種別のレジスタ値を変更する。また、書き込み指示でない場合(手順T4:No)は、要求されたレジスタ値を該当するレジスタ種別のレジスタから読み取り、インタフェースモジュール105に送信する(手順T6)。   The corresponding simulator in the sequencer simulator 102 that has received the data communication information 201 from the interface module 105 analyzes the register information 202 in the data communication information 201 (procedure T3) and determines whether or not it is a write instruction (T4). As a result, when the instruction is a write instruction (procedure T4: Yes), the register value of the corresponding register type is changed. If it is not a write instruction (step T4: No), the requested register value is read from the register of the corresponding register type and transmitted to the interface module 105 (step T6).

インタフェースモジュール105は、シミュレータから受け取ったレジスタ値を要求元のユーザアプリケーション107や表示シミュレータ106に送信する(手順T7)。要求元のユーザアプリケーション107や表示シミュレータ106では、パソコン画面110にインタフェースモジュール105から受け取ったレジスタ値111を表示する(手順T8)。   The interface module 105 transmits the register value received from the simulator to the requesting user application 107 and the display simulator 106 (step T7). The request source user application 107 and the display simulator 106 display the register value 111 received from the interface module 105 on the personal computer screen 110 (step T8).

次に、不正アクセス時の動作について説明する。これは、ユーザが想定していないシーケンサシミュレータに対して読み書きを実行した場合であり、図6と図7に示す2種類がある。図6において、ユーザアプリケーション107や表示シミュレータ106は、シーケンサシミュレータ102に対する読み書きを指示するデータ通信情報201をインタフェースモジュール105に対して発行する(手順T10)。データ通信情報201には、どの局番205にアクセスするかのアクセス先局情報203と、その局番203を持つレジスタ104のどのレジスタ種別401に対して読み書きを行うかのレジスタ情報202とが含まれている。   Next, the operation at the time of unauthorized access will be described. This is a case where reading / writing is executed with respect to a sequencer simulator which is not assumed by the user, and there are two types shown in FIGS. In FIG. 6, the user application 107 and the display simulator 106 issue data communication information 201 for instructing reading / writing to the sequencer simulator 102 to the interface module 105 (procedure T10). The data communication information 201 includes access destination station information 203 indicating which station number 205 is accessed, and register information 202 indicating which register type 401 of the register 104 having the station number 203 is read / written. Yes.

インタフェースモジュール105は、ユーザアプリケーション107や表示シミュレータ106から受け取ったデータ通信情報201を解読し、データ通信情報201内のアクセス先局情報203が持つ局番204と同じ局番を持つシミュレータが存在するか否かを調べ、同じ局番を持つシミュレータの存在が確認できない場合は(手順T11)、エラー通知モジュール206を起動し、エラー情報を要求元に送信させる(手順T12)。   The interface module 105 decodes the data communication information 201 received from the user application 107 or the display simulator 106, and determines whether there is a simulator having the same station number as the station number 204 included in the access destination station information 203 in the data communication information 201. If the existence of a simulator having the same station number cannot be confirmed (procedure T11), the error notification module 206 is activated and error information is transmitted to the request source (procedure T12).

要求元のユーザアプリケーション107や表示シミュレータ106では、パソコン画面110のエラー表示モジュール207がエラー通知モジュール206から受け取ったエラー情報208を表示しユーザに不正アクセスが行われたことを報知する(手順T13)。なお、エラー情報の表示方法は、表形式などが使用できるが、表示の形態は任意である。   In the requesting user application 107 and the display simulator 106, the error display module 207 on the personal computer screen 110 displays the error information 208 received from the error notification module 206 to notify the user that unauthorized access has been made (step T13). . The error information display method may be a table format or the like, but the display format is arbitrary.

また、図7において、ユーザアプリケーション107や表示シミュレータ106は、シーケンサシミュレータ102に対する読み書きを指示するデータ通信情報201をインタフェースモジュール105に対して発行する(手順T15)。データ通信情報201には、どの局番205にアクセスするかのアクセス先局情報203と、その局番203を持つレジスタ104のどのレジスタ種別401に対して読み書きを行うかのレジスタ情報202とが含まれている。   In FIG. 7, the user application 107 and the display simulator 106 issue data communication information 201 for instructing reading / writing to the sequencer simulator 102 to the interface module 105 (procedure T15). The data communication information 201 includes access destination station information 203 indicating which station number 205 is accessed, and register information 202 indicating which register type 401 of the register 104 having the station number 203 is read / written. Yes.

インタフェースモジュール105は、ユーザアプリケーション107や表示シミュレータ106から受け取ったデータ通信情報201を解読し、データ通信情報201内のレジスタ種別301と同じレジスタ種別を持つシミュレータが存在するか否かを調べ、同じレジスタ種別を持つシミュレータの存在が確認できない場合は(手順T16)、エラー通知モジュール206を起動し、エラー情報を要求元に送信させる(手順T17)。   The interface module 105 decodes the data communication information 201 received from the user application 107 or the display simulator 106, checks whether there is a simulator having the same register type as the register type 301 in the data communication information 201, and If the existence of the simulator having the type cannot be confirmed (procedure T16), the error notification module 206 is activated and error information is transmitted to the request source (procedure T17).

要求元のユーザアプリケーション107や表示シミュレータ106では、パソコン画面110のエラー表示モジュール207がエラー通知モジュール206から受け取ったエラー情報208を表示しユーザに不正アクセスが行われたことを報知する(手順T18)。なお、エラー情報の表示方法は、表形式などが使用できるが、表示の形態は任意である。   In the request source user application 107 and the display simulator 106, the error display module 207 of the personal computer screen 110 displays the error information 208 received from the error notification module 206 to notify the user that unauthorized access has been performed (step T18). . The error information display method may be a table format or the like, but the display format is arbitrary.

このように、実施の形態1によれば、ユーザアプリケーションや表示器シミュレータから複数のミュレータにアクセスできるようにしたので、ユーザは、実機のシーケンサを用いずにユーザアプリケーションの動作の確認や表示器の表示画面設定内容の確認が可能になる。   As described above, according to the first embodiment, since a plurality of emulators can be accessed from the user application or the display simulator, the user can confirm the operation of the user application or display the display without using the actual sequencer. The display screen settings can be checked.

また、ユーザアプリケーションや表示器シミュレータから複数のシミュレータにアクセスするデータを解析し、不正アクセスがあったときはユーザに通知するようにしたので、ユーザは、ユーザアプリケーションや表示器シミュレータから存在しないなどの不正な局番へのアクセスや不正なレジスタへのアクセスを行ったこと、つまりプログラム作成ミスや設定ミスがあったことを認識することができ、デバッグを効果的に実施することができるようになる。   In addition, data that accesses multiple simulators from the user application or display simulator is analyzed, and the user is notified when there is unauthorized access, so the user does not exist from the user application or display simulator. It is possible to recognize that an illegal access to a station number or an illegal register has been performed, that is, that a program creation error or a setting error has occurred, and debugging can be performed effectively.

実施の形態2.
図8は、この発明の実施の形態2によるシーケンサシミュレーション装置の構成を示すブロック図である。図8において、ユーザはパソコン101上で動作するシーケンスプログラムエディタ802を用いて複数のシーケンスプログラム803を作成するが、通常、存在する複数のシーケンスプログラム803は、連携して動作する。
Embodiment 2. FIG.
FIG. 8 is a block diagram showing a configuration of a sequencer simulation apparatus according to the second embodiment of the present invention. In FIG. 8, the user creates a plurality of sequence programs 803 using a sequence program editor 802 that operates on the personal computer 101. Normally, a plurality of existing sequence programs 803 operate in cooperation with each other.

そこで、この実施の形態2では、ユーザはシーケンスプログラムエディタ802を用いて、シーケンサシミュレータ102内に複数存在するシミュレータ103のどれにシーケンスプログラム803を実行させるかを決定し、その決定したシーケンスプログラム803とシミュレータ103との関係一覧をインタフェースモジュール105に送信するようになっている。   Therefore, in the second embodiment, the user uses the sequence program editor 802 to determine which of the plurality of simulators 103 in the sequencer simulator 102 is to execute the sequence program 803, and the determined sequence program 803 and A list of relationships with the simulator 103 is transmitted to the interface module 105.

そして、インタフェースモジュール105は、シーケンスプログラムエディタ802から受け取った関係一覧に基づき、指定されたシミュレータ103に指定されたシーケンスプログラム801を送り込み、実行させる。これによって、ユーザは、シーケンスシミュレータ102を用いて、連携する複数のシーケンスプログラム801のその連携動作をシミュレートすることができるようになる。   Then, the interface module 105 sends the designated sequence program 801 to the designated simulator 103 based on the relation list received from the sequence program editor 802 and causes it to be executed. As a result, the user can use the sequence simulator 102 to simulate the cooperative operation of the cooperative sequence programs 801.

このように、実施の形態2によれば、シーケンスプログラムエディタがその作成した複数のシーケンスプログラムのそれぞれと1対1の関係でシミュレータを指定しシーケンスシミュレータに送信することができるようにしたので、ユーザは、実機のシーケンサを用いることなくシーケンスシミュレータを用いて、シーケンスプログラムエディタが作成した複数のシーケンスプログラムの連携動作を確認することができる。   As described above, according to the second embodiment, the sequence program editor can specify the simulator in a one-to-one relationship with each of the created sequence programs and transmit it to the sequence simulator. Can confirm the cooperative operation of a plurality of sequence programs created by the sequence program editor using a sequence simulator without using an actual sequencer.

以上のように、この発明にかかるシーケンサシミュレーション装置は、実機のシーケンサを用いることなくユーザアプリケーションや表示器の動作確認を行い、また複数のシーケンスプログラムの連携動作を確認するのに有用である。   As described above, the sequencer simulation apparatus according to the present invention is useful for confirming the operation of a user application and a display without using an actual sequencer and confirming the cooperative operation of a plurality of sequence programs.

この発明の実施の形態1によるシーケンサシミュレーション装置の構成を示すブロック図である。It is a block diagram which shows the structure of the sequencer simulation apparatus by Embodiment 1 of this invention. 図1に示すユーザアプリケーションや表示シミュレータとシーケンサシミュレータとのデータ通信時での構成を説明する図である。It is a figure explaining the structure at the time of the data communication of the user application shown in FIG. 1, a display simulator, and a sequencer simulator. 図1に示すユーザアプリケーションや表示シミュレータが送信するデータ通信情報の構成を説明する図である。It is a figure explaining the structure of the data communication information which the user application and display simulator which are shown in FIG. 1 transmit. 図1に示すシミュレータの構成を説明する図である。It is a figure explaining the structure of the simulator shown in FIG. 図1に示すユーザアプリケーションや表示シミュレータがシーケンサシミュレータをアクセスする際のインタフェースモジュールの動作を説明するフロー図である(正常アクセス時)。It is a flowchart explaining operation | movement of the interface module when the user application and display simulator shown in FIG. 1 access a sequencer simulator (at the time of normal access). 図1に示すユーザアプリケーションや表示シミュレータがシーケンサシミュレータをアクセスする際のインタフェースモジュールの動作を説明するフロー図である(不正アクセス時)。It is a flowchart explaining operation | movement of the interface module when the user application and display simulator shown in FIG. 1 access a sequencer simulator (at the time of unauthorized access). 図1に示すユーザアプリケーションや表示シミュレータがシーケンサシミュレータをアクセスする際のインタフェースモジュールの動作を説明するフロー図である(不正アクセス時)。It is a flowchart explaining operation | movement of the interface module at the time of the user application shown in FIG. 1 and a display simulator accessing a sequencer simulator (at the time of unauthorized access). この発明の実施の形態2によるシーケンサシミュレーション装置の構成を示すブロック図である。It is a block diagram which shows the structure of the sequencer simulation apparatus by Embodiment 2 of this invention. 従来のシーケンサシミュレータの使用例を示したシステム構成図である。It is the system block diagram which showed the usage example of the conventional sequencer simulator.

符号の説明Explanation of symbols

101 パーソナルコンピュータ(パソコン)
102 シーケンサシミュレータ
103 シミュレータ
104 レジスタ
105 インタフェースモジュール
106 表示器シミュレータ
107 ユーザアプリケーション
108 ロギングデータ
109 レジスタ値
110 パソコン画面
111 レジスタ値
801,803 シーケンスプログラム
802 シーケンスプログラムエディタ
101 Personal computer (PC)
102 Sequencer Simulator 103 Simulator 104 Register 105 Interface Module 106 Display Simulator 107 User Application 108 Logging Data 109 Register Value 110 Personal Computer Screen 111 Register Value 801,803 Sequence Program 802 Sequence Program Editor

Claims (8)

1以上のシーケンサがネットワークを介して接続される上位装置に、前記1以上のシーケンサそれぞれの動作をシミュレートするために搭載されるシーケンサシミュレーション装置において、
前記上位装置に搭載されるアプリケーションと通信してその通信電文の受付処理を行うインタフェース、
を備えていることを特徴とするシーケンサシミュレーション装置。
In a sequencer simulation apparatus mounted for simulating the operation of each of the one or more sequencers in a host apparatus to which one or more sequencers are connected via a network,
An interface that communicates with an application installed in the host device and performs reception processing of the communication message;
A sequencer simulation apparatus comprising:
前記上位装置に搭載されるアプリケーションは、前記1以上のシーケンサそれぞれのレジスタ値を読み書きするユーザアプリケーションであり、
前記インタフェースは、前記ユーザアプリケーションからの通信電文を解読し、不正な読み書きの有無を解析する手段、
を備えていることを特徴とする請求項1に記載のシーケンサシミュレーション装置。
The application installed in the host device is a user application that reads and writes register values of each of the one or more sequencers,
The interface interprets a communication message from the user application and analyzes whether or not there is unauthorized reading and writing;
The sequencer simulation apparatus according to claim 1, further comprising:
前記インタフェースは、前記ユーザアプリケーションからの通信電文を解読し、正しい読み書き指示である場合は、当該シーケンサシミュレーション装置内の複数のシミュレータにおける該当するシミュレータのレジスタへの読み書きを実行する手段、
を備えていることを特徴とする請求項2に記載のシーケンサシミュレーション装置。
The interface interprets a communication message from the user application, and when it is a correct read / write instruction, means for executing read / write to a register of a corresponding simulator in a plurality of simulators in the sequencer simulation device,
The sequencer simulation apparatus according to claim 2, further comprising:
前記インタフェースは、前記ユーザアプリケーションからの通信電文を解読し、不正な読み書き指示である場合はユーザに報知する手段、
を備えていることを特徴とする請求項2に記載のシーケンサシミュレーション装置。
Means for deciphering a communication telegram from the user application and notifying the user if it is an illegal read / write instruction;
The sequencer simulation apparatus according to claim 2, further comprising:
前記上位装置に搭載されるアプリケーションは、前記1以上のシーケンサそれぞれのレジスタ値を読み書きするために前記ネットワークに接続される表示器をシミュレートする表示器シミュレータであり、
前記インタフェースは、前記表示器シミュレータからの通信電文を解読し、不正な読み書きの有無を解析する手段、
を備えていることを特徴とする請求項1または2に記載のシーケンサシミュレーション装置。
The application installed in the host device is a display simulator that simulates a display connected to the network in order to read and write register values of each of the one or more sequencers.
The interface interprets a communication telegram from the display simulator, and analyzes the presence / absence of unauthorized reading / writing,
The sequencer simulation apparatus according to claim 1, further comprising:
前記インタフェースは、前記表示器シミュレータからの通信電文を解読し、正しい読み書き指示である場合は、当該シーケンサシミュレーション装置内の複数のシミュレータにおける該当するシミュレータのレジスタの読み書きを実行する手段、
を備えていることを特徴とする請求項5に記載のシーケンサシミュレーション装置。
The interface decodes a communication telegram from the display simulator, and when it is a correct read / write instruction, means for executing read / write of a register of a corresponding simulator in a plurality of simulators in the sequencer simulation device,
The sequencer simulation apparatus according to claim 5, further comprising:
前記インタフェースは、前記表示器シミュレータからの通信電文を解読し、不正な読み書き指示である場合はユーザに報知する手段、
を備えていることを特徴とする請求項5に記載のシーケンサシミュレーション装置。
The interface decodes a communication message from the display simulator, and informs a user if it is an illegal read / write instruction,
The sequencer simulation apparatus according to claim 5, further comprising:
前記上位装置に搭載されるアプリケーションは、シーケンスプログラムを作成するエディタであり、
前記インタフェースは、前記エディタからの通信電文を解読し、指定されたシーケンスプログラムを当該シーケンサシミュレーション装置内の複数のシミュレータにおける該当するシミュレータに実行させる手段、
を備えていることを特徴とする請求項1,2,5のいずれか一つに記載のシーケンサシミュレーション装置。
The application installed in the host device is an editor for creating a sequence program,
The interface interprets a communication message from the editor, and causes a corresponding simulator in a plurality of simulators in the sequencer simulation apparatus to execute a specified sequence program,
The sequencer simulation apparatus according to claim 1, further comprising:
JP2004221752A 2004-07-29 2004-07-29 Sequencer simulation device Pending JP2007286654A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004221752A JP2007286654A (en) 2004-07-29 2004-07-29 Sequencer simulation device
PCT/JP2005/010507 WO2006011308A1 (en) 2004-07-29 2005-06-08 Sequencer simulation device, and sequencer simulation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004221752A JP2007286654A (en) 2004-07-29 2004-07-29 Sequencer simulation device

Publications (1)

Publication Number Publication Date
JP2007286654A true JP2007286654A (en) 2007-11-01

Family

ID=35786062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004221752A Pending JP2007286654A (en) 2004-07-29 2004-07-29 Sequencer simulation device

Country Status (2)

Country Link
JP (1) JP2007286654A (en)
WO (1) WO2006011308A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014035710A (en) * 2012-08-09 2014-02-24 Clean Mechanical Kk Validation method and evaluation device using validation method
JP2014238756A (en) * 2013-06-10 2014-12-18 三菱電機株式会社 Display component control system
WO2015079503A1 (en) * 2013-11-26 2015-06-04 三菱電機株式会社 System-setup assistance apparatus
JP2015219354A (en) * 2014-05-16 2015-12-07 株式会社日立製作所 Plant operation training simulator system
US11467569B2 (en) 2016-10-14 2022-10-11 Mitsubishi Electric Corporation Simulation device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016162407A1 (en) 2015-04-09 2016-10-13 China-Euro Vehicle Technology Aktiebolag Tolerance absorber sleeve and assembly
SE540950C2 (en) 2015-04-17 2019-01-08 Ningbo Geely Automobile Res & Development Co Ltd Energy-absorbing knee bolster frame for a vehicle

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001209407A (en) * 2000-01-25 2001-08-03 Omron Corp Simulator for executing plc program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014035710A (en) * 2012-08-09 2014-02-24 Clean Mechanical Kk Validation method and evaluation device using validation method
JP2014238756A (en) * 2013-06-10 2014-12-18 三菱電機株式会社 Display component control system
WO2015079503A1 (en) * 2013-11-26 2015-06-04 三菱電機株式会社 System-setup assistance apparatus
CN105765468A (en) * 2013-11-26 2016-07-13 三菱电机株式会社 System-setup assistance apparatus
JP5996125B2 (en) * 2013-11-26 2016-09-21 三菱電機株式会社 System construction support device
JPWO2015079503A1 (en) * 2013-11-26 2017-03-16 三菱電機株式会社 System construction support device
JP2015219354A (en) * 2014-05-16 2015-12-07 株式会社日立製作所 Plant operation training simulator system
US11467569B2 (en) 2016-10-14 2022-10-11 Mitsubishi Electric Corporation Simulation device

Also Published As

Publication number Publication date
WO2006011308A1 (en) 2006-02-02

Similar Documents

Publication Publication Date Title
KR101027971B1 (en) Mobile communication terminal capable of testing application and method thereof
CN106649021B (en) PCIe is from equipment testing device
US20060282248A1 (en) Integrated simulation system
CN100442293C (en) Method for combination of original files of hardware design language and checking data files
WO2006011308A1 (en) Sequencer simulation device, and sequencer simulation program
CN107404418B (en) Internet product testing method, device, equipment and storage medium
JP5240490B2 (en) Operation training system and operation training method
US9183117B2 (en) Method for developing and testing a connectivity driver for an instrument
CN111181771A (en) Security changing abnormity positioning method and device based on fort machine and electronic equipment
JP2008226207A (en) Simulation device
JP2011039781A (en) Cooperative simulator and simulation method
KR20190042421A (en) System for Open Hardware Programming and Mobile Programming
CN111708568B (en) Modularized development decoupling method and terminal
WO2016135821A1 (en) Inspection device, inspection method and program
JPWO2012117500A1 (en) Communication device
JP2002300226A (en) Device and program for preparing communication program and computer readable recording medium with the same recorded thereon
JP2010020561A (en) Information-processing device, image-processing device, method for testing software operation, program for testing software operation, and recording medium with the recorded program
KR101401296B1 (en) Testing system and method based on message logging
CN104102619B (en) Method and system of first operating system operating DSP (digital signal processing) of second operating system
JP2007164348A (en) Emulator
JP2013080386A (en) Information processing device and address management method
WO2016181548A1 (en) Communication simulation device and communication simulation program
JP2006190150A (en) Field bus protocol testing equipment
TW200813727A (en) Monitoring apparatus and monitoring method for SATA hard drive
JP2008310567A (en) Failure diagnostic method and electronic device failure diagnostic system