plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::fb::HomingSearchFb类 参考

#include <homing.h>

类 plcopen::core::fb::HomingSearchFb 继承关系图:
plcopen::core::fb::HomingSearchFb 的协作图:

Public 属性

axis::AxisModel * axis_ref = nullptr
bool execute = false
double velocity = 1.0
double set_position = 0.0
bool set_position_enabled = true
axis::HomeDirection direction = axis::HomeDirection::positive
double torque_limit = 0.0
axis::BufferMode buffer_mode = axis::BufferMode::aborting
std::int64_t time_limit = 0
double distance_limit = 0.0
MotionOutputs outputs {}

Protected 类型

enum class  Phase {
  idle , queued_escape , queued_search , escaping ,
  searching , halting , positioning
}
enum class  SignalSource { reference , positive_limit , negative_limit }

Protected 成员函数

bool rising_edge ()
bool validate_inputs (bool require_reference) const
rt::ErrorCode start_escape ()
rt::ErrorCode start_search ()
void activate_escape ()
rt::ErrorCode activate_search ()
void observe ()
std::size_t signal_input () const
rt::Result< bool > read_signal () const
void configure_reference (axis::ReferenceSignalRef reference, axis::SwitchMode mode, bool use_probe)
void configure_limit (axis::SwitchMode mode)
bool valid_switch_mode () const
void set_escape_level (bool level)
void set_reverse_on_limit (bool enabled)
bool set_direction_sign (bool initial_level, bool allow_switch_modes)

Protected 属性

Phase phase_ = Phase::idle

详细描述

在文件 homing.h 第 156 行定义.

成员枚举类型说明

◆ Phase

enum class plcopen::core::fb::HomingSearchFb::Phase
strongprotected
枚举值
idle 
queued_escape 
queued_search 
escaping 
searching 
halting 
positioning 

在文件 homing.h 第 172 行定义.

◆ SignalSource

枚举值
reference 
positive_limit 
negative_limit 

在文件 homing.h 第 183 行定义.

成员函数说明

◆ activate_escape()

void plcopen::core::fb::HomingSearchFb::activate_escape ( )
inlineprotected

在文件 homing.h 第 269 行定义.

◆ activate_search()

rt::ErrorCode plcopen::core::fb::HomingSearchFb::activate_search ( )
inlineprotected

在文件 homing.h 第 281 行定义.

◆ configure_limit()

void plcopen::core::fb::HomingSearchFb::configure_limit ( axis::SwitchMode mode)
inlineprotected

在文件 homing.h 第 605 行定义.

◆ configure_reference()

void plcopen::core::fb::HomingSearchFb::configure_reference ( axis::ReferenceSignalRef reference,
axis::SwitchMode mode,
bool use_probe )
inlineprotected

在文件 homing.h 第 596 行定义.

◆ observe()

void plcopen::core::fb::HomingSearchFb::observe ( )
inlineprotected

在文件 homing.h 第 314 行定义.

◆ read_signal()

rt::Result< bool > plcopen::core::fb::HomingSearchFb::read_signal ( ) const
inlineprotected

在文件 homing.h 第 579 行定义.

◆ rising_edge()

bool plcopen::core::fb::HomingSearchFb::rising_edge ( )
inlineprotected

在文件 homing.h 第 192 行定义.

◆ set_direction_sign()

bool plcopen::core::fb::HomingSearchFb::set_direction_sign ( bool initial_level,
bool allow_switch_modes )
inlineprotected

在文件 homing.h 第 632 行定义.

◆ set_escape_level()

void plcopen::core::fb::HomingSearchFb::set_escape_level ( bool level)
inlineprotected

在文件 homing.h 第 628 行定义.

◆ set_reverse_on_limit()

void plcopen::core::fb::HomingSearchFb::set_reverse_on_limit ( bool enabled)
inlineprotected

在文件 homing.h 第 630 行定义.

◆ signal_input()

std::size_t plcopen::core::fb::HomingSearchFb::signal_input ( ) const
inlineprotected

在文件 homing.h 第 577 行定义.

◆ start_escape()

rt::ErrorCode plcopen::core::fb::HomingSearchFb::start_escape ( )
inlineprotected

在文件 homing.h 第 224 行定义.

◆ start_search()

rt::ErrorCode plcopen::core::fb::HomingSearchFb::start_search ( )
inlineprotected

在文件 homing.h 第 248 行定义.

◆ valid_switch_mode()

bool plcopen::core::fb::HomingSearchFb::valid_switch_mode ( ) const
inlineprotected

在文件 homing.h 第 613 行定义.

◆ validate_inputs()

bool plcopen::core::fb::HomingSearchFb::validate_inputs ( bool require_reference) const
inlineprotected

在文件 homing.h 第 215 行定义.

类成员变量说明

◆ axis_ref

axis::AxisModel* plcopen::core::fb::HomingSearchFb::axis_ref = nullptr

在文件 homing.h 第 159 行定义.

◆ buffer_mode

axis::BufferMode plcopen::core::fb::HomingSearchFb::buffer_mode = axis::BufferMode::aborting

在文件 homing.h 第 166 行定义.

◆ direction

axis::HomeDirection plcopen::core::fb::HomingSearchFb::direction = axis::HomeDirection::positive

在文件 homing.h 第 164 行定义.

◆ distance_limit

double plcopen::core::fb::HomingSearchFb::distance_limit = 0.0

在文件 homing.h 第 168 行定义.

◆ execute

bool plcopen::core::fb::HomingSearchFb::execute = false

在文件 homing.h 第 160 行定义.

◆ outputs

MotionOutputs plcopen::core::fb::HomingSearchFb::outputs {}

在文件 homing.h 第 169 行定义.

◆ phase_

Phase plcopen::core::fb::HomingSearchFb::phase_ = Phase::idle
protected

在文件 homing.h 第 190 行定义.

◆ set_position

double plcopen::core::fb::HomingSearchFb::set_position = 0.0

在文件 homing.h 第 162 行定义.

◆ set_position_enabled

bool plcopen::core::fb::HomingSearchFb::set_position_enabled = true

在文件 homing.h 第 163 行定义.

◆ time_limit

std::int64_t plcopen::core::fb::HomingSearchFb::time_limit = 0

在文件 homing.h 第 167 行定义.

◆ torque_limit

double plcopen::core::fb::HomingSearchFb::torque_limit = 0.0

在文件 homing.h 第 165 行定义.

◆ velocity

double plcopen::core::fb::HomingSearchFb::velocity = 1.0

在文件 homing.h 第 161 行定义.


该类的文档由以下文件生成: