JP2005346688A - Method for making sequencer have simulation operation function - Google Patents

Method for making sequencer have simulation operation function Download PDF

Info

Publication number
JP2005346688A
JP2005346688A JP2004198683A JP2004198683A JP2005346688A JP 2005346688 A JP2005346688 A JP 2005346688A JP 2004198683 A JP2004198683 A JP 2004198683A JP 2004198683 A JP2004198683 A JP 2004198683A JP 2005346688 A JP2005346688 A JP 2005346688A
Authority
JP
Japan
Prior art keywords
input
output
simulation
sequencer
unit
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
JP2004198683A
Other languages
Japanese (ja)
Inventor
Katsuyoshi Ito
勝良 伊藤
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.)
ITO SOFT DESIGN KK
Original Assignee
ITO SOFT DESIGN KK
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 ITO SOFT DESIGN KK filed Critical ITO SOFT DESIGN KK
Priority to JP2004198683A priority Critical patent/JP2005346688A/en
Publication of JP2005346688A publication Critical patent/JP2005346688A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for making the inside of a sequencer have a simulation operation function to perform operation confirmation of a program by the sequencer single body so as to eliminate a conventional fault wherein input/output equipment is manually operated when performing the operation confirmation of the program of the sequencer or wherein the operation confirmation is performed by externally preparing a simulation device. <P>SOLUTION: The inside of the sequencer is provided with an input relay part, an output relay part, an input buffer part, an output buffer part, a simulation operation changeover device, and a simulation input part. When performing simulation operation, the input relay part and the output relay part used in the program are separated from input equipment and output equipment by the simulation operation changeover device. At that time, the simulation input part and the input relay part are connected. By imparting a simulation signal to the simulation input part from an external controller by communication and confirming a state of the output relay part from the external controller by the communication, the operation confirmation by the simulation operation can be performed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、シーケンサ内部に模擬動作機能を持たせたせる方法に関する物である。  The present invention relates to a method for providing a simulation operation function inside a sequencer.

機械設備を制御するシーケンサ(8)のプログラム(11)の動作確認を行なう場合、入力機器(9)、出力機器(10)が完全に機能する前から行なう事が要求される。  When confirming the operation of the program (11) of the sequencer (8) that controls the mechanical equipment, it is required to perform the operation before the input device (9) and the output device (10) function completely.

従来のシーケンサは図2の様に、入力リレー部(1)、出力リレー部(4)、プログラム(11)で構成される。  As shown in FIG. 2, the conventional sequencer includes an input relay unit (1), an output relay unit (4), and a program (11).

動作確認を行なう場合、入力機器(9)、出力機器(10)を手動で操作し擬似的に信号を与えるか、図3の様に模擬装置(13)を用いて外部から模擬信号を与え、プログラム(11)の動作確認をしていた。
或はシーケンサのプログラム内に模擬信号を発生させるプログラムを持たせて施した物がある。(例えば特許文献1参照。)
特開平05−197592 公報
When confirming the operation, the input device (9) and the output device (10) are manually operated to give a pseudo signal, or the simulation device (13) as shown in FIG. The operation of the program (11) was confirmed.
Alternatively, there is a program provided with a program for generating a simulation signal in the sequencer program. (For example, refer to Patent Document 1.)
JP 05-197592 A

手動で入力機器(9)、出力機器(10)を操作する場合、機器の取付け具合で操作が困難であったり、同時に複数の機器を操作する必要がある場合は、タイミングを作り出すのが困難であったりする。  When operating the input device (9) and output device (10) manually, it is difficult to create timing when it is difficult to operate due to the mounting condition of the devices or when it is necessary to operate multiple devices at the same time. There is.

