JP2001209414A - Equipment for sequence program test - Google Patents

Equipment for sequence program test

Info

Publication number
JP2001209414A
JP2001209414A JP2000018061A JP2000018061A JP2001209414A JP 2001209414 A JP2001209414 A JP 2001209414A JP 2000018061 A JP2000018061 A JP 2000018061A JP 2000018061 A JP2000018061 A JP 2000018061A JP 2001209414 A JP2001209414 A JP 2001209414A
Authority
JP
Japan
Prior art keywords
communication
plc
unit
sequence program
communication message
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
JP2000018061A
Other languages
Japanese (ja)
Inventor
Hirobumi Yokomizo
博文 横溝
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2000018061A priority Critical patent/JP2001209414A/en
Publication of JP2001209414A publication Critical patent/JP2001209414A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a sequence program test equipment that boosts test work efficiency by making possible automatic recall for test action instructions when a real PLC with a communication function or a PLC emulator activated through a communication message is used for the testing instructions. SOLUTION: The sequence program test equipment has a PLC part with the communication function where an objective test sequence program is loaded, a communication control part that dispatches and manages a communication message for the PLC part, a communication data recording part that generates a communication record by recording the communication messages dispatched transmitted by the communication control part, an record storage part that stores the data records generated by the communication data storage part, and a communication recall part that recalls the communication message for the PLC part on the basis of communication record storage in the record storage part.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、通信機能を有す
るPLC(PLC実機又はPLCエミュレータ)を使用
したシーケンスプログラムのテスト装置に係り、特に、
所望のテストに必要な動作指示をPLCに与えるために
使用した一連の通信メッセージを記録再生することによ
り、動作指示の自動再現を可能としたシーケンスプログ
ラムのテスト装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence program test apparatus using a PLC having a communication function (a real PLC or a PLC emulator).
The present invention relates to a sequence program test apparatus capable of automatically reproducing operation instructions by recording and reproducing a series of communication messages used for giving operation instructions necessary for a desired test to a PLC.

【0002】[0002]

【従来の技術】シーケンスプログラムのテスト方法とし
ては、当該プログラムが搭載されるべきPLC実機のI
/Oポートを外部から切り離す一方、これに表示灯及び
操作スイッチを接続し、シーケンス順に操作スイッチを
手動操作してそのときの動作出力を表示灯で視認すると
言ったものが存在する。
2. Description of the Related Art As a test method of a sequence program, an I / O of an actual PLC in which the program is to be mounted is used.
There is a device in which the / O port is disconnected from the outside, an indicator light and an operation switch are connected thereto, and the operation switches are manually operated in the sequence to visually recognize the operation output at that time with the indicator light.

【0003】通信機能を有するPLCの場合には、他の
テスト方法も存在する。このテスト方法は、上述のスイ
ッチ操作や表示灯視認に相当する行為を、通信コマンド
による動作指示に置き換え、この動作指示に相当する通
信コマンドを、テストツールと当該プログラムが搭載さ
れるべきPLC実機との間でやり取りすると言ったもの
である。
In the case of a PLC having a communication function, there are other test methods. In this test method, an act equivalent to the above-described switch operation or indicator light recognition is replaced with an operation instruction by a communication command, and the communication command corresponding to the operation instruction is exchanged between a test tool and a PLC real machine on which the program is to be mounted. It is said to exchange between.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うなシーケンスプログラムのテスト方法には、以下のよ
うな問題点が指摘されている。
However, the following problems have been pointed out in such a sequence program test method.

【0005】(1)表示灯、操作スイッチによるテスト
では、人の視認と操作が不可欠であり、テストに非常に
多くの工数が必要となる。
(1) In a test using an indicator light and an operation switch, visual recognition and operation of a person are indispensable, and the test requires an extremely large number of man-hours.

【0006】(2)PLCの1サイクル動作は、操作ス
イッチによる入力やパソコンからの通信コマンドとは非
同期であるため、PLCの1サイクル動作と同期する必
要の有る動作(例えばタイマをトリガとした動作やクロ
ックパルス動作)に対しては、十分に検証することがで
きない。
(2) Since the one-cycle operation of the PLC is asynchronous with the input from the operation switch and the communication command from the personal computer, the operation needs to be synchronized with the one-cycle operation of the PLC (for example, an operation using a timer as a trigger). And clock pulse operation) cannot be sufficiently verified.

【0007】(3)通信コマンドを介するプログラムに
よるテストの場合、操作スイッチの操作に相当するテス
ト用のデータを予め作成する必要があり、多様なテスト
を行う場合には膨大なテスト用データを作成する必要が
生ずる。
(3) In the case of a test using a program via a communication command, it is necessary to create test data corresponding to operation of an operation switch in advance, and when performing various tests, a large amount of test data is created. Need to be done.

【0008】(4)テスト対象となるシーケンスプログ
ラムが搭載されるPLCと外部機器(例えば、テストツ
ールとして機能するパソコン、プログラマブル・ターミ
ナル、他のPLC等)とを相互に連繋動作させることを
想定してシーケンスプログラムのテストを行う場合に
は、外部機器の発生するデータを解析してテスト用プロ
グラムのデータとして再入力したり、操作スイッチの動
作に合わせてPLCに接続されている外部機器を操作す
る必要が有り、テストを行うために多くの工数が必要と
なる。
(4) It is assumed that a PLC on which a sequence program to be tested is mounted and an external device (for example, a personal computer, a programmable terminal, another PLC, etc. functioning as a test tool) are operated in a mutually linked manner. When performing a sequence program test, the data generated by the external device is analyzed and re-input as test program data, or the external device connected to the PLC is operated in accordance with the operation of the operation switch. It is necessary, and many man-hours are required to perform the test.

【0009】この発明は、このような従来の問題点に着
目してなされたもので、その目的とするところは、通信
機能を有するPLC実機若しくはPLCエミュレータを
使用しかつ通信メッセージを介してテスト動作の指示を
与えるシーケンスプログラムのテスト装置において、テ
スト動作指示の自動再現を可能として、この種のシーケ
ンスプログラムテストの作業効率を向上させることにあ
る。
SUMMARY OF THE INVENTION The present invention has been made in view of such a conventional problem. It is an object of the present invention to use a PLC real machine or a PLC emulator having a communication function and perform a test operation via a communication message. An object of the present invention is to improve the work efficiency of this type of sequence program test by enabling automatic reproduction of a test operation instruction in a sequence program test apparatus that gives the instruction of (1).

