ecfacade::Encoder
High-level encoder handle. More...
#include <encoder.hpp>
Inherits from DeviceFacade
Public Functions
| Name | |
|---|---|
| std::int32_t | velocity() const |
| std::uint16_t | status() const |
| std::int32_t | position() const |
| ecdev::IEncoderProfile * | encoderProfile() const |
| Encoder(ecdev::IEncoderProfile * enc, std::string name, ecdev::IEthercatDevice * device) |
Detailed Description
class ecfacade::Encoder;
High-level encoder handle.
Thin wrapper over an [ecdev::IEncoderProfile](/lxmaster/api/classes/IEncoderProfile); the application reads position/velocity/status without seeing CoE objects or the backend.
Public Functions Documentation
function velocity
std::int32_t velocity() const
function status
std::uint16_t status() const
function position
std::int32_t position() const
function encoderProfile
ecdev::IEncoderProfile * encoderProfile() const
function Encoder
Encoder(
ecdev::IEncoderProfile * enc,
std::string name,
ecdev::IEthercatDevice * device
)
Updated on 2026-07-04 at 22:59:44 +0000