模擬装置(13)を用いる場合に、入力リレー部(1)、出力リレー部(4)と配線(14)する必要がある。入出力点数が多くなると模擬装置(13)が大掛りになるか、模擬装置(13)を複数台用いる必要があり、組合せや配線(14)が複雑になる。
シーケンサ(8)を機械設備に組込む時に、入力リレー部(1)、出力リレー部(4)を入力機器(9)、出力機器(10)へ、配線し直しが必要になる。そして、それ以降は模擬装置(13)を用いた動作確認が出来なくなる。
When using the simulator (13), it is necessary to wire (14) the input relay unit (1) and the output relay unit (4). When the number of input / output points increases, the simulation device (13) becomes large or it is necessary to use a plurality of simulation devices (13), and the combination and wiring (14) become complicated.
When incorporating the sequencer (8) into the mechanical equipment, it is necessary to rewire the input relay unit (1) and the output relay unit (4) to the input device (9) and the output device (10). Thereafter, the operation check using the simulation device (13) cannot be performed.

シーケンサのプログラム内で模擬信号を作る場合は、プログラム容量の空きや使用していないデバイスを用いる事になるが、模擬信号を作り出すためにはタイマーを用いる事が多く、一般的にシーケンサのタイマーの数は少なく致命的である。
また、入出力機器の動作をあらかじめ固定してしまう事になる。
具体的に説明すると、シリンダーが動作したらその3秒後にセンサーが入るという具合である。しかし、センサーが壊れた場合にエラーを表示する事になっていると、センサーが入らない状態やシリンダーが動作する前にセンサーが入ってしまっている場合も必要で、これではエラー時の確認は出来ない。もし、エラーまでプログラム内で模擬しようとすれば元々のプログラムよりも模擬信号を作り出すプログラムの方が複雑になってしまい、二時的な不具合を引き起こしてしまう恐れがある。
When creating a simulation signal in a sequencer program, a device with unused program capacity or an unused device is used, but in order to create a simulation signal, a timer is often used. The number is small and fatal.
In addition, the operation of the input / output device is fixed in advance.
Specifically, when the cylinder is operated, the sensor enters after 3 seconds. However, if an error is to be displayed when the sensor is broken, it is necessary even if the sensor is not entered or if the sensor is entered before the cylinder operates. I can't. If an error is simulated in the program, the program that generates the simulation signal is more complicated than the original program, which may cause a temporary failure.

本発明はこれらの欠点を除くためになされたもので、外部制御装置(7)から模擬信号を自由に作り出し、特別な模擬装置(13)を必要とせず、シーケンサ(8)単体で模擬動作が行なえる事を目的とする物である。  The present invention has been made to eliminate these drawbacks. A simulation signal can be freely generated from the external control device (7), no special simulation device (13) is required, and the sequencer (8) alone can perform the simulation operation. It is a thing that aims to be able to do.

図2の様に、従来は入力機器(9)の状態が、入力リレー部(1)に直ぐに反映し、出力リレー部(4)の状態が出力機器(10)に反映されていた。  As shown in FIG. 2, conventionally, the state of the input device (9) is immediately reflected in the input relay unit (1), and the state of the output relay unit (4) is reflected in the output device (10).

これを図1の様に、入力バッファ部(2)、出力バッファ部(5)、模擬動作切替え器(6)、模擬入力部(3)を設ける。
外部制御装置(7)から通信で模擬動作切替え器(6)を入出力機器での動作と、模擬動作のどちらの動作をさせるか選択する。
As shown in FIG. 1, an input buffer unit (2), an output buffer unit (5), a simulated operation switcher (6), and a simulated input unit (3) are provided.
It is selected from the external control device (7) whether the simulated operation switching device (6) is operated by the input / output device or simulated operation by communication.

模擬動作を選択した場合は、模擬入力部(3)が入力リレー部(1)と接続され、模擬入力部(3)の状態が入力リレー部(1)に反映される。
外部制御装置(7)から通信で模擬入力部(3)に模擬信号を与える。
出力リレー部(4)は出力バッファ部(5)と切り離される。
When the simulated operation is selected, the simulated input unit (3) is connected to the input relay unit (1), and the state of the simulated input unit (3) is reflected in the input relay unit (1).
A simulation signal is given to the simulation input unit (3) by communication from the external control device (7).
The output relay unit (4) is disconnected from the output buffer unit (5).

