Skip to main content

PpControl

Trait PpControl 

Source
pub trait PpControl: Cia402Control {
    // Provided methods
    fn set_new_set_point(&mut self, v: bool) { ... }
    fn set_change_set_immediately(&mut self, v: bool) { ... }
    fn set_relative(&mut self, v: bool) { ... }
    fn set_halt(&mut self, v: bool) { ... }
}
Expand description

Profile Position (PP) mode control word bits.

Provided Methods§

Source

fn set_new_set_point(&mut self, v: bool)

Bit 4 — New Set-Point: rising edge starts a new positioning move.

Source

fn set_change_set_immediately(&mut self, v: bool)

Bit 5 — Change Set Immediately: if true, interrupt current move.

Source

fn set_relative(&mut self, v: bool)

Bit 6 — Relative: target position is relative to current.

Source

fn set_halt(&mut self, v: bool)

Bit 8 — Halt: decelerate to stop.

Implementors§