On Friday, 15 April 2016 13:49, quoth [email protected]: > When I use the interface function: ecrt_slave_config_dc(sc1, 0x0730, > 250000, 0, 1750000, 0); > > I can't understand the parameter "SYNC0 shift time" used in the master > module, in the master modules code , the "SYNC0 shift time" is used in > function "ec_fsm_slave_config_state_dc_sync_check" and the note is to "find > the correct phase", what's the exact meaning of "find the correct phase"?
The shift time alters the phase (shifts the timing) between the SYNC0 signal and the target time for the EtherCAT domain datagram exchange. Exactly how this is affected and what values you should use depend on the cycle rate of your domain and the DC operation mode of the slave. Typically you should find guidance on what values to use in the slave vendor's datasheets or other documentation. You may also need to adjust it depending on the system jitter of your master PC. _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
