|
| SoemSlave (const uint16_t position) |
|
| ~SoemSlave () override |
|
uint16_t | get_device_id () const override |
| Get the ID (absolute position) of the EtherCAT slave in the EtherCAT chain. More...
|
|
uint16_t | get_hardware_id () const override |
| Get the hardware ID. More...
|
|
Type | get_device_type () const override |
| Get the device type. More...
|
|
std::list< VirtualParameter * > | get_all_virtual_parameters () override |
| Get all configuration parameters from a slave. More...
|
|
VirtualParameter * | get_virtual_parameter (uint16_t index, uint8_t subindex) override |
| Get a configuration parameter by its index/subindex. More...
|
|
std::variant< MotionMasterError, std::list< std::string > > | get_file_list () override |
| Get the list of available files on the device. More...
|
|
std::variant< MotionMasterError, std::vector< uint8_t > > | read_file (const std::string &file_name) override |
| Return the raw content (bytes) of the requested file from the flash memory. More...
|
|
MotionMasterError | write_file (const std::string &file_name, const std::vector< uint8_t > &content, std::function< void(uint8_t)> progress_callback) override |
| Write raw content (bytes) into a file in the flash memory. More...
|
|
MotionMasterError | remove_file (const std::string &file_name) override |
| Remove a file from the flash memory. More...
|
|
bool | has_firmware () override |
| Check if the slave has a firmware installed. More...
|
|
bool | is_operational () const override |
| Request the current slave state. More...
|
|
bool | is_supported () |
|
bool | has_pdos () override |
| Check if PDO mapping is available. More...
|
|
State | get_state (bool force_refresh) const override |
| Get the slave EtherCAT state. More...
|
|
bool | set_state (State state, uint32_t timeout_ms=5000) override |
| Change the EtherCAT state of the slave. More...
|
|
bool | request_state_switch (State state) override |
|
MotionMasterError | write_sii (const std::vector< uint8_t > &content) override |
|
void | receive_pdos (const uint8_t *process_data) override |
|
void | update_outputs () |
|
void | send_pdos (const uint8_t *process_data) override |
|
void | update_inputs () |
|
std::variant< MotionMasterError, std::vector< uint8_t > > | get_file_content (const std::string &file_name) |
|
int32_t | set_file_content (const std::string &file_name, const std::vector< uint8_t > &content) |
|
bool | write_file_as_parts (const std::string &file_name, const std::vector< uint8_t > &content, std::function< void(uint8_t)> progress_callback) |
|
MotionMasterError | do_remove_file (const std::string &file_name) |
|
| EthercatSlave () |
|
| EthercatSlave (EthercatSlave const &) |
|
| ~EthercatSlave () |
|
uint16_t | get_device_id () const override |
| Get the ID (absolute position) of the EtherCAT slave in the EtherCAT chain. More...
|
|
uint16_t | get_hardware_id () const override |
| Get the hardware ID. More...
|
|
Protocol | get_protocol () const override |
| Get the protocol the device uses. More...
|
|
Type | get_device_type () const override |
| Get the device type. More...
|
|
std::list< VirtualParameter * > | get_all_virtual_parameters () override |
| Get all configuration parameters from a slave. More...
|
|
VirtualParameter * | get_virtual_parameter (uint16_t index, uint8_t subindex) override |
| Get a configuration parameter by its index/subindex. More...
|
|
std::variant< MotionMasterError, std::list< std::string > > | get_file_list () override |
| Get the list of available files on the device. More...
|
|
std::variant< MotionMasterError, std::vector< uint8_t > > | read_file (const std::string &file_name) override |
| Return the raw content (bytes) of the requested file from the flash memory. More...
|
|
MotionMasterError | write_file (const std::string &file_name, const std::vector< uint8_t > &content, std::function< void(uint8_t)> progress_callback) override |
| Write raw content (bytes) into a file in the flash memory. More...
|
|
MotionMasterError | remove_file (const std::string &file_name) override |
| Remove a file from the flash memory. More...
|
|
virtual bool | has_firmware () |
| Check if the slave has a firmware installed. More...
|
|
bool | is_operational () const override |
| Request the current slave state. More...
|
|
virtual bool | has_pdos () |
| Check if PDO mapping is available. More...
|
|
virtual State | get_state (bool force_refresh) const |
| Get the slave EtherCAT state. More...
|
|
virtual bool | set_state (State state, uint32_t timeout_ms=10000) |
| Change the EtherCAT state of the slave. More...
|
|
virtual MotionMasterError | write_sii (const std::vector< uint8_t > &content) |
| Write the SII file content onto an EtherCAT slave. More...
|
|
virtual void | update_pdo_mapping_od () |
|
virtual void | receive_pdos (const uint8_t *process_data) |
|
virtual void | send_pdos (const uint8_t *process_data) |
|
virtual bool | request_state_switch (State state) |
|
virtual | ~VirtualDevice ()=default |
|
virtual uint16_t | get_device_id () const =0 |
| Get the device ID. More...
|
|
virtual uint16_t | get_hardware_id () const =0 |
| Get the hardware ID. More...
|
|
virtual Protocol | get_protocol () const |
| Get the protocol the device uses. More...
|
|
virtual Type | get_device_type () const |
| Get the device type. More...
|
|
virtual std::list< VirtualParameter * > | get_all_virtual_parameters ()=0 |
| Get all available configuration parameters on the virtual device. More...
|
|
virtual VirtualParameter * | get_virtual_parameter (uint16_t index, uint8_t subindex)=0 |
| Get a configuration parameter. More...
|
|
virtual std::variant< MotionMasterError, std::list< std::string > > | get_file_list ()=0 |
| Get the list of available files on the device. More...
|
|
virtual std::variant< MotionMasterError, std::vector< uint8_t > > | read_file (const std::string &file_name)=0 |
| Get the file content from a file from the flash memory. More...
|
|
virtual MotionMasterError | write_file (const std::string &file_name, const std::vector< uint8_t > &content, std::function< void(uint8_t)> progress_callback)=0 |
| Write the file to the flash memory. More...
|
|
virtual MotionMasterError | remove_file (const std::string &file_name)=0 |
| Remove the file from the flash memory. More...
|
|
virtual bool | is_operational () const =0 |
| Check if the device is operational. More...
|
|