[etherlab-users] distributed clocks query

Paul Mulligan mulligan252 at yahoo.ie
Mon Feb 29 14:45:48 CET 2016


Hi,
Just a question or two about distributed clocks. 
I have a system with an EL1008 digital input module, EL3001 analogue input module, two EL7031 stepper motor driver modules and two EL2008 digital output modules in that order. I am using the EK1100 bus coupler terminal as the first module.
Do I need to call ecrt_slave_config_dc() for all of these modules before activating the master, or just the first module on the bus? My understanding from reading about distributed clocks is that the first module on the bus with DC capability should be used as the reference clock.
>From looking at the example "dc_user" supplied in the master download, it calls ecrt_slave_config_dc() only for the IDS_COUNTER module.
In the cyclic_task(), the functions ecrt_master_application_time(), ecrt_master_sync_reference_clock(), ecrt_master_sync_slave_clocks() are then called in that order. I notice  ecrt_master_reference_clock_time() is not used at all here.
Is this all that is required to control the distributed clocks ? Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20160229/981c30e4/attachment-0002.htm>


More information about the Etherlab-users mailing list