入出力機器での動作を選択した場合は、入力バッファ部(2)が入力リレー部(1)と接続され、入力機器(9)の状態が入力リレー部(1)に反映される。
出力リレー部(4)と出力バッファ部(5)が接続され、出力リレー部(4)の状態が出力機器(10)に反映される。
When the operation in the input / output device is selected, the input buffer unit (2) is connected to the input relay unit (1), and the state of the input device (9) is reflected in the input relay unit (1).
The output relay unit (4) and the output buffer unit (5) are connected, and the state of the output relay unit (4) is reflected in the output device (10).

本発明は以上の構造で、模擬動作させる場合は、外部制御装置(7)から通信で模擬動作切替え器(6)を模擬動作に切換える。
外部制御装置(7)から通信で模擬入力部(3)の状態を変化させると入力機器(9)の代わりに信号を与える事が出来る。外部制御装置(7)から通信で出力リレー部(4)の状態を読込みプログラム(11)が正しく動作しているか確認する事で模擬動作を行なう。
The present invention has the above structure, and when the simulated operation is performed, the simulated operation switcher (6) is switched to the simulated operation by communication from the external control device (7).
When the state of the simulation input unit (3) is changed by communication from the external control device (7), a signal can be given instead of the input device (9). A simulation operation is performed by reading the state of the output relay unit (4) through communication from the external control device (7) and confirming that the program (11) is operating correctly.

入力リレー部(1)、出力リレー部(4)は入力機器(9)、出力機器(10)と完全に切り離されるので、入力機器(9)、出力機器(10)から影響を受けたり、逆に与えたりする事がなくなる。
この事はシーケンサ(8)に入力機器(9)、出力機器(10)が接続されていても、いなくても模擬動作を行なえる事を意味する。
すなわち、シーケンサ(8)単体でも、機械が完成し出荷した後でも外部制御装置(7)と接続する事で模擬動作が可能である。機械出荷後の模擬動作はプログラム(11)の自己診断として使用する事が出来る。
Since the input relay unit (1) and the output relay unit (4) are completely disconnected from the input device (9) and the output device (10), they are affected by the input device (9) and the output device (10), and vice versa. Or give to.
This means that the simulated operation can be performed with or without the input device (9) and the output device (10) connected to the sequencer (8).
That is, the sequencer (8) alone can be simulated by connecting to the external control device (7) even after the machine is completed and shipped. The simulated operation after machine shipment can be used as a self-diagnosis of the program (11).

外部制御装置(7)から模擬信号を作り出すのでタイミングや状態を自由に作り出せる。シーケンサ内に模擬信号を発生するプログラムを入れる訳ではないので、そこから発生する二次的な不具合の発生が防げる。
機械には動作時間があるが、模擬信号では動作時間を省いて確認する事が出来るので、確認作業時間の短縮になる。
Since the simulation signal is generated from the external control device (7), the timing and state can be freely generated. Since a program for generating a simulation signal is not included in the sequencer, it is possible to prevent the occurrence of secondary problems that occur from the program.
Although the machine has an operation time, it can be confirmed by omitting the operation time with the simulation signal, so that the confirmation work time is shortened.

外部制御装置(7)とシーケンサ(8)を繋ぐ通信ケーブル(12)の接続のみで、従来の模擬装置(13)を用いた場合の配線(14)が不要になる。  Only the connection of the communication cable (12) connecting the external control device (7) and the sequencer (8) eliminates the need for wiring (14) when using the conventional simulation device (13).

シーケンサ(8)本来の目的である、入出力機器での動作にする場合は、模擬動作切替え器(6)で、入出力機器での動作を選択するだけで良い。  When the operation of the input / output device, which is the original purpose of the sequencer (8), is performed, it is only necessary to select the operation of the input / output device by the simulated operation switch (6).

