JP2005157667A - Safety controller and system using the same - Google Patents

Safety controller and system using the same Download PDF

Info

Publication number
JP2005157667A
JP2005157667A JP2003394387A JP2003394387A JP2005157667A JP 2005157667 A JP2005157667 A JP 2005157667A JP 2003394387 A JP2003394387 A JP 2003394387A JP 2003394387 A JP2003394387 A JP 2003394387A JP 2005157667 A JP2005157667 A JP 2005157667A
Authority
JP
Japan
Prior art keywords
safety
output
input
connection
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.)
Granted
Application number
JP2003394387A
Other languages
Japanese (ja)
Other versions
JP4345455B2 (en
Inventor
Yuichi Abe
祐一 阿部
Akiyuki Nakayama
晃行 中山
Yuji Hashimoto
雄士 橋本
Minoru Hashimoto
実 橋本
Takahiro Ide
孝浩 井手
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 JP2003394387A priority Critical patent/JP4345455B2/en
Publication of JP2005157667A publication Critical patent/JP2005157667A/en
Application granted granted Critical
Publication of JP4345455B2 publication Critical patent/JP4345455B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a safety controller with which the number of wirings is reduced and a system can easily be constructed and to provide the system using the controller. <P>SOLUTION: The safety controller is provided with first and second CPUs 17 and 18 as control parts controlling safe output to an object of safe output control such as a magnet contactor based on safe input from an input device such as a safety door switch and inner safe input for logic connection from the other safety controller, semiconductor output is given as safe output. The first and second CPUs 17 and 18 judge whether inner safe input is normal or not. At abnormal time, an operation of a mechanical installation is inhibited. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、セーフティコントローラおよびそれを用いたシステムに関し、更に詳しくは、工作機械や産業用ロボットなどの機械設備の安全回路に好適なセーフティコントローラおよびそれを用いたシステムに関する。   The present invention relates to a safety controller and a system using the safety controller, and more particularly to a safety controller suitable for a safety circuit of machine equipment such as a machine tool and an industrial robot, and a system using the safety controller.

従来、例えば、生産現場の労働安全を確保するために、複数の電磁リレーを内蔵したリレーユニットを用いて安全回路、すなわち、安全が確保されている状態の時のみ工作機械や産業用ロボットなどの機械設備の動力に電源を供給する安全回路が構築されている(例えば、特許文献1参照)。   Conventionally, for example, in order to ensure occupational safety at a production site, a safety circuit using a relay unit incorporating a plurality of electromagnetic relays, that is, a machine tool, an industrial robot, etc. only when safety is ensured A safety circuit that supplies power to the power of mechanical equipment has been constructed (see, for example, Patent Document 1).

かかるリレーユニットは、非常停止スイッチなどの安全スイッチやセーフティドアスイッチなどの安全エリアセンサからの入力信号に基づいて、安全回路の状態を監視し、不具合が発生した時には、機械設備の電源を確実に遮断するとともに、その不具合原因が取り除かれない限りは、機械設備の再起動を行なわない機能を備えている。
特開2003−140702号公報
Such a relay unit monitors the state of the safety circuit based on the input signals from safety switches such as emergency stop switches and safety area sensors such as safety door switches. As long as it is shut off and the cause of the failure is not removed, it has a function of not restarting the mechanical equipment.
JP 2003-140702 A

かかる電磁リレーを内蔵したリレーユニットを用いたシステムでは、リレーシーケンスによって安全回路が構築されるので、配線によってロジックが組み立てられることになり、制御すべき工作機械等が多くなると、配線数が増大して複雑になるとともに、その設計も容易ではない。   In a system using a relay unit incorporating such an electromagnetic relay, a safety circuit is constructed by a relay sequence. Therefore, logic is assembled by wiring, and as the number of machine tools to be controlled increases, the number of wiring increases. It becomes complicated and the design is not easy.

さらに、ユーザの要求に応じて、システムの一部を変更したいような場合、例えば、複数の工作機械を各作業エリアに配備して構成される生産ラインにおいて、或る作業エリアの工作機械は、隣の作業エリアの工作機械と関連付けて起動・停止を制御したいといったような場合にも、配線によってロジックを変更しなければならず、多くの時間と労力が必要になる。   Furthermore, when it is desired to change a part of the system in response to a user request, for example, in a production line configured by arranging a plurality of machine tools in each work area, a machine tool in a certain work area Even when it is desired to control start / stop in association with a machine tool in the adjacent work area, the logic must be changed by wiring, which requires a lot of time and labor.

本発明は、このような点に着目してなされたものであって、配線数を削減するとともに、システムの構築が容易なセーフティコントローラおよびそれを用いたシステムを提供することを目的とする。   The present invention has been made paying attention to such points, and an object of the present invention is to provide a safety controller that reduces the number of wires and that can easily construct a system, and a system using the safety controller.

本発明では、上記目的を達成するために、次のように構成している。   In order to achieve the above object, the present invention is configured as follows.

すなわち、本発明のセーフティコントローラは、入力機器からの入力に基づいて、安全出力制御対象に安全出力を与えて機械設備の運転を制御するセーフティコントローラであって、前記安全出力として半導体出力を与える安全出力部と、他のセーフティコントローラから接続用信号が与えられる接続入力部と、前記接続用信号が正常であるか否かを判定する判定部と、前記入力機器からの前記入力、前記接続用信号および前記判定部による判定に基づいて、プログラムに従って前記安全出力を制御する制御部とを備えている。   That is, the safety controller of the present invention is a safety controller that controls the operation of a mechanical facility by giving a safety output to a safety output control target based on an input from an input device, and provides a semiconductor output as the safety output. An output unit, a connection input unit to which a connection signal is given from another safety controller, a determination unit for determining whether or not the connection signal is normal, the input from the input device, and the connection signal And a control unit that controls the safety output in accordance with a program based on the determination by the determination unit.

ここで、入力機器とは、当該セーフティコントローラに対する入力を与える機器をいい、例えば、非常停止スイッチ、セーフティドアスイッチ、セーフティリミットスイッチ、セーフティライトカーテンなどをいう。   Here, the input device refers to a device that gives an input to the safety controller, such as an emergency stop switch, a safety door switch, a safety limit switch, and a safety light curtain.

安全出力制御対象とは、当該セーフティコントローラの出力である安全出力によって制御される対象をいい、例えば、マグネットコンタクタ、モータコントローラ、可変モータ、PLCなどをいう。   The safety output control target refers to a target controlled by a safety output that is an output of the safety controller, for example, a magnet contactor, a motor controller, a variable motor, a PLC, or the like.

機械設備とは、各種の工作機械、産業用ロボットなどをいう。   Mechanical equipment refers to various machine tools, industrial robots, and the like.

機械設備の運転を制御するとは、機械設備の起動・停止の制御や動作速度の制御などをいう。   Controlling the operation of the mechanical equipment means starting / stopping control of the mechanical equipment and control of the operation speed.

接続用信号とは、当該セーフティコントローラと他のセーフティコントローラとの接続に用いられる信号をいう。   The connection signal is a signal used for connection between the safety controller and another safety controller.

本発明によると、半導体出力である安全出力を安全出力制御対象に与える安全出力部と、安全出力を、プログラムに従って制御する制御部とを備えているので、電磁リレーを内蔵した従来のリレーユニットのように、リレーシーケンスによって安全回路を構築する必要がなく、配線数を削減することができるとともに、ユーザの要求に応じて、メーカ側において、システムの一部を変更したいような場合にも、ソフトウェアの変更によって容易に対応できることになる。   According to the present invention, since the safety output unit that provides the safety output that is a semiconductor output to the safety output control target and the control unit that controls the safety output according to the program are provided, the conventional relay unit including the electromagnetic relay is provided. Thus, it is not necessary to build a safety circuit with a relay sequence, the number of wires can be reduced, and software can be used even when the manufacturer wants to change a part of the system according to the user's request. It will be possible to easily cope with this change.

また、接続用信号を用いて当該セーフティコントローラと他のセーフティコントローラと容易に関連付けることができる一方、接続用信号が正常であるか否かを判定しているので、例えば、他のセーフティコントローラの出力回路の故障などによって接続信号に異常が生じたような場合には、接続用信号が正常でないと判定して機械設備の稼動を禁止するといったことが可能となる。   In addition, while it is possible to easily associate the safety controller with another safety controller using the connection signal, it is determined whether or not the connection signal is normal. For example, the output of another safety controller When an abnormality occurs in the connection signal due to a circuit failure or the like, it is possible to determine that the connection signal is not normal and prohibit the operation of the mechanical equipment.

本発明の一実施態様においては、他のセーフティコントローラに接続用信号として半導体出力を与える接続出力部を備え、前記制御部は、前記入力機器からの前記入力、前記接続入力部の接続用信号および前記判定部による判定に基づいて、プログラムに従って前記安全出力および前記接続出力部の接続用信号を制御するものである。   In one embodiment of the present invention, a connection output unit that provides a semiconductor output as a connection signal to another safety controller, the control unit, the input from the input device, the connection signal of the connection input unit and Based on the determination by the determination unit, the safety output and the connection signal of the connection output unit are controlled according to a program.

この実施態様によると、接続出力部から出力される接続用信号を用いて他のセーフティコントローラを、当該セーフティコントローラと容易に関連付けることができ、例えば、複数の工作機械を各作業エリアに配備して構成される生産ラインにおいて、或る作業エリアの工作機械は、隣の作業エリアの工作機械と関連付けて起動・停止を制御したいといったような場合にも、容易に対応できることになり、拡張性が向上する。   According to this embodiment, another safety controller can be easily associated with the safety controller using the connection signal output from the connection output unit. For example, a plurality of machine tools are arranged in each work area. In a configured production line, a machine tool in a certain work area can easily cope with a case where it is desired to control start / stop in association with a machine tool in an adjacent work area, thereby improving expandability. To do.

本発明の好ましい実施態様においては、前記接続用信号が、所定パターンのパルス信号である。   In a preferred embodiment of the present invention, the connection signal is a pulse signal having a predetermined pattern.

所定パターンのパルス信号とは、予め決められたパターンのパルス信号をいい、例えば、予め決められたハイレベルおよびローレベルの組み合わせの矩形波パルスや予め決められた周期やデューティ比の矩形波パルスなどをいう。   The pulse signal of a predetermined pattern refers to a pulse signal of a predetermined pattern, such as a rectangular wave pulse having a predetermined combination of high level and low level, a rectangular wave pulse having a predetermined cycle or duty ratio, etc. Say.

この実施態様によると、接続用信号は、所定のパターンのパルス信号であるので、判定部では、所定のパターンのパルス信号が入力されているか否かを判定することによって、入力されている接続用信号が正常であるか否かを判定できることになる。   According to this embodiment, since the connection signal is a pulse signal having a predetermined pattern, the determination unit determines whether the pulse signal having the predetermined pattern is input, thereby determining whether the connection signal is input. Whether or not the signal is normal can be determined.

本発明の他の実施態様においては、前記入力機器からの前記入力は、安全側または危険側に対応する入力であり、前記安全出力は、前記安全側または前記危険側に対応する安全出力であり、前記接続用信号は、前記安全側または前記危険側に対応する接続用信号であって、前記安全側に対応する接続用信号は、周期およびデューティ比が一定の矩形波パルスである。   In another embodiment of the present invention, the input from the input device is an input corresponding to a safety side or a danger side, and the safety output is a safety output corresponding to the safety side or the danger side. The connection signal is a connection signal corresponding to the safe side or the dangerous side, and the connection signal corresponding to the safe side is a rectangular wave pulse having a constant period and duty ratio.

ここで、安全側とは、機械設備の稼動が許容される側をいい、危険側とは、機械設備の稼動が禁止される側をいう。   Here, the safe side means the side where the operation of the mechanical equipment is allowed, and the dangerous side means the side where the operation of the mechanical equipment is prohibited.

この実施態様によると、機械設備の稼動が許容される安全側に対応する接続用信号は、周期およびデューティ比が一定の矩形波パルスであるので、判定部では、周期およびデューティ比が一定の矩形波パルスが入力されているか否かを判定することによって、入力されている接続用信号が正常であるか否かを判定できることになる。   According to this embodiment, since the connection signal corresponding to the safe side where the operation of the mechanical equipment is allowed is a rectangular wave pulse having a constant cycle and duty ratio, the determination unit has a rectangular shape having a constant cycle and duty ratio. By determining whether or not a wave pulse is input, it is possible to determine whether or not the input connection signal is normal.

本発明の更に他の実施態様においては、前記判定部は、前記接続用信号であるパルス信号のハイレベルおよびローレベルの幅を計測して正常であるか否かを判定するものである。   In still another embodiment of the present invention, the determination unit determines whether the pulse signal that is the connection signal is normal by measuring the widths of the high level and the low level.

この実施態様によると、接続用信号であるパルス信号のハイレベルおよびローレベルの幅を計測して、周期およびデューティ比が一定の矩形波パルスであるか否か、すなわち、接続用信号が正常であるか否かを判定することができる。   According to this embodiment, the width of the high level and the low level of the pulse signal that is the connection signal is measured to determine whether the period and the duty ratio are rectangular wave pulses, that is, the connection signal is normal. It can be determined whether or not there is.

本発明の一実施態様においては、前記接続用信号が、論理接続用の信号であり、前記制御部は、前記プログラムに従って、前記入力機器からの入力および前記接続入力部の接続用信号に基づいて、論理演算を行なって前記安全出力および前記接続出力部の接続用信号を制御するものである。   In one embodiment of the present invention, the connection signal is a signal for logical connection, and the control unit is based on an input from the input device and a connection signal of the connection input unit according to the program. The logic operation is performed to control the connection signal of the safety output and the connection output unit.

ここで、論理接続用とは、当該セーフティコントローラに接続される他のセーフティコントローラを、例えば、論理積や論理和といった論理によって関連付けて接続するためのものをいう。   Here, “for logical connection” refers to a connection for connecting other safety controllers connected to the safety controller in association with logic such as logical product or logical sum.

この実施態様によると、入力機器からの入力および接続入力部からの接続用信号の論理演算を行なって、その結果を安全出力や接続出力部の接続用信号とすることができるので、当該セーフティコントローラと他のセーフティコントローラとの安全出力や接続用信号を、論理積や論理和といった論理によって関連付けることが可能となる。   According to this embodiment, the logical operation of the input signal from the input device and the connection signal from the connection input unit can be performed, and the result can be used as a safety output or a connection signal for the connection output unit. It is possible to associate safety outputs and connection signals with other safety controllers by logic such as logical product or logical sum.

本発明の他の実施態様においては、前記制御部は、前記プログラムに従って、前記接続出力部の接続用信号の出力状態を、前記安全出力の出力状態と同一の前記安全側または前記危険側に制御するものである。   In another embodiment of the present invention, the control unit controls the output state of the connection signal of the connection output unit to the same safety side or the dangerous side as the output state of the safety output according to the program. To do.

この実施態様によると、接続用信号の出力状態が、安全出力の出力状態と同じであるので、当該セーフティコントローラの接続用信号が与えられる他のセーフティコントローラは、その安全出力を、当該セーフティコントローラの安全出力に論理演算によって関連付けることができる。   According to this embodiment, since the output state of the connection signal is the same as the output state of the safety output, the other safety controller to which the connection signal of the safety controller is given can output the safety output of the safety controller. It can be related to the safety output by a logical operation.

本発明のシステムは、本発明に係るセーフティコントローラの複数を、前記接続入力部および前記接続出力部を介して接続してなるものである。   The system of the present invention is formed by connecting a plurality of safety controllers according to the present invention via the connection input unit and the connection output unit.

本発明によると、電磁リレーを内蔵した従来のリレーユニットのように、リレーシーケンスによって安全回路を構築する必要がなく、配線数を削減することができるとともに、ユーザの要求に応じて、メーカ側において、システムの一部を変更したいような場合にも、ソフトウェアの変更によって容易に対応できることになる。   According to the present invention, unlike the conventional relay unit incorporating an electromagnetic relay, it is not necessary to construct a safety circuit by a relay sequence, and the number of wires can be reduced. Even when it is desired to change a part of the system, it can be easily handled by changing the software.

また、接続用信号を用いて当該セーフティコントローラを、他のセーフティコントローラと容易に関連付けることが可能となり、拡張性が向上する。しかも、接続用信号が正常であるか否かを判定しているので、例えば、他のセーフティコントローラの出力回路の故障などによって接続用信号に異常が生じたような場合には、当該セーフティコントローラに入力される接続用信号が正常でないと判定して機械設備の稼動を禁止するといったことが可能となる。   Further, the safety controller can be easily associated with other safety controllers using the connection signal, and the expandability is improved. In addition, since it is determined whether or not the connection signal is normal, for example, when an abnormality occurs in the connection signal due to a failure in the output circuit of another safety controller, the safety controller It is possible to determine that the input connection signal is not normal and prohibit the operation of the mechanical equipment.

以上のように本発明によれば、半導体出力である安全出力を安全出力制御対象に与える安全出力部と、他のセーフティコントローラからの接続用信号が与えられる接続入力部と、接続用信号が正常であるか否かを判定する判定部と、安全出力を、プログラムに従って制御する制御部とを備えているので、電磁リレーを内蔵した従来のリレーユニットのように、リレーシーケンスによって安全回路を構築する必要がなく、配線数を削減することができるとともに、ユーザの要求に応じて、メーカ側において、システムの一部を変更したいような場合にも、ソフトウェアの変更によって容易に対応できることになる。   As described above, according to the present invention, a safety output unit that provides a safety output that is a semiconductor output to a safety output control target, a connection input unit that is provided with a connection signal from another safety controller, and a connection signal is normal. Since it has a determination unit that determines whether or not and a control unit that controls the safety output according to a program, a safety circuit is constructed by a relay sequence like a conventional relay unit with a built-in electromagnetic relay This is unnecessary, and the number of wirings can be reduced. In addition, when the manufacturer wants to change a part of the system according to the user's request, it can be easily handled by changing the software.

しかも、接続用信号を用いて、当該セーフティコントローラを他のセーフティコントローラに容易に関連付けることができ、システムの拡張性が向上する。   In addition, the safety controller can be easily associated with another safety controller using the connection signal, and the expandability of the system is improved.

さらに、他のセーフティコントローラからの接続用信号に異常が生じた場合には、接続用信号が正常でないと判定して機械設備の稼動を禁止するといったことが可能となり、安全を確保することができる。   Furthermore, when an abnormality occurs in the connection signal from another safety controller, it is possible to determine that the connection signal is not normal and prohibit the operation of the mechanical equipment, thereby ensuring safety. .

以下、図面によって本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一つの実施の形態に係るセーフティコントローラを用いたシステムの構成例を示す図である。   FIG. 1 is a diagram illustrating a configuration example of a system using a safety controller according to an embodiment of the present invention.

この実施の形態のセーフティコントローラは、安全が確保されている状態の時のみ図示しない工作機械や産業用ロボットなどの機械設備の動力に電源を供給する安全回路を構成するものである。   The safety controller of this embodiment constitutes a safety circuit that supplies power to the power of machine equipment such as machine tools and industrial robots (not shown) only when safety is ensured.

この実施の形態のセーフティコントローラには、非常停止スイッチ2などの入力機器が接続される単機能ユニット3と、この単機能ユニット3に接続されるとともに、セーフティドアスイッチ1などの入力機器が接続される高機能ユニット4と、この高機能ユニット4にケーブル6を介して接続される増設ユニット5の3種類がある。   The safety controller of this embodiment is connected to a single function unit 3 to which an input device such as the emergency stop switch 2 is connected, and to an input device such as the safety door switch 1 as well as to the single function unit 3. There are three types: a high-function unit 4 and an extension unit 5 connected to the high-function unit 4 via a cable 6.

単機能ユニット3は、非常停止スイッチ2などの入力機器から入力が与えられるとともに、工作機械等を駆動するモータ等への電力の供給・遮断を行なう安全出力制御対象としてのマグネットコンタクタなどに対する安全出力および高機能ユニット4に対する論理接続用信号としての内部安全出力を出力するものである。   The single-function unit 3 receives input from an input device such as the emergency stop switch 2 and outputs safety to a magnetic contactor as a safety output control target for supplying / cutting off electric power to a motor that drives a machine tool or the like And an internal safety output as a signal for logical connection to the high-function unit 4.

ここで、論理接続用信号とは、この論理接続用信号を出力する単機能ユニット3と、論理接続用信号が与えられる高機能ユニット4とを論理接続するための接続用信号をいう。   Here, the logic connection signal is a connection signal for logically connecting the single function unit 3 that outputs the logic connection signal and the high function unit 4 to which the logic connection signal is applied.

この実施の形態では、単機能ユニット3から安全出力制御対象に対して出力される安全出力と、論理接続用信号とは、その出力の状態が同じ、すなわち、安全出力が、機械設備の稼動を許容する安全側の出力状態であるときには、論理接続用信号も安全側の出力状態であり、また、安全出力が、機械設備の稼動を禁止する危険側の出力状態であるときには、論理接続用信号も危険側の出力状態となる。   In this embodiment, the safety output output from the single-function unit 3 to the safety output control target and the logic connection signal have the same output state, that is, the safety output controls the operation of the mechanical equipment. When the safety-side output state is permitted, the logical connection signal is also the safe-side output state. When the safety output is a dangerous-side output state that prohibits the operation of the mechanical equipment, the logical connection signal is output. Becomes the dangerous output state.

そこで、マグネットコンタクタなどの安全出力制御対象に対する本来の安全出力に対して、出力状態が同じである論理接続用信号を、内部安全出力という。   Therefore, a logical connection signal having the same output state as an original safety output for a safety output control target such as a magnetic contactor is called an internal safety output.

高機能ユニット4は、非常停止スイッチやセーフティドアスイッチ1などの入力機器からの入力および単機能ユニット3や前段の高機能ユニット4から出力される論理接続用信号である内部安全出力が内部安全入力として与えられるとともに、工作機械等を駆動するモータ等への電力の供給・遮断を行なう安全出力制御対象としてのマグネットコンタクタなどに対する安全出力および後段の高機能ユニット4に対する論理接続用信号としての内部安全出力を出力するものである。   The high-function unit 4 has an internal safety input that is an input from an input device such as an emergency stop switch or safety door switch 1 and an internal safety output that is a logical connection signal output from the single-function unit 3 or the preceding high-function unit 4. Safety output for a magnetic contactor as a safety output control target for supplying / cutting off electric power to a motor etc. that drives a machine tool etc. and internal safety as a logic connection signal for a high-functional unit 4 in the subsequent stage Output is output.

高機能ユニット4から出力される論理接続用信号である内部安全出力も上述と同様に、前段の高機能ユニット4と後段の高機能ユニット4とを論理接続するための接続用信号である。   The internal safety output, which is a logical connection signal output from the high function unit 4, is also a connection signal for logically connecting the preceding high function unit 4 and the subsequent high function unit 4 in the same manner as described above.

また、高機能ユニット4から安全出力制御対象に対して出力される安全出力と、論理接続用信号である内部安全出力とは、その出力の状態は同じである。高機能ユニット4は、安全瞬時出力と安全オフディレー出力とを出力可能であるが、内部安全出力は、安全瞬時出力の出力状態と同じ出力状態となっている。   Also, the safety output output from the high-function unit 4 to the safety output control target and the internal safety output that is the logic connection signal have the same output state. The high-function unit 4 can output a safety instantaneous output and a safety off-delay output, but the internal safety output is in the same output state as the safety instantaneous output.

ここで、安全瞬時出力とは、安全出力が安全側の状態において、安全入力が安全側から危険側に切り換わったときに、瞬時に危険側に切り換わる安全出力をいい、安全オフディレー出力とは、安全出力が安全側の状態において、安全入力が安全側から危険側に切り換わったときに、設定された時間に亘って安全側の状態を継続した後、遅れて危険側に切り換わる安全出力をいう。   Here, the instantaneous safety output is a safety output that instantly switches to the dangerous side when the safety input switches from the safe side to the dangerous side when the safety output is on the safe side. Is the safety that switches to the dangerous side with a delay after continuing the safe state for the set time when the safety input switches from the safe side to the dangerous side when the safety output is on the safe side The output.

なお、図1においては、単機能ユニット3から高機能ユニット4に与えられる内部安全出力および前段の高機能ユニット4から後段の高機能ユニット4に与えられる内部安全出力を破線矢符でそれぞれ示しているが、この実施の形態では、高機能ユニット4には、単機能ユニット3または前段の高機能ユニット4のいずれかからの内部安全出力が与えられる。   In FIG. 1, the internal safety output given from the single-function unit 3 to the high-function unit 4 and the internal safety output given from the preceding high-function unit 4 to the subsequent high-function unit 4 are indicated by broken arrows. However, in this embodiment, the high function unit 4 is given an internal safety output from either the single function unit 3 or the preceding high function unit 4.

増設ユニット5は、ケーブル6を介して高機能ユニット4に接続され、高機能ユニット4に同期した安全出力を、工作機械等を駆動するための電力の供給・遮断を行なう安全出力制御対象としてのマグネットコンタクタ等に対して出力するものである。   The extension unit 5 is connected to the high-function unit 4 via the cable 6, and the safety output synchronized with the high-function unit 4 is used as a safety output control target for supplying / cutting off power for driving a machine tool or the like. This is output to a magnet contactor or the like.

単機能ユニット3は、後述のように制御部を構成するCPUを搭載しており、二つの安全入力を入力できるとともに、半導体出力(トランジスタ出力)である二つの安全瞬時出力および一つの内部安全出力を出力することができる。この実施の形態では、論理接続用信号である内部安全出力は、AND接続用の内部安全出力となっている。二つの安全入力には、安全規格上の二重化のために、1個の非常停止スイッチなどからの入力が与えられる。   The single-function unit 3 is equipped with a CPU that constitutes a control unit as will be described later, and can input two safety inputs, as well as two safety instantaneous outputs that are semiconductor outputs (transistor outputs) and one internal safety output. Can be output. In this embodiment, the internal safety output that is a logic connection signal is an internal safety output for AND connection. The two safety inputs are given inputs from one emergency stop switch or the like for duplication according to safety standards.

また、単機能ユニット3は、安全瞬時出力に同期したモニタ出力および内部エラー時のエラー出力を出力することができる。さらに、単機能ユニット3は、フィードバック/リセット入力を入力することができる。   Further, the single function unit 3 can output a monitor output synchronized with the instantaneous safety output and an error output at the time of an internal error. Further, the single function unit 3 can input a feedback / reset input.

この単機能ユニット3は、図2の正面図に示されるように、上下に複数の入出力用の端子7を備えるとともに、電源(PWR)、エラー状態(ERR)、安全入力1,2(T1,T2)および安全瞬時出力(EI)の各状態をLEDでそれぞれ表示する表示部8を備えている。   As shown in the front view of FIG. 2, the single-function unit 3 includes a plurality of input / output terminals 7 on the top and bottom, as well as a power source (PWR), an error state (ERR), and safety inputs 1 and 2 (T1 , T2) and a safety instantaneous output (EI) state are respectively provided with a display unit 8 for displaying with LEDs.

高機能ユニット4は、単機能ユニット3と同様に、制御部としてのCPUを搭載しており、二つの安全入力および一つの内部安全入力を入力できるとともに、半導体出力(トランジスタ出力)である二つの安全瞬時出力、二つの安全オフディレー出力および論理接続用信号である一つの内部安全出力、この実施の形態では、AND接続用の内部安全出力を出力することができる。   Like the single function unit 3, the high function unit 4 is equipped with a CPU as a control unit, and can input two safety inputs and one internal safety input, and two semiconductor outputs (transistor outputs). An instantaneous safety output, two safety off-delay outputs, and one internal safety output which is a signal for logical connection, and in this embodiment, an internal safety output for AND connection can be output.

二つの安全入力には、単機能ユニット3と同様に、二重化のために、1個の非常停止スイッチや1個のセーフティドアスイッチなどからの入力が与えられる。   As with the single function unit 3, the two safety inputs are given inputs from one emergency stop switch, one safety door switch, or the like for duplication.

一つの内部安全入力は、単機能ユニット3あるいは前段の高機能ユニット4からの論理接続用信号である内部安全出力が入力されるものであり、この内部安全入力によって、単機能ユニット3あるいは前段の高機能ユニット4に論理接続、この実施の形態では、AND接続されることになる。   One internal safety input is an input of an internal safety output which is a signal for logical connection from the single-function unit 3 or the preceding high-function unit 4, and the single-function unit 3 or the previous-stage input is input by this internal safety input. A logical connection is made to the high-function unit 4, and in this embodiment, an AND connection is made.

すなわち、この実施の形態では、この内部安全入力と、当該高機能ユニット4の二つの安全入力とがANDで論理接続されるものであり、内部安全入力の入力状態が安全側の状態であって、かつ、二つの安全入力の入力状態が安全側の入力状態であるときに、安全側の出力状態の安全出力を出力するものである。   That is, in this embodiment, this internal safety input and the two safety inputs of the high-function unit 4 are logically connected by AND, and the input state of the internal safety input is a safe side state. And when the input state of two safety inputs is the safe input state, the safe output of the safe output state is output.

また、この実施の形態では、後述のように、単機能ユニット3と高機能ユニット4、あるいは、高機能ユニット4同士を論理接続するための接続用信号である内部安全入力(内部安全出力)が正常であるか否かを判定し、正常でないときには、機械設備の稼動を禁止して安全を確保するようにしている。   In this embodiment, as will be described later, an internal safety input (internal safety output) which is a connection signal for logically connecting the single function unit 3 and the high function unit 4 or the high function units 4 to each other is provided. It is determined whether or not it is normal, and when it is not normal, the operation of the machine equipment is prohibited to ensure safety.

この高機能ユニット4は、安全瞬時出力に同期したモニタ出力および内部エラー時のエラー出力を出力することができる。さらに、高機能ユニット4は、フィードバック/リセット入力を入力することができる。   This high-function unit 4 can output a monitor output synchronized with a safety instantaneous output and an error output at the time of an internal error. Further, the high-function unit 4 can input a feedback / reset input.

この高機能ユニット4は、図3の正面図に示されるように、上下に複数の入出力用の端子9を備えるとともに、電源(PWR)、エラー状態(ERR)、安全入力1,2(T1,T2)、内部安全入力(AND)、フィードバック入力(FB)、安全瞬時出力(EI)および安全オフディレー出力(ED)の各状態をLEDで表示する表示部10を備えている。また、この高機能ユニット4は、増設ユニットを5接続するためのコネクタ11を備えており、増設ユニット5を5台まで接続することができる。   As shown in the front view of FIG. 3, the high-function unit 4 includes a plurality of input / output terminals 9 at the top and bottom, as well as a power source (PWR), an error state (ERR), and safety inputs 1 and 2 (T1 , T2), an internal safety input (AND), a feedback input (FB), a safety instantaneous output (EI), and a safety off-delay output (ED). The high-function unit 4 includes a connector 11 for connecting five extension units, and up to five extension units 5 can be connected.

このコネクタ11を介して、安全瞬時出力、安全オフディレー出力、増設ユニット5のフィードバック入出力およびグランドの各信号の授受が行なわれる。   Via this connector 11, instantaneous safety output, safety off-delay output, feedback input / output of the extension unit 5 and ground signals are exchanged.

また、この高機能ユニット4は、図4の背面図に示されるように、DINレールに装着される部分に、開口が形成されており、この開口に臨むようにディップスイッチ12およびロータリスイッチ13を備えており、論理接続用信号である内部安全入力を、有効あるいは無効とする設定やオフディレー時間などの設定が行われる。   Further, as shown in the rear view of FIG. 4, the high-function unit 4 has an opening formed in a portion to be mounted on the DIN rail, and the dip switch 12 and the rotary switch 13 are arranged so as to face the opening. The internal safety input, which is a signal for logical connection, is set to be valid or invalid, and settings such as an off-delay time are performed.

論理接続用信号である内部安全入力の無効が設定されると、他のユニット3,4から与えられる内部安全入力は、無効とされ、論理接続は行なわれない。   When invalidity of the internal safety input, which is a signal for logical connection, is set, the internal safety input given from the other units 3 and 4 is invalidated and no logical connection is made.

増設ユニット5は、高機能ユニット4だけでは、出力点数が不足する場合に、必要に応じて増設されるものであり、複数の電磁リレーを内蔵している。この増設ユニット5は、高機能ユニット4からの安全瞬時出力に同期してリレー出力である三つの安全出力を出力する瞬時タイプと、高機能ユニット4からの安全オフディレー出力に同期してリレー出力である三つの安全出力を出力するオフディレータイプとがある。   The expansion unit 5 is expanded as necessary when the number of output points is insufficient with the high-function unit 4 alone, and incorporates a plurality of electromagnetic relays. This extension unit 5 has an instantaneous type that outputs three safety outputs, which are relay outputs in synchronization with the safety instantaneous output from the high-function unit 4, and a relay output in synchronization with the safety off-delay output from the high-function unit 4. There is an off-delay type that outputs three safety outputs.

この増設ユニット5は、図5の正面図に示されるように、上下に複数の入出力用の端子14を備えるとともに、電源(PWR)、エラー状態(ERR)、安全瞬時出力(EI)または安全オフディレー出力(ED)の各状態をLEDでそれぞれ表示する表示部15を備えている。また、この増設ユニット5は、高機能ユニット4に接続するため、または、増設ユニット5を接続するためのコネクタ16を備えている。   As shown in the front view of FIG. 5, the extension unit 5 includes a plurality of input / output terminals 14 on the upper and lower sides, as well as a power source (PWR), an error state (ERR), a safety instantaneous output (EI), or a safety A display unit 15 for displaying each state of the off-delay output (ED) with LEDs is provided. The extension unit 5 includes a connector 16 for connecting to the high function unit 4 or for connecting the extension unit 5.

図6は、高機能ユニット4のブロック図である。同図において、17,18は、制御部および後述のように判定部を構成する二つの第1,第2のCPUであり、各CPU17,18で同じ処理を実行して二重化している。各CPU17,18は、CPU間通信ポートを介してソフト処理の同期をとるなどのために通信を行う。   FIG. 6 is a block diagram of the high-function unit 4. In the figure, reference numerals 17 and 18 denote two first and second CPUs that constitute a control unit and a determination unit as will be described later, and the CPUs 17 and 18 execute the same processing and are duplicated. The CPUs 17 and 18 communicate with each other for synchronizing software processing via an inter-CPU communication port.

20は上述のディップスイッチなどの設定スイッチ19からの設定内容を格納する不揮発性メモリ、21は上述の電源(PWR)やエラー状態(ERR)などの各状態を表示するLED、22は遅延ICを用いたウォッチドッグタイマ、23は各部に電源を供給する電源回路24の状態を監視する監視回路である。   20 is a non-volatile memory for storing the setting contents from the setting switch 19 such as the above-described dip switch, 21 is an LED for displaying each state such as the power supply (PWR) and error state (ERR), and 22 is a delay IC. The watchdog timer 23 used is a monitoring circuit that monitors the state of the power supply circuit 24 that supplies power to each section.

また、25,26は二重化している安全入力の各1系統であり、例えば、1個のセーフティドアスイッチからの入力が与えられる。27は、フィードバック入力あるいはリセット入力が与えられるリセット入力回路である。   Reference numerals 25 and 26 each represent one system of duplicated safety inputs. For example, inputs from one safety door switch are given. Reference numeral 27 denotes a reset input circuit to which a feedback input or a reset input is given.

28は単機能ユニット3または前段の高機能ユニット4からの論理接続用信号である内部安全入力が与えられるAND入力回路、29,30は外部のパソコンなどとの通信用のRS232C回路および切替スイッチである。   28 is an AND input circuit to which an internal safety input which is a signal for logical connection from the single function unit 3 or the preceding high function unit 4 is given, and 29 and 30 are RS232C circuits and a changeover switch for communication with an external personal computer or the like. is there.

31は瞬時用の安全出力回路、32はオフディレー用の安全出力回路、33は二重化用の出力ライン制御回路、34は後段の高機能ユニット4に対して論理接続用信号である内部安全出力を出力する内部安全出力回路、35は安全瞬時出力を、プログラマブルコントローラ(PLC)などにモニタ用として出力するモニタ出力回路、36は内部エラー時にエラー出力を与えるエラー出力回路、37は増設ユニット5を接続するためのコネクタである。   31 is a safety output circuit for moment, 32 is a safety output circuit for off-delay, 33 is an output line control circuit for duplication, and 34 is an internal safety output that is a signal for logical connection to the high-functional unit 4 at the subsequent stage. Internal safety output circuit for output, 35 is a monitor output circuit for outputting a safety instantaneous output for monitoring to a programmable controller (PLC), etc. 36 is an error output circuit for giving an error output in the event of an internal error, 37 is for connecting the extension unit 5 It is a connector to do.

制御部としての第1,第2のCPU17,18は、安全入力回路25,26からの安全入力および接続入力部としてのAND入力回路28からの内部安全入力に基づいて、プログラムに従って、安全出力回路31,32および内部安全出力回路34を制御して半導体出力(トランジスタ出力)である安全出力および内部安全出力を制御する。内部安全出力回路34は、半導体出力用のトランジスタを備えている。   The first and second CPUs 17 and 18 as the control unit are configured to output a safety output circuit according to a program based on the safety input from the safety input circuits 25 and 26 and the internal safety input from the AND input circuit 28 as the connection input unit. 31 and 32 and the internal safety output circuit 34 are controlled to control the safety output and the internal safety output which are semiconductor outputs (transistor outputs). The internal safety output circuit 34 includes a transistor for semiconductor output.

図7は、図6の瞬時用の安全出力回路31、オフディレー用の安全出力回路32および出力ライン制御回路33の構成を示すブロック図であり、図6に対応する部分には、同一の参照符号を付す。この図7においては、第1のCPU17からの信号および第1のCPU17に対する信号を破線の矢符で示し、第2のCPU18からの信号および第2のCPU18に対する信号を一点鎖線の矢符でそれぞれ示している。   FIG. 7 is a block diagram showing the configuration of the instantaneous safety output circuit 31, the off-delay safety output circuit 32, and the output line control circuit 33 of FIG. 6, and parts corresponding to those in FIG. A sign is attached. In FIG. 7, the signal from the first CPU 17 and the signal to the first CPU 17 are indicated by dashed arrows, and the signal from the second CPU 18 and the signal to the second CPU 18 are indicated by dashed-dotted arrows, respectively. Show.

瞬時用の安全出力回路31は、二つの瞬時出力制御部38,39を備えており、オフディレー用の安全出力回路32は、二つのオフディレー出力制御部40,41を備えている。各出力制御部38〜41は、半導体出力用のトランジスタを備えている。   The instantaneous safety output circuit 31 includes two instantaneous output control units 38 and 39, and the off-delay safety output circuit 32 includes two off-delay output control units 40 and 41. Each of the output control units 38 to 41 includes a semiconductor output transistor.

安全出力二重化用の出力ライン制御回路33には、第1,第2のCPU17,18からの駆動用信号S1,S2、ウォッチドッグタイマ22からのWDT信号および電源回路24を監視する監視回路23からのPSM信号がそれぞれ与えられる。   The output line control circuit 33 for duplexing the safety output includes a driving signal S1, S2 from the first and second CPUs 17, 18, a WDT signal from the watchdog timer 22, and a monitoring circuit 23 for monitoring the power supply circuit 24. PSM signals are respectively provided.

駆動用信号S1,S2が共にオンすることによって、電源ラインVLに電圧が印加されて各出力制御部38〜41に電源が供給される。   When the driving signals S1 and S2 are both turned on, a voltage is applied to the power supply line VL and power is supplied to the output control units 38 to 41.

ウォッチドッグタイマ22からのWDT信号は、各出力制御部38〜41にも与えられており、このWDT信号は、ウォッチドッグタイマ22にリセットがかからないときには、オフして全ての出力制御部38〜41の安全出力が、機械設備の稼動を禁止する危険側であるオフとなって安全を確保することができる。   The WDT signal from the watchdog timer 22 is also given to the output control units 38 to 41. When the watchdog timer 22 is not reset, this WDT signal is turned off and all the output control units 38 to 41 are turned on. Therefore, the safety output can be turned off, which is a danger side prohibiting the operation of the mechanical equipment, and safety can be ensured.

電源を監視する監視回路23からのPSM信号は、各出力制御部38〜41にも与えられており、電源異常が検知された場合には、このPSM信号がオフして全ての出力制御部38〜41の安全出力が、機械設備の稼動を禁止する危険側であるオフとなって安全を確保することができる。   The PSM signal from the monitoring circuit 23 for monitoring the power supply is also given to the output control units 38 to 41. When a power supply abnormality is detected, the PSM signal is turned off and all the output control units 38 are turned off. The safety output of .about.41 is turned off, which is a danger side prohibiting the operation of the mechanical equipment, and safety can be ensured.

出力ライン制御回路33は、第1,第2のCPU17,18に対してモニタ用信号S4,S5をそれぞれ出力しており、このモニタ用信号S4,S5は、出力ライン制御回路33に故障(異常)が発生したり、あるいは、上述のWDT信号またPSM信号がオフしたときに、オンする。   The output line control circuit 33 outputs monitoring signals S4 and S5 to the first and second CPUs 17 and 18, respectively. The monitoring signals S4 and S5 cause a failure (abnormality) in the output line control circuit 33. ) Or when the above-mentioned WDT signal or PSM signal is turned off.

