JP2007101306A - Time synchronization system for plc - Google Patents
Time synchronization system for plc Download PDFInfo
- Publication number
- JP2007101306A JP2007101306A JP2005290059A JP2005290059A JP2007101306A JP 2007101306 A JP2007101306 A JP 2007101306A JP 2005290059 A JP2005290059 A JP 2005290059A JP 2005290059 A JP2005290059 A JP 2005290059A JP 2007101306 A JP2007101306 A JP 2007101306A
- Authority
- JP
- Japan
- Prior art keywords
- plc
- time
- time synchronization
- synchronization information
- standard
- 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
Links
Images
Landscapes
- Electric Clocks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
この発明はPLC(Programmable Logic Controller:プログラマブル・ロジック・コントローラ)用時刻同期装置に関し、特に、PLCが持つ内部時計の時刻を実用上問題の無いレベルで同期させるためのPLC用時刻同期装置に関する。 The present invention relates to a PLC (Programmable Logic Controller) time synchronizer, and more particularly to a PLC time synchronizer for synchronizing the time of an internal clock of a PLC at a level that does not cause a problem in practice.
従来の同期方法として、GPS(Global Positioning System:グローバル・ポジショニング・システム)衛星からGPS受信機により時刻信号を受信し、ネットワーク経由で複数の端末装置へ時刻信号が伝送されることにより時刻同期を実現する技術が知られている(例えば、特許文献1参照。)。 As a conventional synchronization method, time synchronization is realized by receiving a time signal from a GPS (Global Positioning System) satellite by a GPS receiver and transmitting the time signal to multiple terminal devices via a network. The technique which performs is known (for example, refer patent document 1).
また、他の従来の同期方法において、上位装置からの時刻修正をPLCが受信し、各PLC間では非同期方式でありながらシステム全体のPLC同期方法を提供する技術が知られている(例えば、特許文献2参照。)。 In another conventional synchronization method, a technique is known in which a PLC receives a time correction from a host device and provides a PLC synchronization method for the entire system while being asynchronous between PLCs (for example, patents). Reference 2).
上記特許文献1においては、GPS信号のみに対応しており、GPSが何らかの要因で停止した場合、時刻情報を正しく取得するためのバックアップ手段が無いという問題点があった。しかもGPS受信機で得られた時刻情報はネットワーク上にのみ送出するため、ネットワークインターフェイスを持っていない機器では利用できないという問題点もあった。
In the above-mentioned
また、上記特許文献2においては、上位装置が必要で、PLCのみで構成されるシステムの場合は、当該技術が適用できないという問題点があった。
Moreover, in the said
この発明はかかる問題点を解決するためになされたものであり、確実に時刻を同期させることができ、且つ、安価に構築できるPLC用時刻同期装置を得ることを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to obtain a PLC time synchronizer that can reliably synchronize time and can be constructed at low cost.
この発明は、PLCに接続されて、上記PLCの内部時計の時刻を標準時刻に同期させるためのPLC用時刻同期装置であって、1以上の電波による標準時刻信号を受信するための標準時刻信号受信手段と、受信した上記標準時刻信号に基づいて、時刻同期情報を生成する時刻情報発生手段と、生成された上記時刻同期情報をシリアルポート経由で上記PLCへ伝送する時刻同期情報伝送手段とを備え、上記PLCは、伝送された上記時刻同期情報を用いて上記内部時計を標準時刻に同期させることを特徴とするPLC用時刻同期装置である。 The present invention is a PLC time synchronizer that is connected to a PLC and synchronizes the time of the internal clock of the PLC with a standard time, and a standard time signal for receiving a standard time signal by one or more radio waves. Receiving means; time information generating means for generating time synchronization information based on the received standard time signal; and time synchronization information transmitting means for transmitting the generated time synchronization information to the PLC via a serial port. The PLC is a PLC time synchronizer that synchronizes the internal clock with a standard time using the transmitted time synchronization information.
この発明は、PLCに接続されて、上記PLCの内部時計の時刻を標準時刻に同期させるためのPLC用時刻同期装置であって、1以上の電波による標準時刻信号を受信するための標準時刻信号受信手段と、受信した上記標準時刻信号に基づいて、時刻同期情報を生成する時刻情報発生手段と、生成された上記時刻同期情報をシリアルポート経由で上記PLCへ伝送する時刻同期情報伝送手段とを備え、上記PLCは、伝送された上記時刻同期情報を用いて上記内部時計を標準時刻に同期させることを特徴とするPLC用時刻同期装置であるため、複数の電波から時刻情報を得るため、いずれか1つの電波が停止しても、残る電波から時刻情報を取り出すことができるので、確実に時刻を同期させることができ、且つ、安価に構築できる。 The present invention is a PLC time synchronizer that is connected to a PLC and synchronizes the time of the internal clock of the PLC with a standard time, and a standard time signal for receiving a standard time signal by one or more radio waves. Receiving means; time information generating means for generating time synchronization information based on the received standard time signal; and time synchronization information transmitting means for transmitting the generated time synchronization information to the PLC via a serial port. The PLC is a time synchronization apparatus for PLC that uses the transmitted time synchronization information to synchronize the internal clock with a standard time. Therefore, in order to obtain time information from a plurality of radio waves, Even if one of the radio waves stops, the time information can be extracted from the remaining radio waves, so that the time can be reliably synchronized and can be constructed at low cost.
以下、この発明の実施の形態について説明する。 Embodiments of the present invention will be described below.
実施の形態1.
図1は、この発明の実施の形態1におけるPLC用時刻同期システムの全体の構成を示したシステム構成図である。図1に示すように、複数(n個)のPLC1(符号PLC−1,PLC−2,・・・,PLC−n)が、上位のコンピュータであるOPS101(OPerator Station:オペレータステーション)にPLCネットワーク111を介して接続されている。各PLC1には、PLC用CPUユニット21が内蔵されており、また、PLC用時刻同期装置31が外部接続されている。PLC用時刻同期装置31は、複数の電波(標準時刻信号搬送波)42による標準時刻信号の受信が可能なアンテナ41を備え、複数の電波(標準時刻信号搬送波)42による標準時刻信号を受信して、時刻同期情報201としてPLC用時刻同期装置31からPLC用CPUユニット21に伝送することが可能である。
FIG. 1 is a system configuration diagram showing the overall configuration of a PLC time synchronization system according to
図2は、図1に示したPLC用CPUユニット21とPLC用時刻同期装置31とを示した図である。図2に示すように、PLC用CPUユニット21とPLC用時刻同期装置31とはシリアルケーブル202で接続されており、データの送受信が可能な構成となっている。PLC用CPUユニット21は、CPU211、メモリ212、ローカルバス213、シリアルポート214、IO I/F215(Input Output Interface:入出力インターフェース)、内部時計217を備えている。PLC用時刻同期装置31は、マイクロコンピュータ311、メモリ312、ローカルバス313、シリアルポート314、チューナー回路316、時刻情報発生回路317を備えている。PLC用時刻同期装置31で標準時刻信号に基づいて生成された時刻同期情報201はシリアルケーブル202を通してPLC用CPUユニット21に伝送されている。
FIG. 2 is a diagram showing the
なお、複数の電波(標準時刻信号搬送波)42による標準時刻信号はFM・AM・短波又はGPS等の搬送波上に変調された時刻信号コードであり、PLC用時刻同期装置31に内蔵されるチューナー回路316及び時刻情報発生回路317は、複数の電波(標準時刻信号搬送波)42及びこれに基づく信号コードに対応可能な回路である。
A standard time signal by a plurality of radio waves (standard time signal carrier waves) 42 is a time signal code modulated on a carrier wave such as FM / AM / short wave or GPS, and is a tuner circuit incorporated in the
次に動作について説明する。
図1において、複数の電波(標準時刻信号搬送波)42によって標準時刻信号が放送されているとする。この場合、PLC用時刻同期装置31に接続されたアンテナ41によって複数の電波(標準時刻信号搬送波)42を受信する。
Next, the operation will be described.
In FIG. 1, it is assumed that a standard time signal is broadcast by a plurality of radio waves (standard time signal carrier waves) 42. In this case, a plurality of radio waves (standard time signal carriers) 42 are received by the
次に、図2に示すチューナー回路316及び時刻情報発生回路317によって標準時刻信号を複数の電波(標準時刻信号搬送波)42から取り出す。取り出された標準時刻信号は一番早いタイミングで得られた標準時刻信号のみがマイクロコンピュータ311の命令に従って時刻同期情報201としてシリアルポート314を使ってシリアルケーブル202へ送出される。シリアルケーブル202に送出された時刻同期情報201はPLC用CPUユニット21に内蔵されたシリアルポート214で受信され、受信された時刻同期情報201は、メモリ212に記憶された命令文に基づくCPU211の処理命令により内部時計217に書き込まれる。その結果、内部時計217の保持する時刻が標準時刻となり、標準時刻信号と同期する。
Next, the standard time signal is extracted from the plurality of radio waves (standard time signal carriers) 42 by the
図1に示すように、夫々のPLC1に、1対1でPLC用時刻同期装置31を設置することにより、各PLC1が独立的に標準時刻信号に同期される。なお、OPS101の内部時計は、GPSシステム等を用いた既知の技術(図示せず)により標準時刻に同期させるか、または、PLC用CPUユニット21を介して近傍PLC1の内部時計情報に同期させる事で、システムとしての時刻の整合性を確保する。
As shown in FIG. 1, each
以上のように、この実施の形態1によれば、複数の電波(標準時刻信号搬送波)に含まれる標準時刻信号による時刻情報を利用するため、常に標準時刻情報に同期が可能となるPLC用時刻同期装置を得られ、PLC1が夫々個別に標準時刻に同期するので、OPS101が故障した場合や、PLCネットワーク111が故障した場合、あるいは、PLC単独のシステム構成でも、常に標準時刻情報に同期させることが可能となる効果が得られると共に、複数の電波(標準時刻信号搬送波)を利用するため、いずれかの電波が停止しても、残る電波から時刻情報を取り出せるため、時刻情報の喪失を防ぐことが可能なシステムを得られる。
As described above, according to the first embodiment, since the time information based on the standard time signal included in a plurality of radio waves (standard time signal carrier waves) is used, the PLC time that can always be synchronized with the standard time information. Synchronous devices can be obtained, and the
また、従来のようなOPS101の内部時計の時刻情報を元にした時刻同期情報にPLC用CPUユニット21経由で同期することが無く、PLC1が夫々個別に標準時刻に同期するので、OPS101が故障した場合、PLCネットワーク111が故障した場合、また、PLC単独のシステム構成でも、常に標準時刻情報に同期が可能となる。
Further, since the time synchronization information based on the time information of the internal clock of the
実施の形態2.
上述した実施の形態1の構成においては、複数の電波(標準時刻信号搬送波)42による標準時刻信号を受信してからシリアルケーブル202へそれを時刻同期情報201として送出するまでの処理時間がタイムラグ(時間のずれ)として発生して、実際の標準時刻との間に若干のずれが発生する可能性がある。そのため、この発明の実施の形態2に係るPLC用時刻同期装置においては、図2に示すアンテナチューナー回路316及び時刻情報発生回路317によって複数の電波(標準時刻信号搬送波)42による標準時刻信号を受信してから、シリアルケーブル202へそれを時刻同期情報201として送出するまでの標準処理時間をタイムラグとして予め設定しておき、マイクロコンピュータ311によって当該タイムラグの分を加算した時刻情報を時刻同期情報201として送出する。本実施の形態における全体の構成は上述の図1と同じであるため、図1を参照して、ここではその説明を省略する。
In the configuration of the first embodiment described above, the processing time from receiving a standard time signal from a plurality of radio waves (standard time signal carrier waves) 42 to sending it to the
なお、タイムラグの決定方法としては、例えば、設計段階あるいは製造段階においてシミュレーションを繰り返して、標準時刻信号を複数の電波(標準時刻信号搬送波)42から取り出してからシリアルケーブル202へ時刻同期情報201として送出するまでの時間を実際に計測し、それらの計測時間の平均値をタイムラグとして設定するようにすればよい。
As a method for determining the time lag, for example, simulation is repeated in the design stage or the manufacturing stage, and a standard time signal is extracted from a plurality of radio waves (standard time signal carrier waves) 42 and then sent to the
以上のように、本実施の形態2においては、チューナー回路316及び時刻情報発生回路317によって標準時刻信号を複数の電波(標準時刻信号搬送波)42から取り出してからシリアルケーブル202へ時刻同期情報201として送出するまでの時間をタイムラグとして予め設定しておき、マイクロコンピュータ311によって、複数の電波(標準時刻信号搬送波)42から取り出した標準時刻信号から当該タイムラグの分だけ加算することにより補正した時刻情報を時刻同期情報201としてPLC用時刻同期装置31からシリアルポート314を介してシリアルケーブル202へ送出するようにしたので、標準時刻に正確に同期させることが可能となる。
As described above, in the second embodiment, the standard time signal is extracted from the plurality of radio waves (standard time signal carrier waves) 42 by the
実施の形態3.
この発明の実施の形態3に係るPLC用時刻同期装置では、図2に示すPLC用CPUユニット21に内蔵されているシリアルポート214と、PLC用時刻同期装置31に内蔵されているシリアルポート314との間の接続状態をPLC用時刻同期装置31に内蔵されているマイクロコンピュータ311が自動で検出するための接続状態検出用プログラムがメモリ312内に実装されている。また、当該接続状態検出用プログラムにより接続先のPLC1の種別(種類)も検出することができる。
Embodiment 3 FIG.
In the PLC time synchronization apparatus according to the third embodiment of the present invention, the
さらに、当該接続状態検出用プログラムによる処理結果(すなわち、PLC1の検出された種別(種類)情報)を用いて、マイクロコンピュータ311がその種別(種類)に合わせたデータ形式で時刻情報を生成し、時刻同期情報201として送出するための時刻情報生成用プログラムもメモリ312内に実装されている。
Further, using the processing result (that is, the type (type) information detected by the PLC 1) by the connection state detection program, the
なお、本実施の形態における全体の構成は上述の図1と同じであるため、図1を参照して、ここではその説明を省略する。 Since the entire configuration in the present embodiment is the same as that in FIG. 1 described above, description thereof is omitted here with reference to FIG.
動作について説明する。
PLC用時刻同期装置31は、接続状態検出用プログラムを用いて、PLC用CPUユニット21に内蔵されているシリアルポート214とPLC用時刻同期装置31に内蔵されているシリアルポート314との間の接続状態を検出し、さらに、PLC用CPUユニット21を内蔵している接続先PLC1の種別(種類)を検出する。次に、PLC用時刻同期装置31は、接続状態検出用プログラムを用いて、検出されたPLC1の種別(種類)情報を用いて、その種別(種類)に合わせたデータ形式で時刻情報を生成し、時刻同期情報201として、シリアルポート314からシリアルケーブル202へ送出する。シリアルケーブル202に送出された時刻同期情報201はPLC用CPUユニット21に内蔵されたシリアルポート214で受信され、受信された時刻同期情報201は、メモリ212に記憶された命令文に基づくCPU211の処理命令により内部時計217に書き込まれる。その結果、内部時計217の保持する時刻が標準時刻となり、標準時刻信号と同期する。
The operation will be described.
The PLC
以上のように、本実施の形態3においては、シリアルポート214とシリアルポート314との間の接続状態と接続先のPLC1の種別(種類)とを自動で検出する接続状態検出用プログラムと、検出されたPLC1の種別(種類)に合わせたデータ形式で時刻情報を生成して送出するための時刻情報生成用プログラムとを備えるようにしたので、PLC1の複数の種別(種類)に対応可能であるため、PLC1の種別(種類)に関係なくPLC用時刻同期装置31を簡便に実装することが可能となる。
As described above, in the third embodiment, the connection state detection program for automatically detecting the connection state between the
なお、本実施の形態においても、PLC用時刻同期装置31に実施の形態2で説明したタイムラグを予め設定しておいて、当該タイムラグの分を補正して、PLC用時刻同期装置31からシリアルケーブル202へ時刻同期情報201を送信するようにしてもよい。
Also in the present embodiment, the time lag described in the second embodiment is set in advance in the
実施の形態4.
この発明の実施の形態4に係るPLC用時刻同期装置では、図2に示すPLC用CPUユニット21に内蔵されているシリアルポート214と、PLC用時刻同期装置31に内蔵されているシリアルポート314との間の接続状態をPLC用時刻同期装置31に内蔵されているマイクロコンピュータ311が自動で検出して、PLC用CPUユニット21を内蔵している接続先PLC1の種別(種類)を検出するための接続状態検出用プログラムがメモリ312内に実装されるとともに、検出されたPLC1の種別(種類)情報を用いて、その種別(種類)に合わせた命令形式で時刻同期情報201をPLC用CPUユニット21に内蔵されている内部時計217に書き込むための命令文を作成してメモリ212に当該命令文を自動記憶させるための命令文書込用プログラムをメモリ312内に備えている。
Embodiment 4 FIG.
In the PLC time synchronization apparatus according to the fourth embodiment of the present invention, the
本実施の形態における全体の構成は上述の図1と同じであるため、図1を参照して、ここではその説明を省略する。 Since the entire configuration in the present embodiment is the same as that in FIG. 1 described above, description thereof is omitted here with reference to FIG.
動作について説明する。
PLC用時刻同期装置31は、接続状態検出用プログラムを用いて、PLC用CPUユニット21に内蔵されているシリアルポート214とPLC用時刻同期装置31に内蔵されているシリアルポート314との間の接続状態を検出し、さらに、PLC用CPUユニット21を内蔵している接続先PLC1の種別(種類)を検出する。次に、PLC用時刻同期装置31は、命令文書込用プログラムを用いて、検出されたPLC1の種別(種類)情報を用いて、その種別(種類)に合わせた命令形式で時刻同期情報201をPLC用CPUユニット21に内蔵されている内部時計217に書き込むための命令文を作成して、PLC用CPUユニット21のメモリ212に当該命令文を記憶させる。
The operation will be described.
The PLC
次に、PLC用時刻同期装置31は、チューナー回路316及び時刻情報発生回路317によって標準時刻信号を複数の電波(標準時刻信号搬送波)42から取り出す。取り出された標準時刻信号はマイクロコンピュータ311の命令に従って時刻同期情報201としてシリアルポート314を使ってシリアルケーブル202へ送出される。シリアルケーブル202に送出された時刻同期情報201はPLC用CPUユニット21に内蔵されたシリアルポート214で受信され、受信された時刻同期情報201は、メモリ212に上述の命令文書込用プログラムにより記憶された命令文に基づくCPU211の処理命令により、内部時計217に書き込まれる。その結果、内部時計217の保持する時刻が標準時刻となり、標準時刻信号と同期する。
Next, the
以上のように、本実施の形態においては、シリアルポート214とシリアルポート314との間の接続状態と接続先のPLC1の種類とを自動で検出する接続状態検出用プログラムと、検出されたPLC1の種類に合わせた命令形式で時刻同期情報201をPLC用CPUユニット21に内蔵されている内部時計217に書き込む命令をメモリ212に自動記憶させるプログラムとを備えているので、PLC1の命令文を追加したり再編集することなく、PLC用時刻同期装置31を簡便に追加実装することが可能となる。
As described above, in the present embodiment, the connection state detection program for automatically detecting the connection state between the
なお、本実施の形態においても、実施の形態2で説明したタイムラグを予め設定しておいて、当該タイムラグの分を補正して、PLC用時刻同期装置31からシリアルケーブル202へ時刻同期情報201を送信するようにしてもよい。
Also in the present embodiment, the time lag described in the second embodiment is set in advance, the time lag is corrected, and the
実施の形態5.
図3は、この発明の実施の形態5におけるシステム構成図である。図3に示すように、複数のPLC1が、上位のコンピュータであるOPS111に、PLCネットワーク111を介して接続されている。各PLC1にはPLC用CPUユニット21が内蔵されている。また、そのうちの少なくとも1つのPLC1に、PLC用時刻同期装置31が接続されているが、他のPLC1にはPLC用時刻同期装置31は設けられていない。PLC用時刻同期装置31は、複数の電波(標準時刻信号搬送波)42による標準時刻信号の受信が可能なアンテナ41を備え、複数の電波(標準時刻信号搬送波)42による標準時刻信号を時刻同期情報201として、PLC用時刻同期装置31経由でPLC用CPUユニット21に伝送することが可能であるとともに、PLC用CPUユニット21に接続されたPLCネットワーク111にも時刻同期情報201を伝送し、PLCネットワーク111に接続された他の複数のPLC1に対して標準時刻信号を提供する。なお、PLC用時刻同期装置31の構成およびPLC1のPLC用CPUユニット21の構成については、上述の図2と同様であるため、図2を参照することとして、ここでは、その説明を省略する。
Embodiment 5. FIG.
FIG. 3 is a system configuration diagram according to Embodiment 5 of the present invention. As shown in FIG. 3, a plurality of
次に動作について説明する。
図3において、複数の電波(標準時刻信号搬送波)42によって標準時刻信号が放送されているとする。この場合、PLC用時刻同期装置31に接続されたアンテナ41によって複数の電波(標準時刻信号搬送波)42を受信する。
Next, the operation will be described.
In FIG. 3, it is assumed that a standard time signal is broadcast by a plurality of radio waves (standard time signal carrier waves) 42. In this case, a plurality of radio waves (standard time signal carriers) 42 are received by the
次に、図2に示すチューナー回路316及び時刻情報発生回路317によって、標準時刻信号を、受信した複数の電波(標準時刻信号搬送波)42から取り出す。取り出された標準時刻信号は一番早いタイミングで得られた標準時刻信号のみがマイクロコンピュータ311の命令に従って時刻同期情報201としてシリアルポート314を使ってシリアルケーブル202へ送出される。シリアルケーブル202に送出された時刻同期情報201はPLC用CPUユニット21に内蔵されたシリアルポート214で受信され、受信された時刻同期情報201は、メモリ212に記憶された命令文に基づくCPU211の処理命令により内部時計217に書き込まれる。その結果、内部時計217の保持する時刻が標準時刻となり、標準時刻信号と同期する。
Next, the standard time signal is extracted from the plurality of received radio waves (standard time signal carrier waves) 42 by the
また、これと同時に、PLCネットワーク111に接続されている他のPLC1へ時刻同期情報201を送信するための同報伝送命令文203が、シリアルポート314を使ってシリアルケーブル202へ送出される。シリアルケーブル202に送出された同報伝送命令文203はPLC用CPUユニット21に内蔵されたシリアルポート214で受信され、受信された同報伝送命令文203はメモリ212に格納され、格納された同報伝送命令文203がCPU211の処理によって実行される。これにより、時刻同期情報201は、IO I/F215を経由して図3に示すPLCネットワーク111へ送出される。これにより、PLCネットワーク111を介して、各PLC1に時刻同期情報201が同報伝送され、夫々のPLC1のI/O I/F215で受信され、夫々のPLC1に内蔵されているCPU211の処理によって夫々の内部時計217が時刻同期信号に同期する。
At the same time, a broadcast
なお、本実施の形態においても、実施の形態3および4と同様に、接続先のPLC1の種別(種類)を検出して、それに合わせたデータ形式または命令形式で、時刻同期情報201や同報伝送命令文203を作成して送信するようにしてもよい。
Also in the present embodiment, as in the third and fourth embodiments, the type (type) of the
また、本実施の形態においても、実施の形態2で説明したタイムラグを予め設定しておいて、当該タイムラグの分を補正して時刻同期情報201を送信するようにしてもよい。
Also in the present embodiment, the time lag described in the second embodiment may be set in advance, and the
さらに、上記の説明においては、標準時刻信号を受信したときに、同報伝送命令文203をシリアルポート314から送出してメモリ212内に格納する例について説明したが、その場合に限らず、予め、PLC用時刻同期装置31がメモリ212内に格納しておくようにしておき、時刻同期情報201をPLC用CPUユニット21が受信したことをトリガ信号(起動信号)として、同胞伝送命令文203を実行するようにしてもよい。
Further, in the above description, the example in which the broadcast
以上のように、この実施の形態5によれば、複数の電波(標準時刻信号搬送波)に含まれる標準時刻信号による時刻情報を利用するため、常に標準時刻情報に同期が可能となるPLC用時刻同期装置を得られ、さらに、標準時刻信号による時刻情報を1箇所のPLCから他の複数のPLC1に同報伝送するため、1個のPLC時刻同期装置31で時刻情報を時刻同期情報201として他の複数のPLC1へ送出することで、他の複数のPLC1を標準時刻に正確に同期させることができ、PLCネットワーク上の各PLC1が常に標準時刻情報に同期することが可能となるので、システムを安価に導入することが可能となる効果が得られる。
As described above, according to the fifth embodiment, since time information based on standard time signals included in a plurality of radio waves (standard time signal carriers) is used, the PLC time that can always be synchronized with the standard time information. A synchronization device can be obtained, and further, the time information based on the standard time signal is broadcast from one PLC to a plurality of
なお、上記の実施の形態1〜5においては、この発明をPLCの内部時計を対象にとり一般化して説明しているが、PLC以外の制御機器全般について応用が出来ることは言うまでも無い。 In the first to fifth embodiments described above, the present invention has been generalized for the internal clock of the PLC. However, it goes without saying that the present invention can be applied to all control devices other than the PLC.
1 PLC、21 PLC用CPUユニット、31 PLC用時刻同期装置、41 アンテナ、42 電波、101 OPS、111 PLCネットワーク、201 時刻同期情報、202 シリアルケーブル、203 同報伝送命令文、211 CPU、212 メモリ、213 ローカスパス、214 シリアルポート、215 IO I/F、217 内部時計、311 マイクロコンピュータ、312 メモリ、313 ローカスパス、314 シリアルポート、316 チューナー回路、317 時刻情報発生回路。
1 PLC, 21 PLC CPU unit, 31 PLC time synchronization device, 41 antenna, 42 radio wave, 101 OPS, 111 PLC network, 201 time synchronization information, 202 serial cable, 203 broadcast transmission command statement, 211 CPU, 212
Claims (5)
1以上の電波による標準時刻信号を受信するための標準時刻信号受信手段と、
受信した上記標準時刻信号に基づいて、時刻同期情報を生成する時刻情報発生手段と、
生成された上記時刻同期情報をシリアルポート経由で上記PLCへ伝送する時刻同期情報伝送手段と
を備え、
上記PLCは、伝送された上記時刻同期情報を用いて上記内部時計を標準時刻に同期させる
ことを特徴とするPLC用時刻同期装置。 A PLC time synchronization device connected to the PLC for synchronizing the time of the internal clock of the PLC with a standard time,
A standard time signal receiving means for receiving a standard time signal by one or more radio waves;
Time information generating means for generating time synchronization information based on the received standard time signal;
A time synchronization information transmission means for transmitting the generated time synchronization information to the PLC via a serial port;
The PLC synchronizes the internal clock with a standard time using the transmitted time synchronization information.
上記時刻情報発生手段は、生成した上記時刻同期情報に、設定された上記処理時間の分を加算して、時刻同期情報として出力する
ことを特徴とする請求項1記載のPLC用時刻同期装置。 It further comprises a time lag setting means for presetting a processing time required from the time when the standard time signal is received until the time synchronization information is generated,
The PLC time synchronizer according to claim 1, wherein the time information generation means adds the amount of the set processing time to the generated time synchronization information, and outputs the result as time synchronization information.
上記時刻同期情報伝送手段は、判定された上記種別に応じたデータ形式により上記時刻同期情報を伝送する
ことを特徴とする請求項1または2記載のPLC用時刻同期装置。 PLC type determining means for determining the PLC type via the serial port,
The time synchronization apparatus for PLC according to claim 1 or 2, wherein the time synchronization information transmission means transmits the time synchronization information in a data format corresponding to the determined type.
伝送する上記時刻同期情報を上記PLCの内部時計に書き込むための命令文を、判定された上記種別に応じた命令形式により生成して、上記PLCのメモリに記憶させる命令文書込手段と
をさらに備えたことを特徴とする請求項1または2記載のPLC用時刻同期装置。 PLC type determining means for determining the PLC type via the serial port;
A command document writing means for generating a command statement for writing the time synchronization information to be transmitted in the internal clock of the PLC in a command format corresponding to the determined type and storing the command statement in the memory of the PLC; The time synchronization apparatus for PLC according to claim 1 or 2, wherein
電波による標準時刻信号を受信するための標準時刻信号受信手段と、
受信した上記標準時刻信号に基づいて、時刻同期情報を生成する時刻情報発生手段と、
生成された上記時刻同期情報を、シリアルポート経由で、接続先の上記PLCへ送信する時刻同期情報伝送手段と、
接続先の上記PLCから上記PLCネットワークを介して他の各PLCへ上記時刻同期情報を送信するための同報伝送命令文を、接続先の上記PLCへ送信する同報伝送命令文送信手段と
を備え、
接続先の上記PLCは、上記同報伝送命令文に従って、伝送された上記時刻同期情報を、上記PLCネットワークに接続された他の各PLCへ伝送する
ことを特徴とした請求項1ないし4のいずれか1項に記載のPLC用時刻同期装置。 A PLC time synchronization apparatus connected to at least one PLC among a plurality of PLCs connected to a PLC network, and for synchronizing the time of an internal clock of each PLC with a standard time,
A standard time signal receiving means for receiving a standard time signal by radio waves;
Time information generating means for generating time synchronization information based on the received standard time signal;
A time synchronization information transmission means for transmitting the generated time synchronization information to the connected PLC via a serial port;
Broadcast transmission command statement transmission means for transmitting a broadcast transmission command statement for transmitting the time synchronization information from the connected PLC to the other PLCs via the PLC network to the connected PLC. Prepared,
5. The connection destination PLC transmits the transmitted time synchronization information to each other PLC connected to the PLC network in accordance with the broadcast transmission command statement. The PLC time synchronizer according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005290059A JP2007101306A (en) | 2005-10-03 | 2005-10-03 | Time synchronization system for plc |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005290059A JP2007101306A (en) | 2005-10-03 | 2005-10-03 | Time synchronization system for plc |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007101306A true JP2007101306A (en) | 2007-04-19 |
Family
ID=38028401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005290059A Pending JP2007101306A (en) | 2005-10-03 | 2005-10-03 | Time synchronization system for plc |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007101306A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011016689A2 (en) * | 2009-08-06 | 2011-02-10 | Korea Research Institute Of Standards And Science | Apparatus and method for transmitting and receiving time broadcasting information using power line |
JP2011252742A (en) * | 2010-06-01 | 2011-12-15 | Seiko Precision Inc | Time correction apparatus |
WO2012005492A2 (en) * | 2010-07-06 | 2012-01-12 | Korea Research Institute Of Standards And Science | Transformer bypass apparatus of time information broadcasting using power-line broadcasting |
KR101273824B1 (en) * | 2009-03-10 | 2013-06-11 | 엘에스산전 주식회사 | Event processing module and plc system |
CN104808479A (en) * | 2014-01-23 | 2015-07-29 | 大陆汽车车身电子系统(芜湖)有限公司 | Device and method for updating vehicle-mounted clock |
US9871609B2 (en) | 2015-07-08 | 2018-01-16 | Mitsubishi Electric Corporation | Network system, time master station, and time slave station |
JP2018032065A (en) * | 2016-08-22 | 2018-03-01 | 三菱電機株式会社 | Time synchronization control system |
US9910419B2 (en) | 2013-09-09 | 2018-03-06 | Harnischfeger Technologies, Inc. | System and method of synchronizing time between multiple systems |
WO2019159362A1 (en) * | 2018-02-19 | 2019-08-22 | 株式会社Fuji | Work apparatus and operation checking method for work apparatus |
-
2005
- 2005-10-03 JP JP2005290059A patent/JP2007101306A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101273824B1 (en) * | 2009-03-10 | 2013-06-11 | 엘에스산전 주식회사 | Event processing module and plc system |
WO2011016689A3 (en) * | 2009-08-06 | 2011-05-19 | Korea Research Institute Of Standards And Science | Apparatus and method for transmitting and receiving time broadcasting information using power line |
WO2011016689A2 (en) * | 2009-08-06 | 2011-02-10 | Korea Research Institute Of Standards And Science | Apparatus and method for transmitting and receiving time broadcasting information using power line |
US8761270B2 (en) | 2009-08-06 | 2014-06-24 | Korea Research Institute Of Standards And Science | Apparatus and method for transmitting and receiving time broadcasting information using power line |
JP2011252742A (en) * | 2010-06-01 | 2011-12-15 | Seiko Precision Inc | Time correction apparatus |
WO2012005492A2 (en) * | 2010-07-06 | 2012-01-12 | Korea Research Institute Of Standards And Science | Transformer bypass apparatus of time information broadcasting using power-line broadcasting |
KR101121468B1 (en) * | 2010-07-06 | 2012-03-16 | 한국표준과학연구원 | System of time information broadcasting using power-line broadcasting |
WO2012005492A3 (en) * | 2010-07-06 | 2012-03-01 | Korea Research Institute Of Standards And Science | Transformer bypass apparatus of time information broadcasting using power-line broadcasting |
US9910419B2 (en) | 2013-09-09 | 2018-03-06 | Harnischfeger Technologies, Inc. | System and method of synchronizing time between multiple systems |
CN104808479A (en) * | 2014-01-23 | 2015-07-29 | 大陆汽车车身电子系统(芜湖)有限公司 | Device and method for updating vehicle-mounted clock |
US9871609B2 (en) | 2015-07-08 | 2018-01-16 | Mitsubishi Electric Corporation | Network system, time master station, and time slave station |
JP2018032065A (en) * | 2016-08-22 | 2018-03-01 | 三菱電機株式会社 | Time synchronization control system |
WO2019159362A1 (en) * | 2018-02-19 | 2019-08-22 | 株式会社Fuji | Work apparatus and operation checking method for work apparatus |
JPWO2019159362A1 (en) * | 2018-02-19 | 2021-02-25 | 株式会社Fuji | Work equipment and how to check the operation of work equipment |
JP7075475B2 (en) | 2018-02-19 | 2022-05-25 | 株式会社Fuji | How to check the operation of work equipment and work equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007101306A (en) | Time synchronization system for plc | |
CN104579534A (en) | Clock synchronization method and system in SDH network | |
KR20170094128A (en) | Systems and methods for selectively receiving and processing rf signals at an rf beacon | |
JP2001326626A (en) | Method for synchronization, module and program module | |
JP6012535B2 (en) | Time information transmission device | |
US20190215231A1 (en) | Log information generation apparatus, information processing system, log information generation method, and non-transitory recording medium storing a log information generation program | |
JP2017216563A (en) | Repeating device, control method, and communication system | |
JP2007101457A (en) | Transmitter, receiver, time notification method, and time setting method | |
JP2001324584A (en) | Time synchronizer, time synchronizing system, and method of controlling time synchronizer | |
CN105281882A (en) | Method and device for realizing time synchronization | |
JP2007163330A (en) | Time information communication system | |
JP6490971B2 (en) | Time synchronization system | |
JP2011151530A (en) | Synchronization method of communication system, communication system, and master station | |
JP4528747B2 (en) | Automatic program transmission equipment and its transmission management method | |
JP2008099109A (en) | Module for wander absorption and delay correction | |
JP2006270228A (en) | Relay transmission system, transmitter switching apparatus, and switching method of transmitter | |
JP2006253748A (en) | Radio communication system | |
JP4108675B2 (en) | Data transfer apparatus and failure recovery method used for the data transfer apparatus | |
JP4677693B2 (en) | Data processing apparatus and data processing method | |
KR20030050871A (en) | Mobile communication synchronizing clock generator using gps and method for improving satellite receiver thereof | |
JP5898006B2 (en) | Timing control method | |
JP3070546B2 (en) | Alarm transfer circuit | |
CN118069551A (en) | Communication topology structure and communication control method of network management control equipment | |
JP2006138796A (en) | Time synchronizing system | |
US9979502B2 (en) | Apparatus and method for sample clock correction |