以下本発明の実施形態について図1で説明する。
(イ) 入力機器(9)の状態を取り込む入力バッファ部(2)を設ける。
(ロ) 外部制御装置(7)から模擬信号を与えるための模擬入力部(3)を設ける。
(ハ) プログラム(11)で用いる入力リレー部(1)を設ける。
(ニ) プログラム(11)で用いる出力リレー部(4)を設ける。
(イ) 出力リレー部(4)の状態を出力機器(10)に伝えるための出力バッファ部(5)を設ける。
(ホ) 入出力機器での動作と、模擬動作を切換える模擬動作切替え器(6)を設ける。
模擬動作を選択した場合は模擬入力部(3)が入力リレー部(1)と接続され、出力リレー部(4)は出力バッファ部(5)と切り離される。
入出力機器での動作を選択した場合は、入力バッファ部(2)が入力リレー部(1)と接続され、出力リレー部(4)と出力バッファ部(5)と接続される。
入力リレー部(1)、模擬入力部(3)、出力リレー部(4)、模擬動作切替え器(6)は外部制御装置(7)から通信で状態の設定、読込みが出来る。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
(A) An input buffer unit (2) for capturing the state of the input device (9) is provided.
(B) A simulation input unit (3) for providing a simulation signal from the external control device (7) is provided.
(C) An input relay unit (1) used in the program (11) is provided.
(D) An output relay unit (4) used in the program (11) is provided.
(A) An output buffer unit (5) is provided for transmitting the state of the output relay unit (4) to the output device (10).
(E) A simulated operation switching device (6) for switching between the operation at the input / output device and the simulated operation is provided.
When the simulated operation is selected, the simulated input unit (3) is connected to the input relay unit (1), and the output relay unit (4) is disconnected from the output buffer unit (5).
When the operation in the input / output device is selected, the input buffer unit (2) is connected to the input relay unit (1), and the output relay unit (4) and the output buffer unit (5) are connected.
The input relay unit (1), the simulated input unit (3), the output relay unit (4), and the simulated operation switch (6) can be set and read by communication from the external control device (7).