瞬時用の安全出力回路31の各瞬時出力制御部38,39には、第1のCPU17から瞬時出力の駆動用信号S6,S7がそれぞれ与えられ、この駆動用信号S6,S7によって、安全瞬時出力のオン(安全側)/オフ(危険側)の論理がそれぞれ制御される。すなわち、この駆動用信号S6,S7がオンし、かつ、上述の電源ラインVLがオンしているときに、各瞬時出力端子42,43から安全側の状態であるオンの安全瞬時出力をそれぞれ出力する。   Instantaneous output drive signals S6 and S7 are respectively supplied from the first CPU 17 to the instantaneous output control units 38 and 39 of the instantaneous safety output circuit 31, and by these drive signals S6 and S7, a safe instantaneous output is provided. The logic of ON (safe side) / OFF (danger side) is controlled. That is, when the driving signals S6 and S7 are turned on and the above-described power supply line VL is turned on, the safety instantaneous outputs that are on the safe side are output from the instantaneous output terminals 42 and 43, respectively. To do.

また、各瞬時出力制御部38,39は、第1,第2のCPU17,18に対して、モニタ用信号S9,S10をそれぞれ出力しており、各瞬時出力制御部38,39が正常であれば、このモニタ用信号S9,S10は、駆動用信号S6,S7の反転論理の信号となる。   The instantaneous output control units 38 and 39 output monitor signals S9 and S10 to the first and second CPUs 17 and 18, respectively, and the instantaneous output control units 38 and 39 are normal. For example, the monitoring signals S9 and S10 are inverted logic signals of the driving signals S6 and S7.