【0010】この発明の他の目的とするところは、通信
機能を有するPLC実機若しくはPLCエミュレータを
使用しかつ通信メッセージを介してテスト動作の指示を
与えるシーケンスプログラムのテスト装置において、シ
ーケンスプログラムの1サイクル動作に同期させてテス
ト動作指示を与えることを可能として、PLCの1サイ
クル動作と同期する必要の有る動作(例えばタイマをト
リガとした動作やクロックパルス動作)も容易に検証可
能とすることにある。
Another object of the present invention is to provide a test apparatus for a sequence program which uses a PLC real machine or a PLC emulator having a communication function and gives a test operation instruction through a communication message. A test operation instruction can be given in synchronization with the operation, and an operation that needs to be synchronized with one cycle operation of the PLC (for example, an operation triggered by a timer or a clock pulse operation) can be easily verified. .

【0011】この発明の他の目的とするところは、通信
機能を有するPLC実機若しくはPLCエミュレータを
使用しかつ通信メッセージを介してテスト動作の指示を
与えるシーケンスプログラムのテスト装置において、テ
スト対象となるシーケンスプログラムが搭載されるPL
Cと外部機器(例えば、テストツールとして機能するパ
ソコン、プログラマブル・ターミナル、他のPLC等)
との間における連繋動作も容易に検証可能とすることに
ある。
Another object of the present invention is to provide a sequence program test apparatus which uses a PLC real machine or a PLC emulator having a communication function and gives an instruction of a test operation via a communication message. PL where the program is installed
C and external equipment (for example, personal computer, programmable terminal, other PLC, etc. functioning as a test tool)
The object of the present invention is to make it possible to easily verify the connection operation between the two.

【0012】本発明のさらに他の目的及び効果について
は、以下の明細書の記述を参照することにより、当業者
であれば容易に理解されるであろう。
Still other objects and effects of the present invention will be easily understood by those skilled in the art by referring to the description in the following specification.

【0013】[0013]

【課題を解決するための手段】この発明のシーケンスプ
ログラムのテスト装置は、テスト対象となるシーケンス
プログラムが搭載される通信機能付きのPLC部と、前
記PLC部に対する通信メッセージを配送管理する通信
管理部と、前記通信管理部により配送管理された通信メ
ッセージを記録して通信記録を作成する通信記録部と、
前記通信記録部にて作成された通信記録を保存する記録
保存部と、前記記録保存部に保存された通信記録を元に
前記PLC部に対する通信メッセージによる動作指示を
再現可能な通信再現部と、を備えている。
A sequence program test apparatus according to the present invention includes a PLC section having a communication function in which a sequence program to be tested is mounted, and a communication management section for managing delivery of a communication message to the PLC section. A communication recording unit that records a communication message managed by the communication management unit and creates a communication record;
A record storage unit that stores a communication record created by the communication recording unit, and a communication reproduction unit that can reproduce an operation instruction by a communication message to the PLC unit based on the communication record stored in the record storage unit. It has.

【0014】『通信機能付きのPLC』には、実際の制
御に使用されるPLC実機とPLC実機の機能を例えば
パソコン上において仮想的に実現させたPLCエミュレ
ータとの双方が含まれる。ここで、『通信機能』とは、
例えば、通信メッセージを受信して、それに応じた処理
を行う受信機能や、シーケンスプログラムに通信コマン
ドが存在する場合に、指定された宛先へと通信メッセー
ジを送信する送信機能等のことを意味している。
The "PLC with communication function" includes both a PLC real machine used for actual control and a PLC emulator that virtually realizes the functions of the PLC real machine on, for example, a personal computer. Here, the “communication function”
For example, it means a reception function that receives a communication message and performs processing in accordance with the communication message, or a transmission function that transmits a communication message to a specified destination when a communication command exists in the sequence program. I have.

【0015】そして、このような構成によれば、テスト
対象となるシーケンスプログラムが組み込まれたPLC
実機又はPLCエミュレータに対して、プログラミング
ツールの手動操作等にて所望のテスト動作に相当する通
信メッセージ(コマンド列)を送り込めば、それらの通
信メッセージの通信記録がテスト用データとして保存さ
れるから、以後、この保存された通信記録を元にPLC
実機又はPLCエミュレータに対する通信メッセージに
よる動作指示を再現することができ、この種のシーケン
スプログラムテストの作業効率を著しく向上させること
ができる。
According to such a configuration, the PLC in which the sequence program to be tested is incorporated
If a communication message (command sequence) corresponding to a desired test operation is sent to the actual device or the PLC emulator by manual operation of a programming tool or the like, a communication record of the communication message is stored as test data. After that, based on the stored communication record, the PLC
The operation instruction by the communication message to the actual machine or the PLC emulator can be reproduced, and the work efficiency of this type of sequence program test can be significantly improved.

【0016】好ましい実施の形態では、本発明のテスト
装置は、シーケンスプログラムの1サイクル動作をカウ
ントするカウンタ部を有し、かつ通信記録部は、前記カ
ウンタ部によるカウント値を通信メッセージと関連づけ
て記録する機能を有し、さらにシーケンスプログラムの
1サイクル動作を制御することにより、通信メッセージ
による1サイクル単位の動作指示とシーケンスプログラ
ムの1サイクル動作とを同期させて再現する同期管理部
と、を有する。
In a preferred embodiment, the test apparatus of the present invention has a counter unit for counting one cycle operation of the sequence program, and the communication recording unit records the count value of the counter unit in association with a communication message. And a synchronization management unit that controls one cycle operation of the sequence program, thereby synchronizing and reproducing the one cycle operation instruction by the communication message and the one cycle operation of the sequence program.

