Skip to main content
Version: 1.0.14

ecfacade::Encoder

High-level encoder handle. More...

#include <encoder.hpp>

Inherits from DeviceFacade

Public Functions

Name
std::int32_tvelocity() const
std::uint16_tstatus() const
std::int32_tposition() 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 23:28:44 +0000