オフディレー用の安全出力回路32の各オフディレー出力制御部40,41には、第2のCPU18からオフディレー出力の駆動用信号S12,S13がそれぞれ与えられ、この駆動用信号S12,S13によって、安全オフディレー出力のオン(安全側)/オフ(危険側)の論理が制御される。すなわち、この駆動用信号S12,S13がオンし、かつ、上述の電源ラインVLがオンしているときに、各オフディレー出力端子45,46から安全側の状態であるオンの安全オフディレー出力をそれぞれ出力する。   The off-delay output control units 40 and 41 of the off-delay safety output circuit 32 are supplied with off-delay output driving signals S12 and S13 from the second CPU 18, respectively. By the driving signals S12 and S13, The logic of the safety off-delay output on (safe side) / off (dangerous side) is controlled. That is, when the driving signals S12 and S13 are turned on and the above-described power supply line VL is turned on, an on-safety off-delay output which is a safe state is output from the off-delay output terminals 45 and 46. Output each.

また、各オフディレー出力制御部40,41は、第1,第2のCPU17,18に対して、モニタ用信号S14,S15をそれぞれ出力しており、各オフディレー出力制御部40,41が正常であれば、このモニタ用信号S14,S15は、駆動用信号S12,S13の反転論理の信号となる。   The off-delay output control units 40 and 41 output monitor signals S14 and S15 to the first and second CPUs 17 and 18, respectively. The off-delay output control units 40 and 41 are normal. If so, the monitoring signals S14 and S15 are inverted logic signals of the driving signals S12 and S13.

