|
| template<typename T , typename... U> |
| void | define_physical_buffer (syncmanager_buffer_t type, uint16_t start_addr, uint32_t flags) |
| | Define a physical buffer (EtherCAT syncManager buffer). More...
|
| |
| void | define_physical_buffer (syncmanager_buffer_t type, uint16_t start_addr, uint32_t flags, uint16_t length) |
| | Define a physical buffer (EtherCAT syncManager buffer). More...
|
| |
| template<typename T > |
| T * | input_buffer (uint16_t start_addr) |
| | Get data of input physical buffer. More...
|
| |
| template<typename T , typename U , typename... Other> |
| std::tuple< T *, U *, Other *... > | input_buffer (uint16_t start_addr) |
| |
| uint8_t * | input_buffer (uint16_t start_addr) |
| | Get data of input physical buffer. More...
|
| |
| template<typename T > |
| T * | output_buffer (uint16_t start_addr) |
| | Get data of output physical buffer. More...
|
| |
| template<typename T , typename U , typename... Other> |
| std::tuple< T *, U *, Other *... > | output_buffer (uint16_t start_addr) |
| |
| uint8_t * | output_buffer (uint16_t start_addr) |
| | Get data of output physical buffer. More...
|
| |
| void | add_run_step (std::function< void()> &&pre, std::function< void()> &&post) |
| | Add a run step and define pre_function and post_function run step. More...
|
| |
| void | add_init_step (std::function< void()> &&pre, std::function< void()> &&post) |
| | Add a init step and define pre_function and post_function for this init step. More...
|
| |
| void | add_end_step (std::function< void()> &&pre, std::function< void()> &&post) |
| | Add a end step and define pre_function and post_function for this end step. More...
|
| |
| void | set_id (const std::string &name, uint32_t manufacturer, uint32_t model) |
| | Set a specific ID to the slave. More...
|
| |
| void | define_distributed_clock (bool have_dc) |
| | Define if the slave have a distributed clock. More...
|
| |
| void | define_period_for_non_cyclic_steps (int period) |
| | Define the period between two non cyclic steps. More...
|
| |
| void | configure_at_init (std::function< void()> &&func) |
| | Define the function that configures the slave in PREOP state at initialization of the ethercat bus (Master::init()) . More...
|
| |
| void | configure_at_end (std::function< void()> &&func) |
| | Define the function that performs configuration actions in PREOP state at termination of the ethercat bus. (Master::end()). More...
|
| |
| int | write_sdo (uint16_t index, uint8_t sub_index, int buffer_size, void *buffer) const |
| | write a SDO capable object field More...
|
| |
| int | read_sdo (uint16_t index, uint8_t sub_index, int buffer_size, void *buffer) const |
| | read a SDO capable object field More...
|
| |
| template<typename T > |
| int | write_sdo (uint16_t index, uint8_t sub_index, T &value) const |
| | Send a CoE write SDO packet to the slave. More...
|
| |
| template<typename T > |
| int | read_sdo (uint16_t index, uint8_t sub_index, T &value) const |
| | Send a CoE read SDO packet to the slave. More...
|
| |
| template<typename T > |
| bool | start_command_pdo_mapping () |
| | Start the definition of the command PDO mapping. More...
|
| |
| template<typename T > |
| bool | add_command_pdo_mapping (uint16_t pdo_address) |
| | Add a new command PDO map link. More...
|
| |
| template<typename T > |
| bool | end_command_pdo_mapping () |
| | Finish the definition of the command PDO mapping. More...
|
| |
| template<typename T > |
| bool | start_status_pdo_mapping () |
| | Start definition of the status PDO mapping. More...
|
| |
| template<typename T > |
| bool | add_status_pdo_mapping (uint16_t pdo_address) |
| | Add a new STATUS PDO map link. More...
|
| |
| template<typename T > |
| bool | end_status_pdo_mapping () |
| | Finish definition of the status PDO mapping. More...
|
| |
| void | configure_dc_sync0 (uint32_t cycle_time_0, int32_t cycle_shift) const |
| | Define DC synchro signal 0. More...
|
| |
| void | configure_dc_sync0_1 (uint32_t cycle_time_0, uint32_t cycle_time_1, int32_t cycle_shift) const |
| | Define DC synchro signals 0 and 1. More...
|
| |
| int32_t | read_file (std::string_view filename, uint32_t password, int32_t size, uint8_t *buffer) const |
| |
| bool | write_file (std::string_view filename, uint32_t password, int32_t size, uint8_t *buffer) const |
| |
| bool | read_sercos (uint8_t drive, uint8_t flags, uint16_t idn, int32_t size, uint8_t *buffer) const |
| |
| bool | write_sercos (uint8_t drive, uint8_t flags, uint16_t idn, int32_t size, uint8_t *buffer) const |
| |
This class describe the EtherCAT driver for a beckhoff EL1018 device.
This driver permit to communicate with a "beckhoff EL1018" through an EtherCAT bus. The EL1018 EtherCAT Terminal is an interface to connect 8-channel digital input (fast).
WARNING !! Inputs ids channels are not the same that Connectors ids !!!
- Examples
- example_EL1018.cpp, and example_EL1018_2008.cpp.