|
| | ExampleSlave (const std::string &name, rokubimini::soem_interface::EthercatBusBase *bus, const uint32_t address) |
| |
| PdoInfo | getCurrentPdoInfo () const override |
| | Gets the current pdo information. More...
|
| |
| std::string | getName () const override |
| | Returns the name of the slave. More...
|
| |
| void | shutdown () override |
| | Used to shutdown slave specific objects. More...
|
| |
| bool | startup () override |
| | Startup non-ethercat specific objects for the slave. More...
|
| |
| void | updateRead () override |
| | Called during reading the ethercat bus. Use this method to extract readings from the ethercat bus buffer. More...
|
| |
| void | updateWrite () override |
| | Called during writing to the ethercat bus. Use this method to stage a command for the slave. More...
|
| |
| | ~ExampleSlave () override=default |
| |
| | EthercatSlaveBase (EthercatBusBase *bus, const uint32_t address) |
| |
| uint32_t | getAddress () const |
| | Returns the bus address of the slave. More...
|
| |
| template<typename Value > |
| bool | sendSdoRead (const uint16_t index, const uint8_t subindex, const bool completeAccess, Value &value) |
| |
| virtual bool | sendSdoReadDouble (const uint16_t index, const uint8_t subindex, const bool completeAccess, double &value) |
| |
| virtual bool | sendSdoReadFloat (const uint16_t index, const uint8_t subindex, const bool completeAccess, float &value) |
| |
| virtual bool | sendSdoReadGeneric (const std::string &indexString, const std::string &subindexString, const std::string &valueTypeString, std::string &valueString) |
| |
| virtual bool | sendSdoReadInt16 (const uint16_t index, const uint8_t subindex, const bool completeAccess, int16_t &value) |
| |
| virtual bool | sendSdoReadInt32 (const uint16_t index, const uint8_t subindex, const bool completeAccess, int32_t &value) |
| |
| virtual bool | sendSdoReadInt64 (const uint16_t index, const uint8_t subindex, const bool completeAccess, int64_t &value) |
| |
| virtual bool | sendSdoReadInt8 (const uint16_t index, const uint8_t subindex, const bool completeAccess, int8_t &value) |
| |
| virtual bool | sendSdoReadUInt16 (const uint16_t index, const uint8_t subindex, const bool completeAccess, uint16_t &value) |
| |
| virtual bool | sendSdoReadUInt32 (const uint16_t index, const uint8_t subindex, const bool completeAccess, uint32_t &value) |
| |
| virtual bool | sendSdoReadUInt64 (const uint16_t index, const uint8_t subindex, const bool completeAccess, uint64_t &value) |
| |
| virtual bool | sendSdoReadUInt8 (const uint16_t index, const uint8_t subindex, const bool completeAccess, uint8_t &value) |
| |
| template<typename Value > |
| bool | sendSdoWrite (const uint16_t index, const uint8_t subindex, const bool completeAccess, const Value value) |
| |
| virtual bool | sendSdoWriteDouble (const uint16_t index, const uint8_t subindex, const bool completeAccess, const double value) |
| |
| virtual bool | sendSdoWriteFloat (const uint16_t index, const uint8_t subindex, const bool completeAccess, const float value) |
| |
| virtual bool | sendSdoWriteGeneric (const std::string &indexString, const std::string &subindexString, const std::string &valueTypeString, const std::string &valueString) |
| |
| virtual bool | sendSdoWriteInt16 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const int16_t value) |
| |
| virtual bool | sendSdoWriteInt32 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const int32_t value) |
| |
| virtual bool | sendSdoWriteInt64 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const int64_t value) |
| |
| virtual bool | sendSdoWriteInt8 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const int8_t value) |
| |
| virtual bool | sendSdoWriteUInt16 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const uint16_t value) |
| |
| virtual bool | sendSdoWriteUInt32 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const uint32_t value) |
| |
| virtual bool | sendSdoWriteUInt64 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const uint64_t value) |
| |
| virtual bool | sendSdoWriteUInt8 (const uint16_t index, const uint8_t subindex, const bool completeAccess, const uint8_t value) |
| |
| virtual | ~EthercatSlaveBase ()=default |
| |
Definition at line 24 of file ExampleSlave.hpp.