pub struct LogixPlc { /* private fields */ }Expand description
A real controller through ciplink’s LogixDriver.
Implementations§
Trait Implementations§
Source§impl Plc for LogixPlc
impl Plc for LogixPlc
Source§fn read(&mut self, tags: &[&str]) -> Result<Vec<TagResult>, String>
fn read(&mut self, tags: &[&str]) -> Result<Vec<TagResult>, String>
Reads tags in one call, one result per tag in order.
Source§fn write(&mut self, tag: &str, value: &Value) -> Result<TagResult, String>
fn write(&mut self, tag: &str, value: &Value) -> Result<TagResult, String>
Writes one tag; a value that doesn’t fit is the result’s
bad_value error, nothing sent.Source§fn catalog(&mut self) -> Catalog
fn catalog(&mut self) -> Catalog
The controller structure, after a connect and after the tag table version changed.
Source§fn version(&mut self) -> Json
fn version(&mut self) -> Json
The tag table version (null when unknown); it changes after an online edit or a download.
Source§fn connection_size(&self) -> usize
fn connection_size(&self) -> usize
Request and reply bytes per packet.
Auto Trait Implementations§
impl !Freeze for LogixPlc
impl RefUnwindSafe for LogixPlc
impl Send for LogixPlc
impl Sync for LogixPlc
impl Unpin for LogixPlc
impl UnsafeUnpin for LogixPlc
impl UnwindSafe for LogixPlc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more