Master()
Constructor of Master class.
void set_dc_compensate_shift_time(int32_t shift_time)
Set the DC compensate shift time.
void end()
Close all interface(s) (ethernet and EtherCAT)
void set_redundant_interface(const std::string &interface_redundant)
Set the secondary (redundant) network interface to the EtherCAT system (Master)
Header file for Device class.
bool is_redundant() const
Tell whether the master is configured in redundant mode.
This class define The EtherCAT Master.
Definition: master.h:50
bool next_cycle()
Launch next ethercat communication cycle.
void set_primary_interface(const std::string &interface_primary)
Set the primary network interface to the EtherCAT system (Master)
This abstract class define an EtherCAT device.
Definition: device.h:49
void add(Device &device)
Add a new device to the global Ethercat bus. The order of addition must match the hardware order....
std::unique_ptr< Impl > impl_
Definition: master.h:130
void init()
Initializes network interface(s) then detect and match all devices on hardware bus.
void print_slave_info()
Print all devices informations from EtherCAT system (Master) datas.
Master & operator=(Master &&)=default