【0017】そして、このような構成によれば、PLC
実機又はPLCエミュレータの1サイクル動作に同期し
て通信を再現することにより、1サイクル動作に同期し
たテスト動作(例えばタイマをトリガとした動作やクロ
ックパルス動作)が可能となる。
According to such a configuration, the PLC
By reproducing communication in synchronization with one cycle operation of the actual device or the PLC emulator, a test operation (for example, an operation triggered by a timer or a clock pulse operation) synchronized with one cycle operation becomes possible.

【0018】好ましい実施の形態では、本発明のテスト
装置は、通信記録部が、同一コンピュータ内、ネットワ
ーク経由、又はシリアル通信経由の送信元からの通信メ
ッセージを記録する機能を有する。
In a preferred embodiment, in the test apparatus of the present invention, the communication recording unit has a function of recording a communication message from a transmission source within the same computer, via a network, or via serial communication.

【0019】ここで、『同一コンピュータ内の送信元』
には、例えば、当該テスト装置を構成するパソコン等の
内部にソフトウェア的に実現されたテストツール(通信
メッセージを介して、PLC実機やPLCエミュレータ
に対して操作を行う機能を有するアプリケーションプロ
グラム)が含まれる。
Here, "Sender in the same computer"
Includes, for example, a test tool (an application program having a function of operating a PLC real machine or a PLC emulator through a communication message) implemented in software inside a personal computer or the like configuring the test apparatus. It is.

【0020】『ネットワーク経由の送信元』には、例え
ば、FA専用通信或いはイーサネット(Ethernet)等の
外部ネットワークを介してテスト対象となるPLC実機
やPLCエミュレータに接続された他のPLC実機、さ
らには、本出願人が別途提案している新規なネットワー
クエミュレータを介して、テスト対象となるPLCエミ
ュレータに接続された他のPLCエミュレータが含まれ
る。
The “transmission source via the network” includes, for example, a PLC real machine to be tested or another PLC real machine connected to a PLC emulator via an external network such as a dedicated FA communication or an Ethernet (Ethernet). And other PLC emulators connected to the PLC emulator to be tested via a new network emulator separately proposed by the present applicant.

【0021】『シリアル通信経由の送信元』とは、例え
ば、RS232CやRS422等のシリアル通信を介し
て、テスト対象となるPLC実機又はPLCエミュレー
タに接続されたプログラムターミナル(PT)やバーコ
ードリーダ等の外部機器が含まれる。
The “source via serial communication” is, for example, a program terminal (PT) or a barcode reader connected to a PLC to be tested or a PLC emulator via serial communication such as RS232C or RS422. External devices are included.

【0022】そして、このような構成によれば、外部接
続機器からの通信メッセージを保存してテストデータと
することができるため、テスト対象となるシーケンスプ
ログラムが搭載されるPLC実機又はPLCエミュレー
タとその他の機器(例えば、テストツールとして機能す
るパソコン、プログラマブル・ターミナル、他のPLC
等)との間における連繋動作も容易に検証可能となる。
According to such a configuration, since a communication message from an externally connected device can be stored and used as test data, a PLC actual device or a PLC emulator in which a sequence program to be tested is mounted and other devices Devices (eg, personal computers, programmable terminals, other PLCs that function as test tools)
) Can be easily verified.

【0023】[0023]

【発明の実施の形態】以下に、本発明に係るシーケンス
プログラムのテスト装置の好適ないくつかの実施形態を
添付図面を参照しつつ詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a sequence program test apparatus according to the present invention will be described below in detail with reference to the accompanying drawings.

【0024】パソコン等のコンピュータ上に実現された
テスト装置の構成図が図1に示されている。
FIG. 1 shows a configuration diagram of a test apparatus implemented on a computer such as a personal computer.

【0025】同図において、符号1が付されているの
が、本発明に係るシーケンスプログラムのテスト装置1
0をソフトウェア的に実現するコンピュータである。コ
ンピュータ1としては、市販のパソコン(例えば、Wins
ows95/98/NT4.0等)を採用することができる。
In the figure, reference numeral 1 denotes a sequence program test apparatus 1 according to the present invention.
0 is a computer that implements the software in a software manner. As the computer 1, a commercially available personal computer (for example, Wins
ows95 / 98 / NT4.0 etc.).

【0026】符号2が付されているのが、製造設備を制
御する制御装置に或いは別途据え付けされた制御盤に内
蔵されるPLC実機である。これらのPLC実機2,2
は、後述するように、FA専用通信或いはイーサネット
(Ethernet)等のネットワーク4を介してコンピュータ
1と接続されている。
Reference numeral 2 denotes an actual PLC built in a control device for controlling manufacturing equipment or a control panel separately installed. These PLC real machines 2, 2
Is connected to the computer 1 via a network 4 such as FA dedicated communication or Ethernet (Ethernet) as described later.

【0027】符号3が付されているのが、シリアル通信
機能を有する外部機器である。外部機器3としては、例
えば、バーコードリーダやプログラマブル・ターミナル
(PT)等が挙げられる。外部機器3は、後述するよう
に、RS−232CやRS−422等のシリアル通信5
を介してコンピュータ1と接続されている。
Reference numeral 3 denotes an external device having a serial communication function. Examples of the external device 3 include a barcode reader and a programmable terminal (PT). The external device 3 communicates with a serial communication device 5 such as RS-232C or RS-422 as described later.
Is connected to the computer 1 via the.

【0028】符号10が付されているのが、コンピュー
タ1内にソフトウェア的に実現されたシーケンスプログ
ラムのテスト装置である。このテスト装置10が本発明
の要部を構成する。
Reference numeral 10 denotes a test apparatus for a sequence program implemented in software in the computer 1. This test apparatus 10 constitutes a main part of the present invention.

【0029】テスト装置10の機能は、要するに、シー
ケンスプログラムの搭載されたPLCエミュレータ10
0を使用して、シーケンスプログラム、I/0ポート、
メモリ等の動作検証を行うにあたり、検証用のテストデ
ータを外部からの通信メッセージの履歴として作成保存
すると共に、作成保存されたテストデータから通信メッ
セージを自動的に再現することで、シーケンスプログラ
ムのテストを自動化できるようにしたものである。
The function of the test apparatus 10 is, in short, a PLC emulator 10 on which a sequence program is mounted.
0, the sequence program, the I / O port,
When verifying the operation of the memory, etc., test data for verification is created and saved as a history of communication messages from the outside, and communication messages are automatically reproduced from the created and saved test data to test sequence programs. Can be automated.