安全出力二重化用の出力ライン制御回路33は、瞬時出力制御部38,39またはオフディレー出力制御部40,41に故障(異常)が発生した場合には、電源ラインVLをオフして瞬時出力端子42,43およびオフディレー出力端子45,46の安全出力を、すべてオフにして安全を確保する。   The output line control circuit 33 for redundant safety output turns off the power supply line VL and outputs an instantaneous output terminal when a failure (abnormality) occurs in the instantaneous output control units 38, 39 or the off-delay output control units 40, 41. The safety outputs of 42 and 43 and off-delay output terminals 45 and 46 are all turned off to ensure safety.

逆に、この出力ライン制御回路33に、故障(異常)が発生した場合には、瞬時出力制御部38,39およびオフディレー出力制御部40,41によって瞬時出力端子42,43およびオフディレー出力端子45,46の安全出力を、すべてオフして安全を確保する。   On the contrary, when a failure (abnormality) occurs in the output line control circuit 33, the instantaneous output terminals 42 and 43 and the off-delay output terminal are output by the instantaneous output control units 38 and 39 and the off-delay output control units 40 and 41, respectively. All safety outputs 45 and 46 are turned off to ensure safety.

図8は、単機能ユニット3のブロック図であり、図6に対応する部分には、同一の参照符号を付す。   FIG. 8 is a block diagram of the single function unit 3, and parts corresponding to those in FIG.

