[etherlab-users] distributed clocks query

Richard Hacker ha at igh.de
Mon Feb 29 15:57:21 CET 2016


I only configure DC on the slaves that are actually required to be 
synchronized.

Otherwise it seems correct what you are doing...

Am 2016-02-29 um 14:45 schrieb Paul Mulligan:
> 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.
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>



More information about the Etherlab-users mailing list