【0030】より具体的に説明すると、テスト装置10
は、PLCエミュレータ部100と、通信管理部101
と、記録保存部102と、通信再現部103と、同期管
理部104とを含んでいる。
More specifically, the test apparatus 10
Are a PLC emulator unit 100 and a communication management unit 101
, A record storage unit 102, a communication reproduction unit 103, and a synchronization management unit 104.

【0031】PLCエミュレータ部100には、テスト
対象となるシーケンスプログラムが搭載される。PLC
エミュレータ部100は、与えられたシーケンスプログ
ラムを元にPLC実機と同様な動作をソフトウェア的に
実現する。当業者にはよく知られているように、PLC
実機の基本的な動作は、I/Oリフレッシュ動作、命令
実行動作、外部機器との通信等のための周辺サービス処
理動作等から構成される。PLCエミュレータ部100
では、それらの動作の全て若しくは主要な動作を模擬的
に実行する。
The PLC emulator section 100 has a sequence program to be tested. PLC
The emulator unit 100 realizes the same operation as that of the actual PLC in software based on a given sequence program. As is well known to those skilled in the art, PLC
The basic operation of the actual device includes an I / O refresh operation, an instruction execution operation, a peripheral service processing operation for communication with an external device, and the like. PLC emulator section 100
Then, all or main operations of these operations are simulated.

【0032】さらに、重要な点であるが、このPLCエ
ミュレータ部100には通信機能が付加されている。こ
こで言う通信機能には、図2に示される受信時処理と図
3に示される送信時処理とが含まれている。
Further, it is important to note that the PLC emulator unit 100 is provided with a communication function. The communication function referred to here includes the reception processing shown in FIG. 2 and the transmission processing shown in FIG.

【0033】すなわち、図2に示されるように、受信時
処理では、通信メッセージの受信を待機すると共に(ス
テップ201)、通信メッセージの到来に応答して、到
来した通信メッセージに含まれるコマンドの解釈を行い
(ステップ202)、その解釈結果に対応する処理を実
行する(ステップ203)。コマンドとしては、周知の
ように、I/Oメモリやシーケンスプログラムに対する
リード・ライト処理等が定義されている。
That is, as shown in FIG. 2, in the reception-time process, while waiting for reception of a communication message (step 201), in response to the arrival of the communication message, interpretation of a command included in the incoming communication message is performed. Is performed (step 202), and a process corresponding to the interpretation result is executed (step 203). As is well known, read / write processing for an I / O memory or a sequence program is defined as a command.

【0034】また、図3に示されるように、送信時処理
では、シーケンスプログラムに挿入された送信命令等に
応答して、送信メッセージの作成処理を行う(ステップ
301)。送信メッセージ作成処理では、宛先アドレス
の設定並びに送信データの設定が行われる。次いで、作
成されたメッセージの送信処理が行われる(ステップ3
02)。
As shown in FIG. 3, in the transmission process, a transmission message is prepared in response to a transmission command or the like inserted in the sequence program (step 301). In the transmission message creation process, a destination address and transmission data are set. Next, transmission processing of the created message is performed (step 3).
02).

【0035】PLCエミュレータ部100には、さら
に、通信記録部100aとカウンタ部100bとが含ま
れている。カウンタ部100bは、PLCエミュレータ
部100の1サイクル動作をカウントして、サイクルカ
ウント値を生成する機能を有する。一方、通信記録部1
00aは、後述する通信管理部101により配送管理さ
れた通信メッセージを記録して通信記録を作成する機能
を有する。特に、この実施形態に示される通信記録部1
00aにおいては、通信メッセージはカウンタ部100
bにより生成されたサイクルカウント値と関連付けて記
録される。
The PLC emulator section 100 further includes a communication recording section 100a and a counter section 100b. The counter section 100b has a function of counting one cycle operation of the PLC emulator section 100 and generating a cycle count value. On the other hand, the communication recording unit 1
00a has a function of recording a communication message which is managed by the communication management unit 101 to be described later and creating a communication record. In particular, the communication recording unit 1 shown in this embodiment
00a, the communication message is sent to the counter 100
b is recorded in association with the cycle count value generated by b.

【0036】通信管理部101は、PLCエミュレータ
部100に対する通信メッセージの配送を管理する機能
を有する。換言すれば、この通信管理部101は、通信
メッセージが通過する通信路を管理する。
The communication management section 101 has a function of managing delivery of a communication message to the PLC emulator section 100. In other words, the communication management unit 101 manages communication paths through which communication messages pass.

【0037】記録保存部102は、通信記録部100a
において作成された通信記録を、テスト時に再生できる
ように、通信履歴として保存する機能を有する。先に説
明したように、この通信履歴を構成する各通信記録は、
通信メッセージとサイクルカウント値とを関連づけて記
録したものである。
The record storage unit 102 includes a communication recording unit 100a
Has a function to save the communication record created in the above as a communication history so that it can be reproduced at the time of the test. As described above, each communication record constituting the communication history is:
The communication message and the cycle count value are recorded in association with each other.

【0038】通信再現部103は、記録保存部102に
保存されている通信履歴を元に、PLCエミュレータ部
100に対する通信メッセージによる動作指示を再現す
る機能を有する。このとき、同期管理部104は、再現
される通信メッセージによる動作指示が、PLCエミュ
レータ部100のサイクル動作の動作タイミングに同期
するように、PLCエミュレータ部100のサイクル動
作を制御する。
The communication reproducing unit 103 has a function of reproducing an operation instruction by a communication message to the PLC emulator unit 100 based on the communication history stored in the recording storage unit 102. At this time, the synchronization management unit 104 controls the cycle operation of the PLC emulator unit 100 so that the operation instruction based on the reproduced communication message is synchronized with the operation timing of the cycle operation of the PLC emulator unit 100.