単機能ユニット3は、上述のAND入力回路28、オフディレー用の安全出力回路32、設定スイッチ19および増設ユニット用のコネクタ37が備えられておらず、その他は、基本的に上述の高機能ユニット4と同様である。   The single function unit 3 is not provided with the above-described AND input circuit 28, the off-delay safety output circuit 32, the setting switch 19, and the connector 37 for the extension unit. The same as 4.

このように第1,第2のCPU17,18を有する制御部によって、プログラムに従って半導体出力である安全出力を制御するので、電磁リレーを内蔵した従来のリレーユニットのように、リレーシーケンスによって安全回路を構築する必要がなく、配線数を削減することができるとともに、メーカ側において、システムの一部を変更したいような場合にも、ソフトウェアの変更によって容易に対応できることになる。   In this way, the control unit having the first and second CPUs 17 and 18 controls the safety output, which is a semiconductor output, in accordance with a program, so that the safety circuit is configured by a relay sequence as in a conventional relay unit incorporating an electromagnetic relay. There is no need to construct the system, and the number of wirings can be reduced. In addition, when the manufacturer wants to change a part of the system, it can easily cope with the change of the software.

次に各ユニットの動作をいくつかの使用例に基づいて説明する。   Next, the operation of each unit will be described based on some usage examples.

図9は、高機能ユニット4単独の場合の接続状態を示す図であり、図10は、そのタイムチャートである。   FIG. 9 is a diagram showing a connection state when the high-function unit 4 is used alone, and FIG. 10 is a time chart thereof.

この例では、高機能ユニット4の端子T11,T12の安全入力1と、端子T21,T22の安全入力2には、例えば、1個のセーフティドアスイッチの二つの接点が接続され、フィードバックループ47には、マグネットコンタクタのb接点が直列に接続されるとともに、リセットボタン50が直列に接続される。   In this example, for example, two contacts of one safety door switch are connected to the safety input 1 of the terminals T11 and T12 of the high-function unit 4 and the safety input 2 of the terminals T21 and T22. The b contact of the magnet contactor is connected in series, and the reset button 50 is connected in series.

また、瞬時出力端子S13は、アンプ52に接続され、オフディレー出力端子S43,S53は、マグネットコンタクタ48,49に接続される。この例では、オフディレータイムとして一定時間Tが設定されている。   The instantaneous output terminal S13 is connected to the amplifier 52, and the off-delay output terminals S43 and S53 are connected to the magnet contactors 48 and 49. In this example, a fixed time T is set as the off-delay time.

セーフティドアスイッチが装備されているドアが閉じられて、図10(a),(b)に示されるように二つの安全入力1,2がオンし、さらに、図10(c)に示されるように、リセット入力がオフ、オン、オフされることによって、図10(d)に示されるように、端子S13の安全瞬時出力がオンするとともに、図10(e)に示されるように端子S43,S53の安全オフディレー出力がオンしてマグネットコンタクタ48,49の主接点がオンしてモータ51が駆動されて機械設備が稼動することになる。   As the door equipped with the safety door switch is closed, the two safety inputs 1 and 2 are turned on as shown in FIGS. 10 (a) and 10 (b), and as shown in FIG. 10 (c). When the reset input is turned off, on, and off, the safety instantaneous output of the terminal S13 is turned on as shown in FIG. 10D, and the terminals S43, S43, as shown in FIG. The safety off-delay output in S53 is turned on, the main contacts of the magnet contactors 48 and 49 are turned on, and the motor 51 is driven to operate the mechanical equipment.

この状態で、例えば、ドアが開かれると、二つの安全入力1,2がオフする。なお、安全入力1,2は、同時にオンオフするのであるが、図10(b)には、安全入力2が遅れてオフした場合の例を示している。   In this state, for example, when the door is opened, the two safety inputs 1 and 2 are turned off. The safety inputs 1 and 2 are turned on and off at the same time. FIG. 10B shows an example in which the safety input 2 is turned off with a delay.

安全入力1,2のいずれかがオフすることによって、図10(d)に示されるように、安全瞬時出力がオフしてアンプ52によってスローダウンされ、安全オフディレー出力が、一定時間T後にオフすることによって、マグネットコンタクタ48,49の主接点がオフしてモータ51への電源が遮断されて機械設備の稼動が停止されることになる。   When either safety input 1 or 2 is turned off, the safety instantaneous output is turned off and slowed down by the amplifier 52 as shown in FIG. 10D, and the safety off-delay output is turned off after a certain time T. By doing so, the main contacts of the magnet contactors 48 and 49 are turned off, the power supply to the motor 51 is cut off, and the operation of the mechanical equipment is stopped.

図11は、2台の高機能ユニット4−1,4−2とオフディレータイプの増設ユニット5との接続状態を示す図であり、図12は、そのタイムチャートである。なお、第2の高機能ユニット4−2の二つの安全入力を、便宜上、安全入力3,4と称する。   FIG. 11 is a diagram showing a connection state between the two high-function units 4-1 and 4-2 and the off-delay type extension unit 5, and FIG. 12 is a time chart thereof. The two safety inputs of the second high-functional unit 4-2 are referred to as safety inputs 3 and 4 for convenience.

この例では、第1の高機能ユニット4−1の端子T11,T12の安全入力1と、端子T21,T22の安全入力2には、例えば、1個のセーフティドアスイッチの二つの接点が接続され、フィードバックループ47には、マグネットコンタクタのb接点が直列に接続されるとともに、リセットボタン50が直列に接続される。   In this example, for example, two contacts of one safety door switch are connected to the safety input 1 of the terminals T11 and T12 of the first high-function unit 4-1 and the safety input 2 of the terminals T21 and T22. The feedback loop 47 is connected in series with the b-contact of the magnet contactor and with the reset button 50 in series.

また、瞬時出力端子S13,S23は、マグネットコンタクタ54,55に接続され、オフディレー出力端子S33,S43は、マグネットコンタクタ56,57に接続される。この第1の高機能ユニット4−1では、オフディレータイムとしてT=0が設定されている。内部安全出力端子LOは、第2の高機能ユニット4−2の内部安全入力端子LAに接続される。すなわち、第1の高機能ユニット4−1の論理接続用信号である内部安全出力が、後段の第2の高機能ユニット4−2のAND入力として与えられている。   The instantaneous output terminals S13 and S23 are connected to the magnet contactors 54 and 55, and the off-delay output terminals S33 and S43 are connected to the magnet contactors 56 and 57. In the first high function unit 4-1, T = 0 is set as the off delay time. The internal safety output terminal LO is connected to the internal safety input terminal LA of the second high function unit 4-2. That is, the internal safety output, which is a signal for logical connection of the first high-function unit 4-1, is given as an AND input of the second high-function unit 4-2 at the subsequent stage.

第2の高機能ユニット4−2の端子T11,T12の安全入力3と、端子T21,T22の安全入力4には、例えば、第1の高機能ユニット4−1のセーフティドアスイッチとは別の1個のセーフティドアスイッチの二つの接点が接続され、フィードバックループ69には、マグネットコンタクタのb接点が直列に接続されるとともに、リセットボタン70が直列に接続される。   The safety input 3 of the terminals T11 and T12 of the second high-function unit 4-2 and the safety input 4 of the terminals T21 and T22 are different from, for example, the safety door switch of the first high-function unit 4-1 Two contacts of one safety door switch are connected, and the feedback loop 69 is connected in series with the b-contact of the magnetic contactor and in series with the reset button 70.

また、瞬時出力端子S13,S23は、マグネットコンタクタ71,72に接続され、オフディレー出力端子S43,S53は、マグネットコンタクタ73,74に接続される。この第2の高機能ユニット4−2では、オフディレータイムとして一定時間Tが設定されている。   The instantaneous output terminals S13 and S23 are connected to the magnet contactors 71 and 72, and the off-delay output terminals S43 and S53 are connected to the magnet contactors 73 and 74. In the second high function unit 4-2, a predetermined time T is set as an off-delay time.

複数の電磁リレーを内蔵した増設ユニット5のオフディレー出力端子75,76は、マグネットコンタクタ77,78に接続される。   The off-delay output terminals 75 and 76 of the extension unit 5 incorporating a plurality of electromagnetic relays are connected to the magnet contactors 77 and 78.

第1の高機能ユニット4−1に接続されているセーフティドアスイッチのドアが閉じられて図12(a),(b)に示されるように、二つの安全入力1,2がオンし、さらに、図12(c)に示されるようにリセット入力がオフ、オン、オフされることによって、図12(d)に示されるように第1の高機能ユニット4−1の安全瞬時出力がオンし、これによって、第1の高機能ユニット4−1の各マグネットコンタクタ54〜57の主接点がオンしてモータ63,64が駆動されることになる。また、この第1の高機能ユニット4−1の安全瞬時出力と同じ図12(e)に示される内部安全出力が第2の高機能ユニット4−2のAND入力(内部安全入力)として与えられる。   As shown in FIGS. 12A and 12B, the safety door switch connected to the first high-function unit 4-1 is closed, and the two safety inputs 1 and 2 are turned on. When the reset input is turned off, on, and turned off as shown in FIG. 12C, the safety instantaneous output of the first high-function unit 4-1 is turned on as shown in FIG. As a result, the main contacts of the magnet contactors 54 to 57 of the first high-function unit 4-1 are turned on, and the motors 63 and 64 are driven. Also, the internal safety output shown in FIG. 12 (e) which is the same as the safety instantaneous output of the first high function unit 4-1 is given as the AND input (internal safety input) of the second high function unit 4-2. .

