[etherlab-users] [PATNI] Regarding DC Synchronisation
Dhake, Yogesh
yogesh.dhake at igatepatni.com
Thu May 19 08:59:48 CEST 2011
Hi,
EtherCAT master performs DC synchronization as below:
1) Initially EtherCAT master calculates Propagation delay time between slaves.
2) Time Delay calculated (actual frame send from Master state machine - application start time) and deducted from System Time read from slave. New Offset time (new offset = old offset from slave + time difference between Master Application Start Time and Slave System Time) is send to slaves.
3) After this, Master sends synchronization datagram (with command FRMW-First READ MULTIPLE WRITE) to reference clock slave as well as to other EtherCAT slaves on network.
4) FRMW command reads reference clock slave system time (lower 32 bit) (0x0910 to 0x0927) and writes to lower 32 bit of other EtherCAT slave system time register (0x0910 to 0x0927).
5) Activity number 2 to 4 happens at every 10ms in user application.
6) Our observation is difference between master time and slave system time is around 16-20 seconds after step 2.
7) Slave System Time is not accessible to us for checking whether Slave System Time synchronized with Master Application Time.
Our query is:
1. How can we reduce difference between Master Application Time and Slave System Time in step 2?
2. How to check System Time register of BECKHOFF slave after step 4?
Please let us know your valuable inputs regarding synchronization of Distributed clocks of EtherCAT slaves.
Please find attached DC synchronization process. Rename file to .png type.
Regards,
Yogesh
________________________________
Information contained and transmitted by this e-mail is confidential and proprietary to iGATE Patni and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or netadmin at igatepatni.com. iGATE Patni does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of iGATE Patni. iGATE Patni is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While iGATE Patni has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about iGATE Patni please visit www.igatepatni.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20110519/035cc043/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DC_Synchronisation.abc
Type: application/octet-stream
Size: 204788 bytes
Desc: DC_Synchronisation.abc
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20110519/035cc043/attachment-0003.obj>
More information about the Etherlab-users
mailing list