【0039】なお、図1において、符号11が付された
アプリケーションプログラムは、通信メッセージを介し
て、PLCエミュレータ部100に対して操作を行うプ
ログラムのことを表している。
In FIG. 1, an application program 11 is a program for operating the PLC emulator unit 100 via a communication message.

【0040】以上をまとめると、次のようになる。テス
ト装置10は、テスト対象となるシーケンスプログラム
が搭載される通信機能付きのPLCエミュレータ部10
0と、PLCエミュレータ部100に対する通信メッセ
ージを配送管理する通信管理部101と、通信管理部1
01により配送管理された通信メッセージを記録して通
信記録を作成する通信記録部100aと、通信記録部1
00aにて作成された通信記録を保存する記録保存部1
02と、記録保存部102に保存された通信記録を元に
PLCエミュレータ部100に対する通信メッセージに
よる動作指示を再現可能な通信再現部103と、を備え
ている。
The above is summarized as follows. The test apparatus 10 includes a PLC emulator unit 10 having a communication function on which a sequence program to be tested is mounted.
0, a communication management unit 101 that manages delivery of communication messages to the PLC emulator unit 100, and a communication management unit 1
01, a communication recording unit 100a for recording a communication message whose delivery is managed by the communication recording unit 01 and creating a communication record;
Record storage unit 1 for storing the communication record created in 00a
02, and a communication reproduction unit 103 that can reproduce an operation instruction by a communication message to the PLC emulator unit 100 based on the communication record stored in the record storage unit 102.

【0041】また、上記のテスト装置10は、シーケン
スプログラムの1サイクル動作をカウントするカウンタ
部100bを有し、かつ通信記録部100aは、カウン
タ部100bによるカウント値を通信メッセージと関連
づけて記録する機能を有し、さらにシーケンスプログラ
ムの1サイクル動作を制御することにより、通信メッセ
ージによる1サイクル単位の動作指示とシーケンスプロ
グラムの1サイクル動作とを同期させて再現する同期管
理部104と、を有する。
The test apparatus 10 has a counter unit 100b for counting one cycle operation of the sequence program, and the communication recording unit 100a records the count value of the counter unit 100b in association with the communication message. And a synchronization management unit 104 that controls one cycle operation of the sequence program to synchronize and reproduce an operation instruction of one cycle unit by a communication message and one cycle operation of the sequence program.

【0042】さらに、上記のテスト装置10における通
信記録部100aは、同一コンピュータ1内の送信元で
あるアプリケーションプログラム11、ネットワーク4
経由の送信元であるPLC2,2、又はシリアル通信5
経由の送信元である外部機器3からの通信メッセージを
記録する機能を有する。
Further, the communication recording unit 100a in the test apparatus 10 includes the application program 11, which is the transmission source in the same computer 1, and the network 4
PLCs 2 and 2 or serial communication 5
It has a function of recording a communication message from the external device 3 that is the transmission source via the device.

【0043】次に、記録保存部102に保存された通信
記録を元にPLCエミュレータ部100に対する通信メ
ッセージによる動作指示を再現する動作についていくつ
かの例を示す。
Next, several examples of the operation of reproducing an operation instruction by a communication message to the PLC emulator unit 100 based on the communication record stored in the record storage unit 102 will be described.

【0044】非同期方式によるデータ再現処理のフロー
チャートが図4に示されている。この例では、記録保存
部102に保存されている通信メッセージの履歴を元
に、再度メッセージを再送してPLCエミュレータ部1
00のI/Oポートやメモリ等に対する外部要因を再現
する。この時、シーケンス動作の結果を確認するため
に、PLCエミュレータ部100のメモリ内容を保存し
ておく。
FIG. 4 shows a flowchart of the data reproduction process by the asynchronous system. In this example, the PLC emulator unit 1 retransmits the message again based on the history of the communication message stored in the record storage unit 102.
External factors for I / O ports, memories, etc. of 00 are reproduced. At this time, the contents of the memory of the PLC emulator unit 100 are stored in order to confirm the result of the sequence operation.

【0045】すなわち、このデータ再現処理では、ステ
ップ401において、記録保存部102に再現すべき通
信履歴が存在するか否かを判定する。ステップ402に
おいては、通信履歴の存在を条件として、その通信履歴
を元に通信メッセージをPLCエミュレータ部100へ
と再送する。ステップ403では、PLCエミュレータ
部100からの通信応答の到来を待機する。ステップ4
04では、通信応答の到来を条件として、PLCエミュ
レータ部100へと確認用データ受信メッセージを送信
する。ステップ405では、PLCエミュレータ部10
0からの通信応答の到来を待機する。ステップ406で
は、通信応答の到来を条件として、再送メッセージに対
応させて確認用受信データを保存する。
That is, in this data reproduction process, in step 401, it is determined whether or not there is a communication history to be reproduced in the record storage unit 102. In step 402, the communication message is retransmitted to the PLC emulator unit 100 based on the communication history, on condition that the communication history exists. In step 403, the process waits for a communication response from the PLC emulator unit 100. Step 4
In step 04, a confirmation data reception message is transmitted to the PLC emulator unit 100 on condition that a communication response has arrived. In step 405, the PLC emulator unit 10
It waits for a communication response from 0. In step 406, the reception data for confirmation is stored corresponding to the retransmission message on condition that the communication response has arrived.

【0046】同期方式によるデータ再現処理のフローチ
ャートが図5に示されている。この例では、非同期方式
に比べて、PLCエミュレータ部100のサイクル動作
を制御しながら再送するので、通信メッセージとシーケ
ンスプログラムの動作とをサイクルカウンタを用いて同
期させることが可能となる。
FIG. 5 shows a flowchart of the data reproduction process by the synchronous method. In this example, as compared with the asynchronous method, retransmission is performed while controlling the cycle operation of the PLC emulator unit 100, so that the communication message and the operation of the sequence program can be synchronized using the cycle counter.

