libethercat - an embeddable realtime EtherCAT-master library
Communicate with EtherCAT slaves attached to a Network interface.
Loading...
Searching...
No Matches
ec_dc_info Struct Reference

Data Fields

osal_uint16_t master_address
 
int have_dc
 At least one slave is using DCs.
 
int next
 
int prev
 
osal_uint64_t dc_time
 Time from DC master clock.
 
osal_int64_t dc_sto
 System time offset of DC master clock.
 
osal_uint64_t rtc_time
 Time from realtime (EtherCAT master) clock.
 
osal_int64_t rtc_sto
 System time offset of realtime clock.
 
osal_int64_t act_diff
 Actual difference of DC and RTC clock.
 
osal_uint64_t packet_duration
 Packet duration on wire.
 
double timer_correction
 Correction value for EtherCAT master timer in [ns].
 
struct { 
 
   double   diffsum 
 
   double   diffsum_limit 
 
   double   kp 
 
   double   ki 
 
   double   v_part_old 
 
control 
 PI-controller to adjust EtherCAT master timer value.
 
osal_uint64_t sent_time_nsec
 
ec_dc_mode_t mode
 
ec_cyclic_datagram_t cdg
 DC cyclic datagram.
 

The documentation for this struct was generated from the following file: