<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:14px"><div id="yui_3_16_0_1_1456736862550_63992">Hi,</div><div id="yui_3_16_0_1_1456736862550_64019"><br></div><div id="yui_3_16_0_1_1456736862550_64035">Just a question or two about distributed clocks. </div><div id="yui_3_16_0_1_1456736862550_64035"><br></div><div id="yui_3_16_0_1_1456736862550_64035">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.</div><div id="yui_3_16_0_1_1456736862550_64035"><br></div><div id="yui_3_16_0_1_1456736862550_64035" dir="ltr">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.</div><div id="yui_3_16_0_1_1456736862550_64035" dir="ltr"><br></div><div id="yui_3_16_0_1_1456736862550_64035" dir="ltr">From looking at the example "dc_user" supplied in the master download, it calls ecrt_slave_config_dc() only for the IDS_COUNTER module.</div><div id="yui_3_16_0_1_1456736862550_64035" dir="ltr"><br></div><div id="yui_3_16_0_1_1456736862550_64035" dir="ltr">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 <span id="yui_3_16_0_1_1456736862550_64325" class="" style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"> </span><span id="yui_3_16_0_1_1456736862550_64327" class="" style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">ecrt_master_reference_clock_time() is </span>not used at all here.</div><div id="yui_3_16_0_1_1456736862550_64035" dir="ltr"><br></div><div id="yui_3_16_0_1_1456736862550_64035" dir="ltr">Is this all that is required to control the distributed clocks ? Thank you in advance.</div></div></body></html>