【0047】すなわち、このデータ再現処理では、ステ
ップ501では、記録保存部102に再現すべき通信履
歴が存在するか否かを判定する。ステップ502におい
ては、通信履歴の存在を条件として、その通信メッセー
ジと関連づけて記録されたサイクルカウント値と別途生
成される現在のサイクルカウント値とに基づいて、通信
タイミングの到来を判定する。ステップ503では、通
信タイミングが未到来であることを条件として、PLC
エミュレータ部100に対して1サイクル実行するよう
に命令指示すると共に、1サイクル実行の終了を待っ
て、ステップ502へと戻り、通信タイミングの到来を
判定する。ステップ504では、ステップ502で通信
タイミング到来と判定されることを条件として、通信メ
ッセージの差嘘卯を行う。ステップ505では、PLC
エミュレータ部100からの通信応答の到来を待機す
る。ステップ506では、通信応答の到来を条件とし
て、PLCエミュレータ部100へと確認用データ受信
メッセージを送信する。ステップ507では、PLCエ
ミュレータ部100からの通信応答の到来を待機する。
ステップ508では、通信応答の到来を条件として、再
送メッセージに対応させて確認用受信データを保存す
る。
That is, in this data reproduction process, in step 501, it is determined whether or not there is a communication history to be reproduced in the record storage unit 102. In step 502, on the condition that there is a communication history, the arrival of communication timing is determined based on the cycle count value recorded in association with the communication message and the separately generated current cycle count value. In step 503, on condition that the communication timing has not arrived, the PLC
An instruction is issued to the emulator unit 100 to execute one cycle, and after the end of one cycle execution, the process returns to step 502 to determine the arrival of communication timing. At step 504, the communication message is updated on condition that it is determined at step 502 that the communication timing has come. In step 505, the PLC
It waits for a communication response from the emulator unit 100. In step 506, a confirmation data reception message is transmitted to the PLC emulator unit 100 on condition that a communication response has arrived. In step 507, the process waits for the arrival of a communication response from the PLC emulator unit 100.
In step 508, the reception data for confirmation is stored corresponding to the retransmission message on condition that the communication response has arrived.

【0048】次に、テストデータの作成方法のいくつか
の例について説明する。
Next, some examples of a method for creating test data will be described.

【0049】プログラム開発ツールの操作履歴によるテ
ストデータ作成の説明図が図6に示されている。同図に
示されるように、この例にあっては、シーケンスプログ
ラム開発ツール11aからPLCエミュレータ部100
に対して、通信メッセージを介して行う操作に際して記
録される通信履歴をテストデータとして記録保存部10
2に保存する。このとき、通信メッセージを介して行う
操作には、I/Oエリアの強制的な設定、メモリエリア
の強制的な設定等が含まれている。
FIG. 6 is an explanatory diagram of test data creation based on the operation history of the program development tool. As shown in the figure, in this example, the PLC emulator unit 100
The communication history recorded at the time of the operation performed via the communication message to the
Save to 2. At this time, operations performed via the communication message include compulsory setting of an I / O area, compulsory setting of a memory area, and the like.

【0050】外部機器の操作履歴によるテストデータ作
成の説明図(その1)が図7に示されている。同図に示
されるように、この例にあっては、バーコードリーダ3
aをコンピュータ1に接続し、バーコードリーダ3aの
読取結果のデータをテスト用データとして記録保存部1
02に保存する。
FIG. 7 is an explanatory diagram (part 1) of test data creation based on the operation history of the external device. As shown in the figure, in this example, the barcode reader 3
is connected to the computer 1 and the data of the reading result of the barcode reader 3a is stored as test data in the recording and storage unit 1.
02.

【0051】外部機器の操作履歴によるテストデータ作
成の説明図(その2)が図8に示されている。同図に示
されるように、この例にあっては、プログラマブル・タ
ーミナル(PT)3bをコンピュータ1に接続し、ター
ミナル3bに対する人による操作データをテスト用デー
タとして記録保存部102に保存する。
FIG. 8 is an explanatory diagram (part 2) of test data creation based on the operation history of the external device. As shown in the figure, in this example, the programmable terminal (PT) 3b is connected to the computer 1, and the operation data by a person on the terminal 3b is stored in the recording storage unit 102 as test data.

【0052】ネットワーク接続機器との通信によるテス
トデータ作成の説明図が図9に示されている。この例に
あっては、コンピュータとネットワーク4を介して接続
された機器(PLC2、コンピュータ6、その他図示し
ないプログラマブル・ターミナル等)とPLCエミュレ
ータ部100との間の通信メッセージをテスト用データ
として記録保存部102に保存する。
FIG. 9 is an explanatory diagram of test data creation by communication with a network connection device. In this example, communication messages between the PLC emulator unit 100 and devices (PLC 2, computer 6, and other programmable terminals not shown) connected to the computer via the network 4 are recorded and stored as test data. Stored in the unit 102.

【0053】以上説明した実施形態によれば、次のよう
な優れた作用効果が期待される。
According to the embodiment described above, the following excellent functions and effects are expected.

【0054】(1)シーケンスプログラムのテストを自
動的に行うことにより、テスト工数の削減を図ることが
できる。
(1) By automatically performing a test of a sequence program, the number of test steps can be reduced.

【0055】(2)シーケンスプログラムのプログラミ
ングツール等から手動で操作したI/Oポートやメモリ
の変更履歴からテストデータが作成できるため、データ
作成工数の削減を図ることができる。
(2) Since test data can be created from I / O ports and memory change history manually operated from a programming tool of a sequence program or the like, the number of data creation steps can be reduced.

【0056】(3)外部接続機器からの通信データを保
存してテストデータとすることができるため、外部機器
との連係動作の検証が容易になる。
(3) Since the communication data from the externally connected device can be stored and used as test data, the verification of the linked operation with the external device becomes easy.

【0057】(4)エミュレータの1サイクル動作に同
期して通信を再現することにより、サイクル動作に同期
したテストが可能となる。
(4) By reproducing communication in synchronization with one cycle operation of the emulator, a test synchronized with the cycle operation can be performed.

