JP2010061458A5 - - Google Patents

Download PDF

Info

Publication number
JP2010061458A5
JP2010061458A5 JP2008227280A JP2008227280A JP2010061458A5 JP 2010061458 A5 JP2010061458 A5 JP 2010061458A5 JP 2008227280 A JP2008227280 A JP 2008227280A JP 2008227280 A JP2008227280 A JP 2008227280A JP 2010061458 A5 JP2010061458 A5 JP 2010061458A5
Authority
JP
Japan
Prior art keywords
slave
synchronization
scan
master
controller
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
JP2008227280A
Other languages
Japanese (ja)
Other versions
JP5067670B2 (en
JP2010061458A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2008227280A priority Critical patent/JP5067670B2/en
Priority claimed from JP2008227280A external-priority patent/JP5067670B2/en
Publication of JP2010061458A publication Critical patent/JP2010061458A/en
Publication of JP2010061458A5 publication Critical patent/JP2010061458A5/ja
Application granted granted Critical
Publication of JP5067670B2 publication Critical patent/JP5067670B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (8)

1台のマスタコントローラと1台または複数台のスレーブコントローラが通信ネットワークで接続されたマシンコントローラシステムにおいて、
前記スレーブコントローラは、
スレーブスキャン周期を発生するスレーブスキャン周期発生回路と、
前記スレーブスキャン周期を前記マスターコントローラのマスタスキャン周期に同期させる同期許可部と、
を備え、
前記同期許可部は、前記スレーブコントローラの初期化時に前記スレーブスキャン周期を前記マスタスキャン周期に同期させる際に、前記スレーブスキャン周期発生回路の発生するスレーブスキャン周期を一時的に長くすることを特徴とするマシンコントローラシステム。
In a machine controller system in which one master controller and one or more slave controllers are connected via a communication network,
The slave controller is
A slave scan cycle generation circuit for generating a slave scan cycle;
A synchronization permission unit for synchronizing the slave scan period with the master scan period of the master controller;
With
The synchronization permission unit temporarily lengthens a slave scan period generated by the slave scan period generation circuit when synchronizing the slave scan period with the master scan period when the slave controller is initialized. To machine controller system.
前記マスタコントローラでは、前記マスタスキャン周期が、前記マスタコントローラと前記スレーブコントローラとが通信を行う通信周期と同期しており、
前記スレーブコントローラは、
スレーブ基準周期を発生するスレーブ基準周期発生回路を備え、
前記スレーブスキャン周期発生回路は前記スレーブ基準周期を計数して前記スレーブスキャン周期を発生し、
前記同期許可部は、前記スレーブコントローラの初期化時の同期後も前記スレーブスキャン周期の前記マスタスキャン周期への同期状態を保つように、前記スレーブコントローラが前記通信周期で同期フレームを受信する毎に、前記スレーブ基準周期発生回路をリセットすることを特徴とする請求項1に記載のマシンコントローラシステム。
In the master controller, the master scan cycle is synchronized with a communication cycle in which the master controller and the slave controller communicate,
The slave controller is
A slave reference cycle generation circuit that generates a slave reference cycle is provided.
The slave scan cycle generation circuit generates the slave scan cycle by counting the slave reference cycle,
Each time the slave controller receives a synchronization frame in the communication cycle, the synchronization permission unit maintains the synchronization state of the slave scan cycle to the master scan cycle even after synchronization at the time of initialization of the slave controller. The machine controller system according to claim 1 , wherein the slave reference period generation circuit is reset .
前記スレーブコントローラは、前記スレーブスキャン周期が前記マスタスキャン周期の整数倍または整数分の1倍であるときに限り、前記スレーブスキャン周期を前記マスタスキャン周期に同期させることを特徴とする請求項1又は請求項2に記載のマシンコントローラシステム。 The slave controller synchronizes the slave scan period with the master scan period only when the slave scan period is an integral multiple or a fraction of an integral multiple of the master scan period. The machine controller system according to claim 2. 前記同期許可部は、前記スレーブスキャン周期を前記マスタスキャン周期に同期させる場合の、入力としての同期許可信号と、出力としての初回フラグを備え、
前記スレーブ基準周期発生回路をリセットするリセット信号は、前記同期許可信号が前記同期許可部に書き込まれた後に、前記同期フレームを受信する毎に出力されるものであり、前記初回フラグは、前記同期許可信号が前記同期許可部に書き込まれた後に、最初に前記同期フレームを受信するときにのみ出力されるものであり、
前記スレーブ基準周期発生回路は、前記初回フラグが入力されている間はスレーブ基準周期信号を出力しないものであり、
前記スレーブスキャン周期発生回路は、前記初回フラグが入力されている間に前記リセット信号が入力される場合に限りリセットされ、前記初回フラグが入力されている間は前記スレーブスキャン周期信号を出力しないものであることを特徴とする請求項2又は請求項3に記載のマシンコントローラシステム。
The synchronization permission unit includes a synchronization permission signal as an input and an initial flag as an output when synchronizing the slave scan period with the master scan period,
The reset signal for resetting the slave reference cycle generation circuit is output every time the synchronization frame is received after the synchronization permission signal is written to the synchronization permission unit, and the initial flag is the synchronization flag. After the permission signal is written in the synchronization permission unit, it is output only when the synchronization frame is first received,
The slave reference period generation circuit does not output a slave reference period signal while the initial flag is input,
The slave scan cycle generation circuit is reset only when the reset signal is input while the initial flag is input, and does not output the slave scan cycle signal while the initial flag is input The machine controller system according to claim 2 , wherein the machine controller system is a machine controller system.
1台のマスタコントローラと1台または複数台のスレーブコントローラが通信ネットワークで接続されて一定の通信周期で通信するマシンコントローラシステムの同期方法において、  In a synchronization method of a machine controller system in which one master controller and one or more slave controllers are connected via a communication network and communicate with each other at a constant communication cycle,
前記マスタコントローラがマスタスキャン周期を前記スレーブコントローラに送信し、  The master controller sends a master scan period to the slave controller;
前記スレーブコントローラは同期可否を判断した結果を前記マスタコントローラに返信し、  The slave controller returns the result of determining whether synchronization is possible or not to the master controller,
前記マスタコントローラは、前記スレーブコントローラが同期可能であることを返信した場合に、同期開始要求、および前記マスタスキャン周期を前記通信周期で計数したスキャンカウンタ値を前記スレーブコントローラに送信し、  When the master controller returns that the slave controller can be synchronized, a synchronization start request and a scan counter value obtained by counting the master scan period in the communication period are transmitted to the slave controller,
前記スレーブコントローラは、前記同期開始要求および前記スキャンカウンタ値を受信したときに同期化処理を行い、その同期化処理が完了したら前記マスタコントローラへ同期完了を送信することを特徴とするマシンコントローラシステムの同期方法。  The slave controller performs synchronization processing when receiving the synchronization start request and the scan counter value, and transmits the synchronization completion to the master controller when the synchronization processing is completed. Synchronization method.
前記同期可否判断は、前記通信周期が前記マスタスキャン周期の整数倍または整数分の1倍、前記スレーブスキャン周期が前記通信周期の整数倍または整数分の1倍、および前記スレーブスキャン周期がマスタスキャン周期の整数倍または整数分の1倍、という条件のいずれもが成立する場合に同期可能と判断するものであることを特徴とする請求項5に記載のマシンコントローラシステムの同期方法。  The determination of whether or not synchronization is possible is made by determining that the communication cycle is an integer multiple of the master scan cycle or a fraction of an integer, the slave scan cycle is an integer multiple of the communication cycle or a fraction of an integer, and the slave scan cycle is a master scan. 6. The machine controller system synchronization method according to claim 5, wherein the synchronization is determined to be possible when both of an integral multiple of a period or a integral fraction of 1 are satisfied. 前記同期化処理は、前記マスタコントローラから送信される前記スキャンカウンタ値を監視してマスタスキャン開始タイミングを検出した後、前記通信周期毎に前記スレーブ基準周期をリセットし、その最初のリセット時にはスレーブ基準周期信号を出力させず、  The synchronization process monitors the scan counter value transmitted from the master controller and detects the master scan start timing, and then resets the slave reference period for each communication period. Without outputting a periodic signal
前記スレーブスキャン周期を最初のリセット信号でのみリセットし、その時にスレーブスキャン周期信号を出力させないことによって行われることを特徴とする請求項5又は請求項6に記載のマシンコントローラシステムの同期方法。  7. The machine controller system synchronization method according to claim 5, wherein the slave scan period is reset only by an initial reset signal and no slave scan period signal is output at that time.
前記マスタスキャン開始タイミングの検出は、前記スキャンカウンタ値があらかじめ設定された値と等しいか否かを判断することによって行うものであることを特徴とする請求項5又は請求項6又は請求項7に記載のマシンコントローラシステムの同期方法。  The detection of the master scan start timing is performed by determining whether or not the scan counter value is equal to a preset value. A method of synchronizing the machine controller system described.
JP2008227280A 2008-09-04 2008-09-04 Machine controller system Active JP5067670B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008227280A JP5067670B2 (en) 2008-09-04 2008-09-04 Machine controller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008227280A JP5067670B2 (en) 2008-09-04 2008-09-04 Machine controller system

Publications (3)

Publication Number Publication Date
JP2010061458A JP2010061458A (en) 2010-03-18
JP2010061458A5 true JP2010061458A5 (en) 2011-07-07
JP5067670B2 JP5067670B2 (en) 2012-11-07

Family

ID=42188180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008227280A Active JP5067670B2 (en) 2008-09-04 2008-09-04 Machine controller system

Country Status (1)

Country Link
JP (1) JP5067670B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011123688A (en) * 2009-12-11 2011-06-23 Fuji Electric Systems Co Ltd Synchronizing programmable controller and synchronizing programmable controller system
JP6015768B2 (en) 2012-11-20 2016-10-26 株式会社安川電機 Programmable controller
US10274929B2 (en) * 2013-11-14 2019-04-30 Fuji Corporation Servo controller
US11133745B2 (en) * 2019-02-21 2021-09-28 Renesas Electronics America Inc. Automatic power-on-reset detection and recovery of a multi-phase digital buck controller
JP7248044B2 (en) * 2021-02-26 2023-03-29 株式会社安川電機 CONTROLLER, EQUIPMENT CONTROL SYSTEM, TIME SYNCHRONIZATION METHOD, AND TIME SYNCHRONIZATION PROGRAM

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000004243A (en) * 1998-06-15 2000-01-07 Mitsubishi Electric Corp Data communication method for programmable controller and programmable controller
JP2000112519A (en) * 1998-10-02 2000-04-21 Toshiba Corp Distributed process inputting and outputting device

Similar Documents

Publication Publication Date Title
JP2010061458A5 (en)
JP2018510567A5 (en)
MX2019002441A (en) Network timing synchronization.
CN106464656B (en) Time synchronization method and device
GB2529094A (en) A data processing apparatus and method for communicating between a master device and an asynchronous slave device via an interface
JP2015503887A5 (en)
US20160359610A1 (en) Method and apparatus for synchronization of slave clock to master clock
MX2009007877A (en) Server time protocol messages and methods.
CN101807988A (en) From the device, from the device time synchronization method, main device and electronic apparatus system
JP2016139846A (en) Time synchronization system, master unit and slave unit, and time synchronization method
CN112653532A (en) Clock synchronization method, device and system
GB2486376A (en) Techniques for improved clock offset measuring
JP5815155B2 (en) Relay device, relay method, and relay program
JP2013168811A (en) Network system and time synchronization method
CN103118029A (en) Synchronized method and device of encrypted messages between each other
CN115865246A (en) Time synchronization device, system and method
JP5067670B2 (en) Machine controller system
CN203722758U (en) Synchronizer for distributed video system
JP2003179662A5 (en)
CN105610532B (en) The method for transmission processing and device of signal, equipment
JP2003179584A (en) Synchronous method of network system
GB2503387A (en) IR protocol for 3D active eyewear
CN105247810B (en) Method for detecting transmitter local zone time in receiver
WO2020095413A1 (en) Communication system, communication device, method, and program
JP2008310449A5 (en)