従来のシーケンサには模擬動作を行なう仕組みがないが、補助リレーとプログラムを用いる事で模擬動作が出来る様に構成する事が出来る。
補助リレーはシーケンサ内部だけで使用するリレーで、一般的にどのシーケンサにも実装され、十分な数が用意されている。
従来のシーケンサには既に入力リレー部、出力リレー部が実装されている。しかし、入力機器(9)、出力機器(10)と切り離す事が出来ないので、図1の入力リレー部(1)と出力リレー部(4)と同じ役割をさせる事が出来ない。
そこでこれを工夫し、本来は入力リレー部、出力リレー部の役割をするが、入力バッファ部(2)、出力バッファ部(5)として扱う。
そして、入力バッファ部(2)、出力バッファ部(5)以外の部分(15)は補助リレーとプログラムで構成する。
以下は従来のシーケンサを用いて実施する形態について図4で説明する。
(イ) シーケンサに既に実装されている入力リレー部を、入力バッファ部(2)として扱う。
(ロ) シーケンサに既に実装されている出力リレー部を、出力バッファ部(5)として扱う。
(ハ) 補助リレーを用いて模擬動作切替え器(6)を設ける。
(ニ) 補助リレーを用いて入力リレー部(1)を設ける。
(ホ) 補助リレーを用いて出力リレー部(4)を設ける。
(ヘ) プログラム(11)は補助リレーを用いた入力リレー部(1)と出力リレー部(4)を用いて作る。
(ト) 補助リレーを用いて模擬入力部(3)を設ける。
(チ) プログラム(11)に、模擬動作切替え器(6)が模擬動作になっていたら模擬入力部(3)と入力リレー部(1)を接続する様にし、出力リレー部(4)は出力バッファ部(5)と切り離すプログラムを追加する。
(リ) プログラム(11)に、模擬動作切替え器(6)が入出力機器での動作になっていたら、入力バッファ部(2)と入力リレー部(1)を接続する様にし、出力リレー部(4)と出力バッファ部(5)を接続するプログラムを追加する。
(ヌ) 従来のシーケンサには外部制御機器(7)から通信で補助リレーの状態を設定、読込みさせる機能が既に実装されている。
これを用いて模擬動作切替え器(6)を模擬動作に切換え、模擬入力部(3)の補助リレーの状態を変え、模擬信号を与える。
出力リレー部(4)も補助リレーを用いているので、状態を読込み動作確認が行なえる。
補助リレーはメモリでも表現出来るので、補助リレーの代わりにメモリを用いても良い。
A conventional sequencer does not have a mechanism for performing a simulated operation, but can be configured to perform a simulated operation by using an auxiliary relay and a program.
Auxiliary relays are relays that are used only within the sequencer, and are generally implemented in any sequencer, and a sufficient number are provided.
A conventional sequencer already has an input relay unit and an output relay unit. However, since it cannot be separated from the input device (9) and the output device (10), the input relay unit (1) and the output relay unit (4) in FIG.
Therefore, this is devised and originally serves as an input relay unit and an output relay unit, but is handled as an input buffer unit (2) and an output buffer unit (5).
The portion (15) other than the input buffer unit (2) and the output buffer unit (5) is composed of an auxiliary relay and a program.
In the following, an embodiment implemented using a conventional sequencer will be described with reference to FIG.
(B) The input relay unit already mounted on the sequencer is handled as the input buffer unit (2).
(B) The output relay unit already mounted on the sequencer is handled as the output buffer unit (5).
(C) A simulated operation switching device (6) is provided using an auxiliary relay.
(D) An input relay section (1) is provided using an auxiliary relay.
(E) An output relay section (4) is provided using an auxiliary relay.
(F) The program (11) is created using the input relay unit (1) and the output relay unit (4) using an auxiliary relay.
(G) A simulated input unit (3) is provided using an auxiliary relay.
(H) If the simulated operation switcher (6) is in simulated operation in the program (11), the simulated input unit (3) and the input relay unit (1) are connected, and the output relay unit (4) outputs A program for separating from the buffer unit (5) is added.
(I) If the simulated operation switcher (6) is operated by an input / output device in the program (11), the input buffer unit (2) and the input relay unit (1) are connected, and the output relay unit A program for connecting (4) and the output buffer unit (5) is added.
(Nu) The conventional sequencer already has a function of setting and reading the state of the auxiliary relay by communication from the external control device (7).
Using this, the simulated operation switching unit (6) is switched to the simulated operation, the state of the auxiliary relay of the simulated input unit (3) is changed, and a simulated signal is given.
Since the output relay unit (4) also uses an auxiliary relay, the state can be read and the operation confirmed.
Since the auxiliary relay can be expressed by a memory, a memory may be used instead of the auxiliary relay.

本発明の実施形態のブロック図  Block diagram of an embodiment of the present invention 従来のシーケンサの構成図  Configuration diagram of conventional sequencer 従来の模擬装置を用いた動作確認のブロック図  Block diagram of operation confirmation using a conventional simulator 従来のシーケンサを用いた実施形態のブロック図  Block diagram of an embodiment using a conventional sequencer

符号の説明Explanation of symbols

1 入力リレー部 2 入力バッファ部 3 模擬入力部
4 出力リレー部 5 出力バッファ部 6 模擬動作切替え器
7 外部制御装置 8 シーケンサ 9 入力機器
10 出力機器 11 プログラム 12 通信ケーブル
13 模擬装置 14 配線
15 補助リレーとプログラムで構成する部分
DESCRIPTION OF SYMBOLS 1 Input relay part 2 Input buffer part 3 Simulated input part 4 Output relay part 5 Output buffer part 6 Simulated operation switching device 7 External control device 8 Sequencer 9 Input device 10 Output device 11 Program 12 Communication cable 13 Simulation device 14 Wiring 15 Auxiliary relay And program parts