【0058】なお、以上の実施形態では、シーケンスプ
ログラムの実行をPLCエミュレータ部に委ねたが、こ
れをPLC実機に委ねてもよいことは言うまでもない。
In the above embodiment, the execution of the sequence program is entrusted to the PLC emulator. However, it goes without saying that the execution of the sequence program may be entrusted to the actual PLC.

【0059】[0059]

【発明の効果】以上の説明で明らかなように、テスト対
象となるシーケンスプログラムが組み込まれたPLC実
機又はPLCエミュレータに対して、プログラミングツ
ールの手動操作等にて所望のテスト動作に相当する通信
メッセージ(コマンド列)を送り込めば、それらの通信
メッセージの通信記録がテスト用データとして保存され
るから、以後、この保存された通信記録を元にPLC実
機又はPLCエミュレータに対する通信メッセージによ
る動作指示を再現することができ、この種のシーケンス
プログラムテストの作業効率を著しく向上させることが
できる。
As is apparent from the above description, a communication message corresponding to a desired test operation is issued to a PLC actual machine or a PLC emulator in which a sequence program to be tested is incorporated by manual operation of a programming tool or the like. When the (command sequence) is sent, the communication record of those communication messages is stored as test data. Thereafter, based on the stored communication records, the operation instruction by the communication message to the actual PLC or the PLC emulator is reproduced. The work efficiency of this type of sequence program test can be significantly improved.

【0060】また、本発明によれば、PLC実機又はP
LCエミュレータの1サイクル動作に同期して通信を再
現することにより、1サイクル動作に同期したテスト動
作(例えばタイマをトリガとした動作やクロックパルス
動作)が可能となる。
Further, according to the present invention, the actual PLC or P
By reproducing communication in synchronization with the one-cycle operation of the LC emulator, a test operation (for example, an operation triggered by a timer or a clock pulse operation) synchronized with the one-cycle operation becomes possible.

【0061】さらに、本発明によれば、外部接続機器か
らの通信メッセージを保存してテストデータとすること
ができるため、テスト対象となるシーケンスプログラム
が搭載されるPLC実機又はPLCエミュレータとその
他の機器(例えば、テストツールとして機能するパソコ
ン、プログラマブル・ターミナル、他のPLC等)との
間における連繋動作も容易に検証可能となる。
Further, according to the present invention, since a communication message from an externally connected device can be stored and used as test data, a PLC real machine or a PLC emulator on which a sequence program to be tested is mounted and other devices (For example, a connection operation with a personal computer, a programmable terminal, another PLC, or the like functioning as a test tool) can be easily verified.

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

【図1】パソコン上に実現されたテスト装置の構成図で
ある。
FIG. 1 is a configuration diagram of a test device implemented on a personal computer.

【図2】PLCエミュレータ部の受信時処理を示すフロ
ーチャートである。
FIG. 2 is a flowchart illustrating a reception process of a PLC emulator unit.

【図3】PLCエミュレータ部の送信時処理を示すフロ
ーチャートである。
FIG. 3 is a flowchart illustrating transmission processing of a PLC emulator unit.

【図4】非同期方式によるデータ再現処理を示すフロー
チャートである。
FIG. 4 is a flowchart showing data reproduction processing by an asynchronous system.

【図5】同期方式によるデータ再現処理を示すフローチ
ャートである。
FIG. 5 is a flowchart showing a data reproduction process by a synchronous method.

【図6】プログラム開発ツールの操作履歴によるテスト
データ作成の説明図である。
FIG. 6 is an explanatory diagram of test data creation based on an operation history of a program development tool.

【図7】外部機器の操作履歴によるテストデータ作成の
説明図(その1)である。
FIG. 7 is an explanatory diagram (part 1) of test data creation based on an operation history of an external device.

【図8】外部機器の操作履歴によるテストデータ作成の
説明図(その2)である。
FIG. 8 is an explanatory diagram (part 2) of test data creation based on the operation history of the external device.

【図9】ネットワーク接続機器との通信によるテストデ
ータ作成の説明図である。
FIG. 9 is an explanatory diagram of test data creation by communication with a network connection device.

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