第2の高機能ユニット4−2は、図12(f)に示される論理接続用信号である内部安全入力がオンしている状態で、かつ、第2の高機能ユニット4−2の安全出力が安全側になったときに、安全出力をオンする。この図12では、内部安全入力がオンしたときには、第2の高機能ユニット4−2に接続されているセーフティドアスイッチのドアが閉じられて、図12(g),(h)に示されるように、二つの安全入力3,4がオンしているので、図12(i)に示されるように、リセット入力がオフ、オン、オフすることによって、AND条件が成立し、図12(j),(k)に示されるように、第2の高機能ユニット4−2の安全瞬時出力および安全オフディレー出力がオンするとともに、図12(l)に示されるように、増設ユニット5の安全オフディレー出力がオンし、これによって、第2の高機能ユニット4−2および増設ユニット5の各マグネットコンタクタ71〜74,77,78がオンしてモータ79〜81が駆動されることになる。   The second high-function unit 4-2 is in a state where the internal safety input, which is the logic connection signal shown in FIG. 12 (f), is ON, and the safety output of the second high-function unit 4-2. When is on the safe side, the safety output is turned on. In FIG. 12, when the internal safety input is turned on, the door of the safety door switch connected to the second high function unit 4-2 is closed, as shown in FIGS. 12 (g) and 12 (h). In addition, since the two safety inputs 3 and 4 are on, as shown in FIG. 12 (i), the AND condition is established when the reset input is turned off, on and off, and FIG. 12 (j) , (K), the safety instantaneous output and safety off-delay output of the second high-function unit 4-2 are turned on, and the extension unit 5 is safety-off as shown in FIG. The delay output is turned on, whereby the magnetic contactors 71 to 74, 77, and 78 of the second high-function unit 4-2 and the extension unit 5 are turned on to drive the motors 79 to 81.

この状態で、例えば、第1の高機能ユニット4−1に接続されているセーフティドアスイッチのドアが開かれると、図12(a),(b)に示されるように、第1の高機能ユニット4−1の二つの安全入力1,2がオフし、図12(d)に示されるように、第1の高機能ユニット4−1の安全瞬時出力がオフしてマグネットコンタクタ54〜57がオフしてモータ63,64への電源が遮断されるとともに、図12(e)に示されるように第2の高機能ユニット4−2に対する論理接続用信号である内部安全出力もオフする。   In this state, for example, when the door of the safety door switch connected to the first high function unit 4-1 is opened, as shown in FIGS. 12 (a) and 12 (b), the first high function The two safety inputs 1 and 2 of the unit 4-1 are turned off, and as shown in FIG. 12D, the safety instantaneous output of the first high-function unit 4-1 is turned off and the magnet contactors 54 to 57 are turned on. The power supply to the motors 63 and 64 is cut off and the internal safety output, which is a signal for logical connection to the second high function unit 4-2, is also turned off as shown in FIG.

第2の高機能ユニット4−2は、第1の高機能ユニット4−1からの内部安全入力が、図12(f)に示されるようにオフすることによって、図12(j)に示されるように、安全瞬時出力がオフしてマグネットコンタクタ71,72がオフしてモータ79の電源を遮断し、さらに、図12(k)に示されるように、一定時間Tの遅延の後、安全オフディレー出力がオフするとともに、図12(l)に示されるように、増設ユニット5の安全オフディレー出力がオフし、これによって、各コンタクタ73,74,77,78がオフしてモータ80,81への電源が遮断されることになる。   The second high function unit 4-2 is shown in FIG. 12 (j) by turning off the internal safety input from the first high function unit 4-1 as shown in FIG. 12 (f). Thus, the safety instantaneous output is turned off and the magnet contactors 71 and 72 are turned off to cut off the power supply of the motor 79. Further, as shown in FIG. While the delay output is turned off, as shown in FIG. 12 (l), the safety off-delay output of the extension unit 5 is turned off, whereby the contactors 73, 74, 77, 78 are turned off and the motors 80, 81 are turned off. The power supply to will be cut off.

このようにして、論理接続用信号である内部安全出力を用いた論理接続によって、第2の高機能ユニット4−2の安全出力を、第1の高機能ユニット4−1の安全出力に容易に関連付けることができる。   In this way, the safety output of the second high-function unit 4-2 can be easily changed to the safety output of the first high-function unit 4-1 by logical connection using the internal safety output that is a signal for logical connection. Can be associated.

図13は、単機能ユニット3と2台の高機能ユニット4−1,4−2との接続状態を示す図であり、図14は、そのタイムチャートである。なお、単機能ユニット3の二つの安全入力を、便宜上、安全入力5,6と称する。   FIG. 13 is a diagram showing a connection state between the single function unit 3 and the two high function units 4-1 and 4-2, and FIG. 14 is a time chart thereof. The two safety inputs of the single function unit 3 are referred to as safety inputs 5 and 6 for convenience.

この例では、単機能ユニット3の端子T11,T12の安全入力5と端子T21,T22の安全入力6には、1個の非常定停止スイッチ82が二つの接点がそれぞれ接続され、リセット入力には、リセットボタン83が接続される。この単機能ユニット3の内部安全出力端子LO1,LO2が、第1,第2の高機能ユニット4−1,4−2の内部安全入力端子LA,LAにそれぞれ接続されている。   In this example, one emergency constant stop switch 82 is connected to the safety input 5 of the terminals T11 and T12 of the single function unit 3 and the safety input 6 of the terminals T21 and T22, respectively. The reset button 83 is connected. The internal safety output terminals LO1, LO2 of the single function unit 3 are connected to the internal safety input terminals LA, LA of the first and second high function units 4-1, 4-2, respectively.

第1の高機能ユニット4−1の端子T11,T12の安全入力1と、端子T21,T22の安全入力2には、1個のセーフティドアスイッチが二つの接点がそれぞれ接続され、フィードバックループ47には、マグネットコンタクタのb接点が直列に接続される。   The safety input 1 of the terminals T11 and T12 of the first high-function unit 4-1 and the safety input 2 of the terminals T21 and T22 are connected to two contact points of a safety door switch, respectively. The b contact of the magnet contactor is connected in series.

また、瞬時出力端子S13は、アンプ52に接続され、オフディレー出力端子S43,S53は、マグネットコンタクタ48,49に接続される。この例では、オフディレータイムとして一定時間Tが設定されている。   The instantaneous output terminal S13 is connected to the amplifier 52, and the off-delay output terminals S43 and S53 are connected to the magnet contactors 48 and 49. In this example, a fixed time T is set as the off-delay time.

第2の高機能ユニット4−2の端子T11,T12の安全入力3と、端子T21,T22の安全入力4には、第1の高機能ユニット4−1とは、別の1個のセーフティドアスイッチの二つの接点がそれぞれ接続され、フィードバックループ84には、マグネットコンタクタのb接点が直列に接続されるとともに、リセットボタン85が直列に接続される。   The safety input 3 of the terminals T11 and T12 of the second high function unit 4-2 and the safety input 4 of the terminals T21 and T22 are one safety door different from the first high function unit 4-1. Two contact points of the switch are connected to each other, and a b contact point of the magnetic contactor is connected in series to the feedback loop 84, and a reset button 85 is connected in series.

また、瞬時出力端子S13は、アンプ86に接続され、オフディレー出力端子S43,S53は、マグネットコンタクタ87,88に接続される。この例では、オフディレータイムとして一定時間Tが設定されている。   The instantaneous output terminal S13 is connected to the amplifier 86, and the off-delay output terminals S43 and S53 are connected to the magnet contactors 87 and 88. In this example, a fixed time T is set as the off-delay time.

非常定停止スイッチ82が操作されていない状態では、図14(a),(b)に示されるように、単機能ユニット3の二つの安全入力5,6がオンしており、さらに、図14(c)に示されるようにリセット入力がオフ、オン、オフされることによって、図14(d)に示されるように単機能ユニット3の論理接続用信号である内部安全出力がオンし、この内部安全出力が、図14(e),(j)に示されるように、第1,第2の高機能ユニット4−1,4−2の内部安全入力にAND入力としてそれぞれ与えられる。   In the state where the emergency stop switch 82 is not operated, as shown in FIGS. 14A and 14B, the two safety inputs 5 and 6 of the single function unit 3 are turned on. When the reset input is turned off, on, and turned off as shown in (c), the internal safety output that is a signal for logical connection of the single function unit 3 is turned on as shown in FIG. As shown in FIGS. 14E and 14J, the internal safety output is provided as an AND input to the internal safety inputs of the first and second high-function units 4-1 and 4-2, respectively.

第1の高機能ユニット4−1は、論理接続用信号である内部安全入力がオンしている状態で、かつ、第1の高機能ユニット4−1が安全側になったときに、安全出力をオンする。この図14では、内部安全入力がオンしたときには、図14(f),(g)に示されるように、第1の高機能ユニット4−1に接続されているセーフティドアスイッチのドアが閉じられて二つの安全入力1,2がオンしているので、内部安全入力に応答して、図14(h),(i)に示されるように、安全瞬時出力および安全オフディレー出力がオンしてマグネットコンタクタ48,49の主接点がオンしてモータ51が駆動されることになる。   The first high function unit 4-1 outputs a safety output when the internal safety input, which is a logic connection signal, is turned on and when the first high function unit 4-1 is on the safe side. Turn on. In FIG. 14, when the internal safety input is turned on, the door of the safety door switch connected to the first high-function unit 4-1 is closed as shown in FIGS. 14 (f) and 14 (g). In response to the internal safety input, the safety instantaneous output and safety off-delay output are turned on in response to the internal safety input. The main contacts of the magnet contactors 48 and 49 are turned on and the motor 51 is driven.

同様に、第2の高機能ユニット4−2も単機能ユニット3からの内部安全入力に応答して、図14(m),(n)に示されるように、安全瞬時出力および安全オフディレー出力がオンしてマグネットコンタクタ87,88の主接点がオンしてモータ89が駆動されることになる。   Similarly, in response to the internal safety input from the single function unit 3, the second high function unit 4-2 also outputs a safety instantaneous output and a safety off-delay output as shown in FIGS. Is turned on, the main contacts of the magnet contactors 87 and 88 are turned on, and the motor 89 is driven.

この状態で、単機能ユニット3に接続されている非常停止スイッチ82が操作されると、図14(a),(b)に示される単機能ユニット3の二つの安全入力5,6がオフし、図14(d)に示される内部安全出力がオフする。なお、安全入力5,6は、同時にオンオフするのであるが、図14(b)には、安全入力6がオンしたままの場合を示している。   When the emergency stop switch 82 connected to the single function unit 3 is operated in this state, the two safety inputs 5 and 6 of the single function unit 3 shown in FIGS. 14A and 14B are turned off. The internal safety output shown in FIG. 14 (d) is turned off. The safety inputs 5 and 6 are turned on and off at the same time, but FIG. 14B shows a case where the safety input 6 remains on.

第1,第2の高機能ユニット4−1,4−2は、単機能ユニット3の論理接続用信号である内部安全出力、すなわち、図14(e),(j)の内部安全入力がオフすることによって、図14(h),(m)の安全瞬時出力がオフしてアンプ52,86によってスローダウンされ、さらに、図14(i),(n)に示されるように一定時間Tの遅延の後、安全オフディレー出力がオフし、これによって、各マグネットコンタクタ48,49,87,88の主接点がオフしてモータ51,89への電源が遮断されることになる。   In the first and second high-function units 4-1 and 4-2, the internal safety output which is a signal for logical connection of the single-function unit 3, that is, the internal safety inputs in FIGS. As a result, the safe instantaneous output in FIGS. 14 (h) and 14 (m) is turned off and slowed down by the amplifiers 52 and 86. Further, as shown in FIGS. After the delay, the safety off-delay output is turned off, whereby the main contacts of the magnet contactors 48, 49, 87, 88 are turned off, and the power to the motors 51, 89 is cut off.

