[etherlab-users] 答复: [SPAM] etherlab-users Digest, Vol 106, Issue 6

Gavin Lambert gavinl at compacsort.com
Fri Apr 15 04:15:57 CEST 2016


On Friday, 15 April 2016 13:49, quoth shouqiang.yao at scbd.com.cn:
>   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.





More information about the Etherlab-users mailing list