1 コンピュータ 2 PLC 3 外部機器 3a バーコードリーダ 3b プログラマブル・ターミナル 4 ネットワーク 5 シリアル通信 6 コンピュータ 10 テスト装置 11 アプリケーションプログラム 11a シーケンスプログラム開発ツール 100 PLCエミュレータ部 100a 通信記録部 100b カウンタ部 101 通信管理部 102 記録保存部 103 通信再現部 104 同期管理部 Reference Signs List 1 computer 2 PLC 3 external device 3a barcode reader 3b programmable terminal 4 network 5 serial communication 6 computer 10 test device 11 application program 11a sequence program development tool 100 PLC emulator unit 100a communication recording unit 100b counter unit 101 communication management unit 102 record Storage unit 103 Communication reproduction unit 104 Synchronization management unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 テスト対象となるシーケンスプログラム
が搭載される通信機能付きのPLC部と、 前記PLC部に対する通信メッセージを配送管理する通
信管理部と、 前記通信管理部により配送管理された通信メッセージを
記録して通信記録を作成する通信記録部と、 前記通信記録部にて作成された通信記録を保存する記録
保存部と、 前記記録保存部に保存された通信記録を元に前記PLC
部に対する通信メッセージによる動作指示を再現可能な
通信再現部と、 を備えたシーケンスプログラムのテスト装置。
1. A PLC section having a communication function in which a sequence program to be tested is installed, a communication management section that manages delivery of a communication message to the PLC section, and a communication message that is managed by the communication management section. A communication recording unit for recording to create a communication record; a record storage unit for storing the communication record created by the communication recording unit; and the PLC based on the communication record stored in the record storage unit.
And a communication reproducing unit capable of reproducing an operation instruction by a communication message to the unit.
【請求項2】 シーケンスプログラムの1サイクル動作
をカウントするカウンタ部を有し、かつ通信記録部は、
前記カウンタ部によるカウント値を通信メッセージと関
連づけて記録する機能を有し、さらにシーケンスプログ
ラムの1サイクル動作を制御することにより、通信メッ
セージによる1サイクル単位の動作指示とシーケンスプ
ログラムの1サイクル動作とを同期させて再現する同期
管理部と、 を有する請求項1に記載のシーケンスプログラムのテス
ト装置。
2. A communication unit comprising: a counter unit for counting one cycle operation of a sequence program;
It has a function of recording the count value of the counter unit in association with a communication message, and further controls one cycle operation of the sequence program, thereby enabling one cycle unit of operation instruction by the communication message and one cycle operation of the sequence program. The sequence program test device according to claim 1, further comprising: a synchronization management unit configured to perform synchronization and reproduction.
【請求項3】 通信記録部が、同一コンピュータ内、ネ
ットワーク経由、又はシリアル通信経由の送信元からの
通信メッセージを記録する機能を有する請求項1に記載
のシーケンスプログラムのテスト装置。
3. The sequence program test apparatus according to claim 1, wherein the communication recording unit has a function of recording a communication message from a transmission source within the same computer, via a network, or via serial communication.
【請求項4】 シーケンスプログラムのサイクル動作を
カウントしてサイクルカウント値を生成するサイクルカ
ウント部と、 外部からの通信メッセージをサイクルカウント値と関連
づけて記録する通信記録部と、 を有する送受信機能付きのPLCエミュレータ装置。
4. A transmission / reception function having a transmission / reception function, comprising: a cycle counting unit for counting cycle operations of a sequence program to generate a cycle count value; and a communication recording unit for recording an external communication message in association with the cycle count value. PLC emulator device.
【請求項5】 コンピュータが実行可能なプログラムを
格納した記憶媒体であって、 前記プログラムには、 シーケンスプログラムを解釈実行するPLCの機能を実
現するプログラムコードと、 PLCのサイクル動作をカウントしてサイクルカウント
値を生成する機能を実現するプログラムコードと、 PLCに対する通信メッセージをサイクルカウント値と
関連づけて記録する機能を実現するプログラムコード
と、 が含まれている記憶媒体。
5. A storage medium storing a computer-executable program, the program comprising: a program code for implementing a function of a PLC for interpreting and executing a sequence program; and a cycle for counting a cycle operation of the PLC. A storage medium comprising: a program code for realizing a function of generating a count value; and a program code for realizing a function of recording a communication message to a PLC in association with a cycle count value.
【請求項6】 コンピュータが実行可能なプログラムを
格納した記憶媒体であって、 前記プログラムには、 通信メッセージの履歴を読込み、PLCに対する通信メ
ッセージとして再送するために、通信メッセージを再構
築する機能を実現するプログラムコードと、 再送される通信メッセージをPLCのサイクル動作に同
期させて送信する機能を実現するプログラムコードと、 が含まれている記憶媒体。
6. A storage medium storing a computer-executable program, wherein the program has a function of reading a communication message history and reconstructing the communication message in order to retransmit the communication message as a communication message to a PLC. A storage medium comprising: a program code for realizing; and a program code for realizing a function of transmitting a retransmitted communication message in synchronization with a cycle operation of a PLC.
JP2000018061A 2000-01-25 2000-01-25 Equipment for sequence program test Pending JP2001209414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000018061A JP2001209414A (en) 2000-01-25 2000-01-25 Equipment for sequence program test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000018061A JP2001209414A (en) 2000-01-25 2000-01-25 Equipment for sequence program test

Publications (1)

Publication Number Publication Date
JP2001209414A true JP2001209414A (en) 2001-08-03

Family

ID=18544962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000018061A Pending JP2001209414A (en) 2000-01-25 2000-01-25 Equipment for sequence program test

Country Status (1)

Country Link
JP (1) JP2001209414A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093320A (en) * 2007-10-05 2009-04-30 Koyo Electronics Ind Co Ltd External access data discrimination system to internal memory of programmable controller and programmable controller
JP2011130235A (en) * 2009-12-18 2011-06-30 Mitsubishi Electric Corp Information processing apparatus, information processing method and program
WO2023100752A1 (en) * 2021-12-03 2023-06-08 三菱重工業株式会社 Plant operation simulation system and plant operation simulation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093320A (en) * 2007-10-05 2009-04-30 Koyo Electronics Ind Co Ltd External access data discrimination system to internal memory of programmable controller and programmable controller
JP2011130235A (en) * 2009-12-18 2011-06-30 Mitsubishi Electric Corp Information processing apparatus, information processing method and program
WO2023100752A1 (en) * 2021-12-03 2023-06-08 三菱重工業株式会社 Plant operation simulation system and plant operation simulation method

Similar Documents

Publication Publication Date Title
US7937496B2 (en) Control server, control terminal, control system, and recording medium storing control communication program
TW494356B (en) Real-time process control simulation method and apparatus
EP1752843A2 (en) Control server, control terminal, control system, and recording medium storing control communication program
CN109062777B (en) General automatic test system of track traffic signal equipment
JPH09326796A (en) Method for generating test packet to simulate computer network communication and its device
US8024511B2 (en) Systems, devices, and/or methods to access synchronous RAM in an asynchronous manner
US20060200770A1 (en) System for defining network behaviors within application programs
JP2006350549A (en) Integrated simulation system
JPH0962601A (en) Simulator device for computer network
CN103178996A (en) Distributed packet-switching chip model verification system and method
JP2003076405A (en) Control display device, control system, control program and recording medium recording the same
JP2001209414A (en) Equipment for sequence program test
US6351826B1 (en) Method and apparatus for automatically verifying communication software
CN116360763A (en) Method and device for rapidly generating RPA application
JP2006172128A (en) Processing method and information processing device for program cooperation system
JP2005108082A (en) Interface method for device driver
CN109086380A (en) The method and system of compression storage are carried out to historical data
Jääskeläinen et al. Synthesizing test models from test cases
JP2011138451A (en) Connected device simulator apparatus having trace function, method, and program
US7035784B1 (en) Data-driven method simulator and simulation process
WO2021005829A1 (en) Controller, control system, and control method
JPH1023107A (en) Communication simulator and communication simulating method
EP1999523B1 (en) Control and communication system including at least one automation unit
GB2343971A (en) Checking a program module in on-line and off-line modes
JP4198361B2 (en) Control action execution method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060621

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061108