Claims (1)

(イ) 入力リレー部(1)を有する。
(ロ) 出力リレー部(4)を有する。
(ハ) 入力リレー部(1)の前段に入力バッファ部(2)と模擬入力部(3)を有する。
(ニ) 出力リレー部(4)の後段に出力バッファ部(5)を有する。
(ホ) 模擬動作切替え器(6)を有する。
(ヘ) 入力リレー部(1)、模擬入力部(3)、出力リレー部(4)、模擬動作切替え器(6)は外部制御装置(7)から通信で状態の設定、読込みが出来る。
以上の如く構成されたシーケンサ(8)。
(B) It has an input relay section (1).
(B) It has an output relay section (4).
(C) The input buffer unit (2) and the simulated input unit (3) are provided upstream of the input relay unit (1).
(D) An output buffer unit (5) is provided following the output relay unit (4).
(E) It has a simulated operation switching device (6).
(F) The input relay unit (1), the simulated input unit (3), the output relay unit (4), and the simulated operation switch (6) can be set and read by communication from the external control device (7).
The sequencer (8) configured as described above.
JP2004198683A 2004-06-07 2004-06-07 Method for making sequencer have simulation operation function Pending JP2005346688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004198683A JP2005346688A (en) 2004-06-07 2004-06-07 Method for making sequencer have simulation operation function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004198683A JP2005346688A (en) 2004-06-07 2004-06-07 Method for making sequencer have simulation operation function

Publications (1)

Publication Number Publication Date
JP2005346688A true JP2005346688A (en) 2005-12-15

Family

ID=35498967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004198683A Pending JP2005346688A (en) 2004-06-07 2004-06-07 Method for making sequencer have simulation operation function

Country Status (1)

Country Link
JP (1) JP2005346688A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011107866A (en) * 2009-11-16 2011-06-02 Hakko Denki Kk Apparatus and method for sequence control of connected equipment simulator, and program therefor
JP2011118502A (en) * 2009-12-01 2011-06-16 Yokogawa Electric Corp Field control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011107866A (en) * 2009-11-16 2011-06-02 Hakko Denki Kk Apparatus and method for sequence control of connected equipment simulator, and program therefor
JP2011118502A (en) * 2009-12-01 2011-06-16 Yokogawa Electric Corp Field control system

Similar Documents

Publication Publication Date Title
JP6657600B2 (en) Robot system and emergency stop processing device
KR20150039508A (en) Watchdog apparatus and method thereof
JP2007236093A (en) Transmission tester and method for updating control system
JP2005346688A (en) Method for making sequencer have simulation operation function
JP2007022679A (en) Performance test system of earthquake control operation of elevator
JP2008242818A (en) Digital controller
JP4812546B2 (en) Transmitting apparatus, receiving apparatus, and communication system
JP2007039206A (en) Elevator control system
JP6856416B2 (en) Process control system
JP4937286B2 (en) DIGITAL CONTROL SYSTEM, DIGITAL CONTROL DEVICE, AND DIGITAL CONTROL SYSTEM TRANSMISSION TEST METHOD
JP6264662B2 (en) Integrated circuit
JP2003280701A (en) Control apparatus having triplicated configuration
JP2007067801A (en) Switching control system and control unit applied thereto
JP2006178801A (en) System changeover test system for duplex system
JP2007172486A (en) Controller
JP2007334809A (en) Module type electronic device
JP2010204992A (en) Plant controller
JP2008228497A (en) Trip lock method and trip lock manipulator
JP2005258573A (en) Electronic equipment having interfacing device for achieving debug operation efficiency
JP3346318B2 (en) Package switching circuit
JP2006094088A (en) Repeater provided with load testing function
JP2005134983A (en) Lsi evaluation board device
JP2011095994A (en) Interface device and simulation system
JP2006092033A (en) Integrated circuit
JPS6094599A (en) Function confirming device of remote monitoring control system