このようにして、第1,2の高機能ユニット4−1,4−2の安全出力を、単機能ユニット3の論理接続用信号である内部安全出力に容易に関連付けることができる。   In this way, the safety outputs of the first and second high-function units 4-1 and 4-2 can be easily associated with the internal safety output that is a signal for logical connection of the single-function unit 3.

この実施の形態では、単機能ユニット3と高機能ユニット4、あるいは、高機能ユニット4同士の論理接続用信号である内部安全入力(内部安全出力)に異常が生じたような場合、例えば、単機能ユニット3や前段の高機能ユニット4の内部安全出力回路の故障や内部安全出力の短絡、あるいは、単機能ユニット3や前段の高機能ユニット4が製造メーカが異なる正規のユニットでなかったり、さらには、悪意を持って不正な信号が入力されたような場合に、機械設備の稼動を禁止して安全を確保できるように次のようにしている。   In this embodiment, when an abnormality occurs in the internal safety input (internal safety output) that is a signal for logical connection between the single function unit 3 and the high function unit 4 or between the high function units 4, for example, Failure of the internal safety output circuit of the functional unit 3 or the preceding high-function unit 4 or short-circuiting of the internal safety output, or the single-function unit 3 or the preceding high-function unit 4 is not a regular unit with a different manufacturer. In the case where an illegal signal is input with malicious intent, the operation of the mechanical equipment is prohibited to ensure safety as follows.

すなわち、図15は、論理接続用信号である内部安全出力の信号波形図であり、上述の図12等に比べて時間軸を拡大して示している。   That is, FIG. 15 is a signal waveform diagram of an internal safety output that is a signal for logical connection, and shows an enlarged time axis as compared with FIG.

この実施の形態では、単機能ユニット3あるいは高機能ユニット4から出力される論理接続用信号である内部安全出力、したがって、後段の高機能ユニット4に入力される論理接続用信号である内部安全入力は、機械設備の稼動が許容される安全側(オン側)では、図15(a)に示されるように、周期およびデューティ比が一定の矩形波パルスであり、機械設備の稼動が禁止される危険側(オフ側)では、図15(b)に示されるように、ローレベルの信号となっている。   In this embodiment, an internal safety output which is a logic connection signal output from the single function unit 3 or the high function unit 4, and therefore an internal safety input which is a logic connection signal input to the subsequent high function unit 4. On the safe side (on side) where the operation of the machine equipment is allowed, as shown in FIG. 15A, the cycle and duty ratio are rectangular wave pulses, and the operation of the machine equipment is prohibited. On the dangerous side (off side), as shown in FIG. 15B, the signal is at a low level.

この内部安全出力は、送信側である単機能ユニット3または高機能ユニット4において、例えば、次のようにして生成される。   This internal safety output is generated in the single function unit 3 or the high function unit 4 on the transmission side, for example, as follows.

すなわち、図16の矢印で示される割り込み発生タイミングで、割り込み処理を起動し、例えば、割り込み発生間隔Tだけローレベルの信号とし、この間隔Tの一定倍の期間nTだけハイレベルの信号とし、周期およびデューティ比が一定の矩形波パルスを生成するものである。   That is, the interrupt processing is started at the interrupt generation timing indicated by the arrow in FIG. 16, for example, a low level signal is generated for the interrupt generation interval T, and a high level signal is generated for a period nT that is a fixed multiple of the interval T, In addition, a rectangular wave pulse having a constant duty ratio is generated.

この内部安全出力が、内部安全入力として入力される受信側の高機能ユニット4では、判定部としての機能を有する上述の第1,第2のCPU17,18によって、周期およびデューティ比が一定の矩形波パルスであるか否かを判定することによって、安全側に対応する正常な内部安全入力であるか否かを判定し、正常でないときには、機械設備の稼動を禁止するようにしている。   In the high-function unit 4 on the receiving side where the internal safety output is input as an internal safety input, the first and second CPUs 17 and 18 having a function as a determination unit have a rectangular shape with a constant cycle and duty ratio. By determining whether or not it is a wave pulse, it is determined whether or not it is a normal internal safety input corresponding to the safe side, and when it is not normal, the operation of the mechanical equipment is prohibited.

すなわち、判定部としての第1,第2のCPU17,18は、入力される内部安全入力のハイレベルの幅(期間)およびローレベルの幅(期間)を計測し、それぞれが許容範囲であれば、正規の矩形波パルスであると判定し、その正規の矩形波パルスが一定時間以上継続した場合に、安全側に対応する内部安全入力が正常であると判定し、論理接続を有効とする。   That is, the first and second CPUs 17 and 18 as the determination unit measure the high level width (period) and the low level width (period) of the input internal safety input, and each is within an allowable range. When the regular rectangular wave pulse is determined to be a regular rectangular wave pulse and the regular rectangular wave pulse continues for a predetermined time or more, it is determined that the internal safety input corresponding to the safe side is normal, and the logical connection is validated.

また、計測されたハイレベルの幅またはローレベルの幅が許容範囲でない、あるいは、正規の矩形波パルスが一定時間以上継続しなかった場合には、安全側に対応する内部安全入力が正常ではないと判定し、論理接続を無効としてロックアウトする。   Also, if the measured high-level width or low-level width is not within the allowable range, or if the regular rectangular wave pulse does not continue for a certain period of time, the internal safety input corresponding to the safe side is not normal. And locks out the logical connection as invalid.

この受信側の高機能ユニット4の判定処理を更に詳細に説明する。   The determination process of the high-functional unit 4 on the receiving side will be described in more detail.

この実施の形態では、論理接続用信号である内部安全入力のON/OFFエッジをトリガとして割り込み処理を発生させる。したがって、割り込み発生のタイミングは、内部安全入力に依存することになる。第1,第2のCPU17,18は、割り込み処理の発生タイミングをトリガとして、ハイレベルまたはローレベルの幅を計測し、正規の矩形波パルスであるか否かを判定し、さらに、正規の矩形波パルスであるときには、一定回数連続したか否かを判定して安全側に対応する内部安全入力が正常であるか否かを判定するものである。   In this embodiment, an interrupt process is generated using an ON / OFF edge of an internal safety input, which is a logical connection signal, as a trigger. Therefore, the timing of interrupt generation depends on the internal safety input. The first and second CPUs 17 and 18 measure the width of the high level or the low level using the generation timing of the interrupt process as a trigger, determine whether or not the pulse is a regular rectangular wave pulse, and further, the regular rectangular wave When the pulse is a wave pulse, it is determined whether or not it has continued for a certain number of times, and it is determined whether or not the internal safety input corresponding to the safe side is normal.

図17は、この割り込み処理による内部安全入力の判定動作のフローチャートである。   FIG. 17 is a flowchart of the internal safety input determination operation by this interrupt processing.

先ず、第1,第2のCPU17,18は、割り込み処理を開始し、内部安全入力に対応するポート状態を読み込んで割り込み要因が、立ち上がりエッジであるか立ち下りエッジであるかを判断し(ステップn1)、第1,第2のCPU17,18のタイマが記憶している割り込み発生間隔の値を読み込み(ステップn2)、割り込み発生間隔をチェックする(ステップn3)。この割り込み間隔のチェックでは、読み込んだ割り込み発生間隔と、割り込み要因が立ち上がりエッジの場合は、上述の図15に示されるローレベルの幅W1の正常値と比較し、立ち下りエッジの場合は、図15に示されるハイレベルの幅W2の正常値と比較し、正常値との差が許容値内であれば、OKと判断してステップn4に移り、許容値外であれば、NGと判断してステップn6に移る。   First, the first and second CPUs 17 and 18 start interrupt processing, read the port state corresponding to the internal safety input, and determine whether the interrupt factor is a rising edge or a falling edge (step) n1) The interrupt generation interval value stored in the timers of the first and second CPUs 17 and 18 is read (step n2), and the interrupt generation interval is checked (step n3). In this interrupt interval check, the read interrupt generation interval is compared with the normal value of the low-level width W1 shown in FIG. 15 when the interrupt factor is the rising edge, and in the case of the falling edge, Compared with the normal value of the high-level width W2 shown in FIG. 15, if the difference from the normal value is within the allowable value, it is determined as OK, and the process proceeds to step n4. To step n6.

ステップn4では、OKと判断された連続回数が一定回数以上であるか否かを判断し、一定回数以上であるときには、安全側(ON)に対応する内部安全入力であると確定して割り込み処理を終了する(ステップn5)。また、ステップn6では、NGと判断された連続回数が一定回数以上であるか否かを判断し、一定回数以上であるときには、危険側(OFF)に対応する内部安全入力であると確定して割り込み処理を終了する(ステップn7)。   In step n4, it is determined whether or not the number of consecutive times determined to be OK is equal to or greater than a certain number. If the number is equal to or greater than a certain number, it is determined that the internal safety input corresponds to the safe side (ON) and interrupt processing is performed. Is finished (step n5). Further, in step n6, it is determined whether or not the number of consecutive times determined to be NG is equal to or greater than a certain number. If the number is equal to or greater than a certain number, it is determined that the internal safety input corresponds to the danger side (OFF). The interrupt process is terminated (step n7).

このように、論理接続用信号である内部安全入力(内部安全出力)が正常であるか否かを判定して正常であると判定されたときにのみ論理接続を有効とするので、異常な内部安全入力によって、誤動作することがなく、安全性が確保される。   In this way, the logical connection is valid only when it is determined that the internal safety input (internal safety output), which is a signal for logical connection, is normal and is determined to be normal. Safety input ensures safety without malfunction.

(その他の実施の形態)
上述の実施の形態では、ANDによって論理接続したけれども、ANDに限らず、ORやXORなどによって論理接続してもよく、また、複数の論理接続を可能としてもよい。
(Other embodiments)
In the above-described embodiment, logical connection is performed by AND. However, the logical connection is not limited to AND, and may be logical connection by OR, XOR, or the like, and a plurality of logical connections may be possible.

上述の実施の形態では、論理接続用信号を、周期およびデューティ比が一定の矩形波パルスとしたので、周期およびデューティ比の少なくも一方を異ならせて複数種類の接続用信号とすることができ、例えば、種類毎に、ANDやORなどの論理の内容を割当てて使用するようにしてもよい。   In the above-described embodiment, since the logic connection signal is a rectangular wave pulse having a constant cycle and duty ratio, at least one of the cycle and duty ratio can be varied to obtain a plurality of types of connection signals. For example, logic contents such as AND and OR may be assigned and used for each type.

また、本発明の他の実施の形態として、例えば、図18に示されるように、共通のパターンの共通信号CSと、パターンの異なる個別信号SSとを組み合わせて複数種類の接続用信号とすることもできる。すなわち、図18の接続用信号は、基本長さのn倍の長さのON信号が、基本長さのOFF信号で挟まれた共通信号CSと、前記基本長さのn倍の長さを有するとともに、1から2−2までを二進数で表現したパターン(0…001)〜(1…110)の個別信号SSとを組み合わせたものであり、2−2種類の接続用信号を得ることができる。 As another embodiment of the present invention, for example, as shown in FIG. 18, a common signal CS having a common pattern and individual signals SS having different patterns are combined to form a plurality of types of connection signals. You can also. That is, the connection signal in FIG. 18 has a common signal CS in which an ON signal having a length n times the basic length is sandwiched between OFF signals having a basic length, and a length n times the basic length. And a combination of the individual signals SS of the patterns (0... 001) to (1... 110) expressing binary numbers from 1 to 2 n −2, and 2 n −2 types of connection signals. Can be obtained.

