Struct tmcl::modules::generic::instructions::RFS
[−]
[src]
pub struct RFS { /* fields omitted */ }
RFS - Reference Search
A build-in reference point search algorithm can be started (and stopped). The reference search algorithm provides switching point calibration and three switch modes. The status of the reference search can also be queried to see if it has already finished. (In a TMCL program it is better to use the WAIT command to wait for the end of a reference search.) Please see the appropriate parameters in the axis parameter table to configure the reference search algorithm to meet your needs. The reference search can be started or stop ped, or the actual status of the reference search can be checked.
Methods
impl RFS
[src]
pub fn new(motor_number: u8, action: ReferenceSearchAction) -> RFS
[src]
Trait Implementations
impl Debug for RFS
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for RFS
[src]
fn eq(&self, __arg_0: &RFS) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RFS) -> bool
[src]
This method tests for !=
.
impl Instruction for RFS
[src]
const INSTRUCTION_NUMBER: u8
INSTRUCTION_NUMBER: u8 = 13
The command number (sometimes referred to as the instruction number).
fn operand(&self) -> [u8; 4]
[src]
Return the operand serialized. Read more
fn type_number(&self) -> u8
[src]
fn motor_bank_number(&self) -> u8
[src]
The motor/bank number