ex_modbus v0.1.1 Modbus.Packet
Handle Modbus packet creation and parsing.
Link to this section Summary
Functions
Parse a ModbusTCP response packet
Read status from a contiguous range of coils.
starting_address
is 0-indexed
Read status from a contiguous range of discrete inputs.
starting_address
is 0-indexed
Read the contents of a contiguous block of holding registers.
starting_address
is 0-indexed
Read the contents of a contiguous block of input registers.
start_address
is 0-indexed
Write a single coil. Possible values are :on
and :off
Link to this section Functions
Parse a ModbusTCP response packet
Read status from a contiguous range of coils.
starting_address
is 0-indexed.
Read status from a contiguous range of discrete inputs.
starting_address
is 0-indexed.
Read the contents of a contiguous block of holding registers.
starting_address
is 0-indexed.
Read the contents of a contiguous block of input registers.
start_address
is 0-indexed.
Write a single coil. Possible values are :on
and :off