この接続用信号において、例えば、n=3とすると、図19に示されるように、共通信号CSは、(01110)となり、個別信号SSは、1から2−2=6までの数を二進数で表し、(001)、(010)、(011)、(100)、(101)、(110)となる。したがって、共通信号CSおよび個別信号SSを組み合わせて6種類の接続用信号を得ることができる。 In this connection signal, for example, when n = 3, as shown in FIG. 19, the common signal CS is (01110), and the individual signal SS is a number from 1 to 2 3 −2 = 6. Expressed in decimal, (001), (010), (011), (100), (101), (110). Therefore, six types of connection signals can be obtained by combining the common signal CS and the individual signal SS.

本発明は、安全システムの構築に有用である。   The present invention is useful for building a safety system.

本発明の一つの実施の形態に係るシステムの構成例を示す図である。It is a figure which shows the structural example of the system which concerns on one embodiment of this invention. 図1の単機能ユニットの正面図である。It is a front view of the single function unit of FIG. 図1の高機能ユニットの正面図である。It is a front view of the high-functional unit of FIG. 図1の高機能ユニットの背面図である。It is a rear view of the high-functional unit of FIG. 図1の増設ユニットの正面図である。It is a front view of the extension unit of FIG. 図1の高機能ユニットのブロック図である。It is a block diagram of the high-functional unit of FIG. 図6の一部の詳細を示すブロック図である。It is a block diagram which shows the detail of a part of FIG. 図1の単機能ユニットのブロック図である。It is a block diagram of the single function unit of FIG. 第1の使用例の接続状態を示す図である。It is a figure which shows the connection state of the 1st usage example. 図9のタイムチャートである。It is a time chart of FIG. 第2の使用例の接続状態を示す図である。It is a figure which shows the connection state of the 2nd usage example. 図11のタイムチャートである。It is a time chart of FIG. 第3の使用例の接続状態を示す図である。It is a figure which shows the connection state of the 3rd usage example. 図13のタイムチャートである。It is a time chart of FIG. 内部安全入力の信号波形を示す図である。It is a figure which shows the signal waveform of an internal safety input. 内部安全入力の生成を説明するための図である。It is a figure for demonstrating the production | generation of an internal safety input. 動作説明に供するフローチャートである。It is a flowchart with which operation | movement description is provided. 接続用信号を示す図である。It is a figure which shows the signal for a connection. 接続用信号を示す図である。It is a figure which shows the signal for a connection.

符号の説明Explanation of symbols

1 セーフティドアスイッチ
2 非常停止スイッチ
3 単機能ユニット
4 高機能ユニット
5 増設ユニット
17,18 第1,第2のCPU
31 瞬時用の安全出力回路
32 オフディレー用の安全出力回路
34 内部安全出力回路
1 Safety Door Switch 2 Emergency Stop Switch 3 Single Function Unit 4 High Function Unit 5 Extension Unit 17, 18 First and Second CPU
31 Safety output circuit for moment 32 Safety output circuit for off-delay 34 Internal safety output circuit

Claims (8)

入力機器からの入力に基づいて、安全出力制御対象に安全出力を与えて機械設備の運転を制御するセーフティコントローラであって、
前記安全出力として半導体出力を与える安全出力部と、
他のセーフティコントローラから接続用信号が与えられる接続入力部と、
前記接続用信号が正常であるか否かを判定する判定部と、
前記入力機器からの前記入力、前記接続用信号および前記判定部による判定に基づいて、プログラムに従って前記安全出力を制御する制御部と、
を備えることを特徴とするセーフティコントローラ。
A safety controller that controls the operation of mechanical equipment by giving a safety output to a safety output control target based on an input from an input device,
A safety output unit for providing a semiconductor output as the safety output;
A connection input to which a connection signal is given from another safety controller;
A determination unit for determining whether or not the connection signal is normal;
A control unit that controls the safety output according to a program based on the input from the input device, the connection signal, and the determination by the determination unit;
A safety controller characterized by comprising:
他のセーフティコントローラに接続用信号として半導体出力を与える接続出力部を備え、前記制御部は、前記入力機器からの前記入力、前記接続入力部の接続用信号および前記判定部による判定に基づいて、プログラムに従って前記安全出力および前記接続出力部の接続用信号を制御する請求項1記載のセーフティコントローラ。   A connection output unit that provides a semiconductor output as a connection signal to another safety controller, the control unit based on the input from the input device, the connection signal of the connection input unit and the determination by the determination unit, The safety controller according to claim 1, wherein the safety output and the connection signal of the connection output unit are controlled according to a program. 前記接続用信号が、所定パターンのパルス信号である請求項1または2記載のセーフティコントローラ。   The safety controller according to claim 1, wherein the connection signal is a pulse signal having a predetermined pattern. 前記入力機器からの前記入力は、安全側または危険側に対応する入力であり、前記安全出力は、前記安全側または前記危険側に対応する安全出力であり、前記接続用信号は、前記安全側または前記危険側に対応する接続用信号であって、前記安全側に対応する接続用信号は、周期およびデューティ比が一定の矩形波パルスである請求項3記載のセーフティコントローラ。   The input from the input device is an input corresponding to a safety side or a dangerous side, the safety output is a safety output corresponding to the safety side or the dangerous side, and the connection signal is the safety side 4. The safety controller according to claim 3, wherein the connection signal corresponding to the dangerous side is a rectangular wave pulse having a constant cycle and duty ratio. 前記判定部は、前記接続用信号であるパルス信号のハイレベルおよびローレベルの幅を計測して正常であるか否かを判定する請求項4記載のセーフティコントローラ。   The safety controller according to claim 4, wherein the determination unit determines whether the pulse signal that is the connection signal is normal by measuring a width of a high level and a low level. 前記接続用信号が、論理接続用の信号であり、前記制御部は、前記プログラムに従って、前記入力機器からの入力および前記接続入力部の接続用信号に基づいて、論理演算を行なって前記安全出力および前記接続出力部の接続用信号を制御する請求項1〜5のいずれかに記載のセーフティコントローラ。   The connection signal is a signal for logical connection, and the control unit performs a logical operation based on an input from the input device and a connection signal of the connection input unit according to the program, and performs the safety output. The safety controller according to any one of claims 1 to 5, which controls a connection signal of the connection output unit. 前記制御部は、前記プログラムに従って、前記接続出力部の接続用信号の出力状態を、前記安全出力の出力状態と同一の前記安全側または前記危険側に制御する請求項2〜6のいずれかに記載のセーフティコントローラ。   The control unit according to any one of claims 2 to 6, wherein the control unit controls the output state of the connection signal of the connection output unit to the safety side or the dangerous side that is the same as the output state of the safety output according to the program. The listed safety controller. 請求項2〜7のいずれかに記載のセーフティコントローラの複数を、前記接続入力部および前記接続出力部を介して接続してなるシステム。   A system comprising a plurality of the safety controllers according to any one of claims 2 to 7 connected via the connection input unit and the connection output unit.
JP2003394387A 2003-11-25 2003-11-25 Safety controller and system using the same Expired - Lifetime JP4345455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003394387A JP4345455B2 (en) 2003-11-25 2003-11-25 Safety controller and system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003394387A JP4345455B2 (en) 2003-11-25 2003-11-25 Safety controller and system using the same

Publications (2)

Publication Number Publication Date
JP2005157667A true JP2005157667A (en) 2005-06-16
JP4345455B2 JP4345455B2 (en) 2009-10-14

Family

ID=34720468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003394387A Expired - Lifetime JP4345455B2 (en) 2003-11-25 2003-11-25 Safety controller and system using the same

Country Status (1)

Country Link
JP (1) JP4345455B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172461A (en) * 2005-12-26 2007-07-05 Omron Corp Non-contact switch and safety controller
JP2007312573A (en) * 2006-05-19 2007-11-29 Omron Corp Io unit in safety controller of building block type
JP2013239173A (en) * 2012-05-14 2013-11-28 Schneider Electric Industries Sas Detector having unstable output
CN106059569A (en) * 2016-07-29 2016-10-26 浙江陀曼智造科技有限公司 Safety switch and control method thereof
WO2018155424A1 (en) * 2017-02-21 2018-08-30 オムロン株式会社 Motor control device
JP2019183543A (en) * 2018-04-13 2019-10-24 株式会社キーエンス Safety door switch

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172461A (en) * 2005-12-26 2007-07-05 Omron Corp Non-contact switch and safety controller
JP4736793B2 (en) * 2005-12-26 2011-07-27 オムロン株式会社 Safety control system and non-contact switch
JP2007312573A (en) * 2006-05-19 2007-11-29 Omron Corp Io unit in safety controller of building block type
JP2013239173A (en) * 2012-05-14 2013-11-28 Schneider Electric Industries Sas Detector having unstable output
CN106059569A (en) * 2016-07-29 2016-10-26 浙江陀曼智造科技有限公司 Safety switch and control method thereof
CN106059569B (en) * 2016-07-29 2023-05-26 浙江陀曼数字技术有限公司 Safety switch and control method thereof
WO2018155424A1 (en) * 2017-02-21 2018-08-30 オムロン株式会社 Motor control device
US10965225B2 (en) 2017-02-21 2021-03-30 Omron Corporation Motor control device
JP2019183543A (en) * 2018-04-13 2019-10-24 株式会社キーエンス Safety door switch
JP7010755B2 (en) 2018-04-13 2022-01-26 株式会社キーエンス Safety door switch

Also Published As

Publication number Publication date
JP4345455B2 (en) 2009-10-14

Similar Documents

Publication Publication Date Title
KR100720273B1 (en) Safety controller and system using the same
JP4893931B2 (en) Safety controller
JP4196757B2 (en) Safety controller
JP4442524B2 (en) Safety PLC
JP5412993B2 (en) Safety device and power converter
JP3918950B2 (en) Safety device
KR101799999B1 (en) Apparatus for controlling robot
JP4238705B2 (en) Safety controller
JP4345455B2 (en) Safety controller and system using the same
JPWO2008149618A1 (en) Control device
JP4238687B2 (en) Safety controller and system using the same
JP2009223398A (en) Industrial controller
JP4238706B2 (en) Safety controller
JP4238690B2 (en) Setting structure and safety controller using it
JP4736793B2 (en) Safety control system and non-contact switch
EP0598686B1 (en) Read-only sequence controller
JP5511475B2 (en) Signal processing system and signal source unit and signal processing unit used therefor
JP6635238B1 (en) Safety control device and safety control system
JPH11134016A (en) Controller
JP2605768B2 (en) Safety device
JP2001075603A5 (en)
JPH07253802A (en) Duplicate system for controller
JP2008217662A (en) Multi-axis control system
JP2002189516A (en) Process control electronic computer system
JPH0751986A (en) Nc machining device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080513

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080711

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090623

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090706

R150 Certificate of patent or registration of utility model

Ref document number: 4345455

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120724

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130724

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term