Struct modbus::tcp::Transport [] [src]

pub struct Transport { /* fields omitted */ }

Context object which holds state for all modbus operations.

Methods

impl Transport
[src]

Create a new context context object and connect it to addr on modbus-tcp default port (502)

Create a new context object and connect it to addr on port port

Trait Implementations

impl Client for Transport
[src]

Read count bits starting at address addr.

Read count input bits starting at address addr.

Read count 16bit registers starting at address addr.

Read count 16bit input registers starting at address addr.

Write a single coil (bit) to address addr.

Write a single 16bit register to address addr.

Write a multiple coils (bits) starting at address addr.

Write a multiple 16bit registers starting at address addr.